Teuchos - Trilinos Tools Package Version of the Day
Classes | Namespaces | Defines
Teuchos_ErrorPolling.hpp File Reference

Utility code for synchronizing exception detection across processors. More...

#include "Teuchos_ConfigDefs.hpp"
#include "Teuchos_TestForException.hpp"

Go to the source code of this file.

Classes

class  Teuchos::ErrorPolling
 ErrorPolling provides utilities for establishing agreement between processors on whether an std::exception has been detected on any one processor. More...

Namespaces

namespace  Teuchos
 

The Teuchos namespace contains all of the classes, structs and enums used by Teuchos, as well as a number of utility routines.


Defines

#define TEUCHOS_POLL_FOR_FAILURES(comm)

Detailed Description

Utility code for synchronizing exception detection across processors.

Warning:
The contents of this file have been DEPRECATED.

Definition in file Teuchos_ErrorPolling.hpp.


Define Documentation

#define TEUCHOS_POLL_FOR_FAILURES (   comm)
Value:
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).

Parameters:
comm[in] The communicator on which polling will be done

Definition at line 128 of file Teuchos_ErrorPolling.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines