Setup for mpi.
More...
#include <mpi.h>
Go to the source code of this file.
|
#define | OMPI_SKIP_MPICXX |
|
#define | MPI_CHECK(stmt) |
|
◆ MPI_CHECK
#define MPI_CHECK |
( |
| stmt | ) |
|
Value: do { \
int mpi_errno = (stmt); \
if (MPI_SUCCESS != mpi_errno) { \
char mesg[MPI_MAX_ERROR_STRING]; \
int mesglen; \
MPI_Error_string(mpi_eerno, mesg, &mesglen); \
lprintf("MPI", 0, "[%s] ERROR: %s\n", __func__, mesg); \
error(1, 1, "File: " __FILE__, " Line: " __LINE__); \
} \
} while (0)