Class MPIRuntime

Class Documentation

class MPIRuntime

Process-wide MPI lifecycle manager.

This class centralizes MPI initialization/finalization ownership inside Lightning while allowing MPIManager to bootstrap the runtime on demand. It will finalize MPI at exit only if it was initialized within Lightning C++

Public Functions

MPIRuntime(const MPIRuntime&) = delete
auto operator=(const MPIRuntime&) -> MPIRuntime& = delete
MPIRuntime(MPIRuntime&&) = delete
auto operator=(MPIRuntime&&) -> MPIRuntime& = delete
~MPIRuntime() = default
inline void ensureInitialized()

Public Static Functions

static inline auto getInstance() -> MPIRuntime&