Function utils::mpiBarrier

Function Documentation

inline void utils::mpiBarrier()

Block until every MPI rank has reached this same call.

A no-op when SLUG_MPI is not defined. Must only be called from a single thread, outside any active OpenMP parallel region – see OutputManagerH5::syncCheckpoints()’s own comment, its only caller.