Skip to content

Commit

Permalink
Missing rank print
Browse files Browse the repository at this point in the history
  • Loading branch information
jwallwork23 committed Feb 11, 2025
1 parent 0110f5c commit 6784fe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/7_MPI/mpi_infer_fortran.f90
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ program inference
call torch_model_forward(model, in_tensors, out_tensors)

! Print the values computed on each MPI rank
write(unit=6, fmt="('output on rank ',i1,': ')", advance="no")
write(unit=6, fmt="('output on rank ',i1,': ')", advance="no") rank
write(unit=6, fmt=100) out_data(:)

! Gather the outputs onto rank 0
Expand Down

0 comments on commit 6784fe2

Please # to comment.