Skip to content

Commit

Permalink
fix parallel tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
marius311 committed Mar 12, 2021
1 parent ff29a19 commit a445f9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util_parallel.jl
Expand Up @@ -49,7 +49,7 @@ _mpi_rank() = nothing

end

_mpi_rank() = MPI.Comm_rank(MPI.COMM_WORLD)
_mpi_rank() = MPI.Initialized() ? MPI.Comm_rank(MPI.COMM_WORLD) : nothing

end

Expand Down

0 comments on commit a445f9a

Please sign in to comment.