TRIQS/mpi 1.3.0
C++ interface to MPI
|
Provides an MPI environment for initializing and finalizing an MPI program.
Definition in file environment.hpp.
Go to the source code of this file.
Classes | |
struct | mpi::environment |
RAII class to initialize and finalize MPI. More... | |
Functions | |
bool | mpi::is_initialized () noexcept |
Check if MPI has been initialized. | |
Variables | |
static const bool | mpi::has_env |
Boolean variable that is true, if one of the environment variables OMPI_COMM_WORLD_RANK , PMI_RANK , CRAY_MPICH_VERSION or FORCE_MPI_INIT is set, false otherwise. | |