86 const std::string &file,
int line,
87 const std::string &function);
89#define runtimeErrorMsg() \
90 ErrorHandling::_runtimeMessageStream( \
91 ErrorHandling::RuntimeError::ErrorLevel::ERROR, __FILE__, __LINE__, \
92 ESPRESSO_PRETTY_FUNCTION_EXTENSION)
94#define runtimeWarningMsg() \
95 ErrorHandling::_runtimeMessageStream( \
96 ErrorHandling::RuntimeError::ErrorLevel::WARNING, __FILE__, __LINE__, \
97 ESPRESSO_PRETTY_FUNCTION_EXTENSION)
Communicator communicator
int check_runtime_errors(boost::mpi::communicator const &comm)
Count runtime errors on all nodes.
void flush_runtime_errors_local()
Flush runtime errors to standard error on the local node.
int check_runtime_errors_local()
Count runtime errors on the local node.
void errexit()
exit ungracefully, core dump if switched on.
RuntimeErrorStream _runtimeMessageStream(RuntimeError::ErrorLevel level, const std::string &file, const int line, const std::string &function)
std::vector< RuntimeError > mpi_gather_runtime_errors()
Gather messages on main rank.
std::vector< RuntimeError > mpi_gather_runtime_errors_all(bool is_head_node)
Gather messages on main rank.
void init_error_handling(boost::mpi::communicator const &comm)
Initialize the error collection system.
void deinit_error_handling()