Lattice Microbes 2.5
This is for whole cell modeling
Loading...
Searching...
No Matches
lm_mpi.h File Reference
#include <mpi.h>
#include "core/Exceptions.h"
Include dependency graph for lm_mpi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  lm::MPIException
 An Exception thrown when an MPI call fails. More...
class  lm::MPI
 Handles the MPI capabilities and properties of the simulation. More...

Namespaces

namespace  lm

Macros

#define MPI_EXCEPTION_CHECK(mpi_call)
 A macro to encapsulate calling an MPI function and resulting error handling.

Functions

void MPIErrorHandler (MPI_Comm *, int *rc,...)

Macro Definition Documentation

◆ MPI_EXCEPTION_CHECK

#define MPI_EXCEPTION_CHECK ( mpi_call)
Value:
{int _mpi_ret_=mpi_call; if (_mpi_ret_ != MPI_SUCCESS) throw lm::MPIException(_mpi_ret_);}
An Exception thrown when an MPI call fails.
Definition lm_mpi.h:53

A macro to encapsulate calling an MPI function and resulting error handling.

Function Documentation

◆ MPIErrorHandler()

void MPIErrorHandler ( MPI_Comm * ,
int * rc,
... )