Skip to content

Commit f91b168

Browse files
committed
Change file names to be uniform
1 parent 292be92 commit f91b168

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source-code/mpi4py/mpifitness.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def main():
187187
arg_parser.add_argument('--reduce_size', type=int, default=8,
188188
help='number of bytes for reduce message')
189189
options = arg_parser.parse_args()
190-
with open(f'{options.file_base}_{rank}.txt', 'w') as file:
190+
with open(f'{options.file_base}_{rank:04d}.txt', 'w') as file:
191191
comm.barrier()
192192
if (rank == root):
193193
print(f'# {options.nr_pingpongs} ping-pong iterations, '

0 commit comments

Comments
 (0)