#include <mpi.h>
#include "common/BasicExceptions.hpp"
Go to the source code of this file.
|
#define | MPI_CHECK_RESULT(MPIFunc, Args) |
| Macro for checking return values of any mpi calls and throws exception on error. More...
|
|
#define MPI_CHECK_RESULT |
( |
|
MPIFunc, |
|
|
|
Args |
|
) |
| |
Value:{ \
int check_result = MPIFunc Args; \
if (check_result != MPI_SUCCESS) \
std::string("Function: ") + \
std::string( #MPIFunc ) + \
std::string( " did not return MPI_SUCCESS (" ) + \
std::string(").") ); \
}
Common_API std::string to_str(const T &v)
Converts to std::string.
Macro for checking return values of any mpi calls and throws exception on error.
Definition at line 20 of file types.hpp.