FEI Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Variables
fei_chk_mpi.hpp File Reference
#include <fei_mpi.h>
Include dependency graph for fei_chk_mpi.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CHK_MPI(a)
 

Variables

static const char fei_mpi_file [] = __FILE__
 

Macro Definition Documentation

#define CHK_MPI (   a)
Value:
{ int snl_fei_mpiErrorCode = a; \
if (snl_fei_mpiErrorCode != MPI_SUCCESS) {\
fei::console_out() << fei_mpi_file << ", line " << __LINE__ \
<<" MPI ERROR " << FEI_ENDL; \
return(snl_fei_mpiErrorCode); \
} }
static const char fei_mpi_file[]
Definition: fei_chk_mpi.hpp:19
#define MPI_SUCCESS
Definition: fei_mpi.h:62
#define FEI_ENDL
std::ostream & console_out()

Definition at line 21 of file fei_chk_mpi.hpp.

Referenced by fei::Allgatherv(), fei::Allreduce(), fei::Bcast(), fei::VectorSpace::calculateGlobalIndices(), fei::exchangeCommMapData(), fei::exchangeData(), fei::exchangeIntData(), fei::GlobalMax(), fei::GlobalMin(), fei::GlobalSum(), fei::mirrorCommPattern(), fei::mirrorProcs(), fei::MatrixReducer::writeToFile(), fei::Matrix_Impl< T >::writeToFile(), and fei::Matrix_Impl< T >::writeToStream().

Variable Documentation

const char fei_mpi_file[] = __FILE__
static

Definition at line 19 of file fei_chk_mpi.hpp.