Skip to content

Commit

Permalink
fix misplaced barrier
Browse files Browse the repository at this point in the history
  • Loading branch information
mtsch committed Jan 18, 2025
1 parent e3058dd commit 857dd93
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/RimuIO/RimuIO.jl
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,7 @@ function _save_state_mpi(filename, vector; io=stderr, kwargs...)
end
end
end
if io devnull
mpi_barrier()
end
mpi_barrier()
if mpi_rank() == 0
println(io, "done in $(round(total_time, sigdigits=3)) s")
end
Expand Down

0 comments on commit 857dd93

Please sign in to comment.