Skip to main content

Module environment

Module environment 

Source
Expand description

Process-wide MPI environment: initialization, finalization and the Universe handle. Mirrors mpi::environment in rsmpi.

Structs§

Universe
Represents the initialized MPI environment.

Enums§

Threading
The level of thread support, matching the four MPI constants (MPI_THREAD_SINGLE, …, MPI_THREAD_MULTIPLE).

Functions§

initialize
Initialize the MPI environment with the default (maximal) thread support, returning the Universe handle. Equivalent to rsmpi’s crate::initialize.
initialize_with_threading
Initialize the MPI environment requesting a given Threading level. Returns the Universe and the level actually provided, mirroring rsmpi’s crate::initialize_with_threading.
library_version
A human-readable description of the MPI library (MPI_Get_library_version).
processor_name
A name identifying the calling processor (MPI_Get_processor_name).
threading_support
The thread-support level provided by the running environment (MPI_Query_thread).
time
Monotonic time in seconds since an arbitrary fixed point (MPI_Wtime).
time_resolution
The resolution of time in seconds (MPI_Wtick).
version
The supported MPI standard version as (major, minor) (MPI_Get_version).