Teuchos Package Browser (Single Doxygen Collection) Version of the Day
|ErrorPolling provides utilities for establishing agreement between processors on whether an std::exception has been detected on any one processor. More...|
TEST_FOR_EXCEPTION(Teuchos::ErrorPolling::pollForFailures(comm), \ std::runtime_error, \ "off-processor error detected by proc=" << (comm).getRank());
This macro polls all processors in the given communicator to find out whether an error has been reported by a call to ErrorPolling::reportFailure(comm).
|comm||[in] The communicator on which polling will be done|