Function utils::errorIsAgreed
Defined in File MPIUtils.hpp
Function Documentation
-
inline auto utils::errorIsAgreed() -> bool
Return whether the exception currently ending the run is one every rank agreed on.
An agreed error (see rethrowAgreedError()) is being thrown from the same point on every rank, so every rank’s shutdown – in particular OutputManagerH5’s destructor, and its collective calls – proceeds in lockstep, exactly as for a normal completion. Any other exception is local to the rank that threw it; see unwindingFromLocalError() and mpiAbortIfMultiRank().
- Returns:
True once rethrowAgreedError() has been called, false before