|
KaMPIng 0.2.0
Flexible and (near) zero-overhead C++ bindings for MPI
|
Code for error handling. More...
#include <array>#include <exception>#include <string>#include <mpi.h>#include "kamping/kassert/kassert.hpp"

Go to the source code of this file.
Classes | |
| class | kamping::MpiErrorException |
The exception type used when an MPI call did not return MPI_SUCCESS. More... | |
Macros | |
| #define | THROW_IF_MPI_ERROR(error_code, function) |
| Wrapper around THROWING_KAMPING_ASSERT for MPI errors. | |
Code for error handling.
| #define THROW_IF_MPI_ERROR | ( | error_code, | |
| function ) |
Wrapper around THROWING_KAMPING_ASSERT for MPI errors.
Throws an MpiErrorException if the supplied error code is not MPI_SUCCESS.
The macro accepts 2 parameters: