Lattice Microbes 2.5
This is for whole cell modeling
Loading...
Searching...
No Matches
lm::MPI Class Reference

Handles the MPI capabilities and properties of the simulation. More...

#include <lm_mpi.h>

Static Public Member Functions

static void init (int argc, char **argv)
 Initialize the MPI runtime.
static void printCapabilities ()
 Print the capabilities of the current processing device.
static void finalize ()
 Close and cleanup the MPI runtime.

Static Public Attributes

static int version = -1
static int subversion = -1
static int threadSupport = -1
static int worldSize = -1
static int worldRank = -1
static const int MASTER =0
static const int MSG_RUN_SIMULATION = 1
static const int MSG_SIMULATION_FINISHED = 2
static const int MSG_OUTPUT_DATA_STATIC = 10
static const int MSG_EXIT = 99
static const int OUTPUT_DATA_STATIC_MAX_SIZE = 10*1024*1024

Detailed Description

Handles the MPI capabilities and properties of the simulation.

Member Function Documentation

◆ finalize()

void lm::MPI::finalize ( )
static

Close and cleanup the MPI runtime.

Here is the caller graph for this function:

◆ init()

void lm::MPI::init ( int argc,
char ** argv )
static

Initialize the MPI runtime.

Parameters
argcCommand line number of arguments
argvCommand line array of arguments
Here is the caller graph for this function:

◆ printCapabilities()

void lm::MPI::printCapabilities ( )
static

Print the capabilities of the current processing device.

Here is the caller graph for this function:

Member Data Documentation

◆ MASTER

const int lm::MPI::MASTER =0
static

◆ MSG_EXIT

const int lm::MPI::MSG_EXIT = 99
static

◆ MSG_OUTPUT_DATA_STATIC

const int lm::MPI::MSG_OUTPUT_DATA_STATIC = 10
static

◆ MSG_RUN_SIMULATION

const int lm::MPI::MSG_RUN_SIMULATION = 1
static

◆ MSG_SIMULATION_FINISHED

const int lm::MPI::MSG_SIMULATION_FINISHED = 2
static

◆ OUTPUT_DATA_STATIC_MAX_SIZE

const int lm::MPI::OUTPUT_DATA_STATIC_MAX_SIZE = 10*1024*1024
static

◆ subversion

int lm::MPI::subversion = -1
static

◆ threadSupport

int lm::MPI::threadSupport = -1
static

◆ version

int lm::MPI::version = -1
static

◆ worldRank

int lm::MPI::worldRank = -1
static

◆ worldSize

int lm::MPI::worldSize = -1
static

The documentation for this class was generated from the following files:
  • /data2/LM_zls_github/Lattice-Microbes/src/mpi/lm_mpi.h
  • /data2/LM_zls_github/Lattice-Microbes/src/mpi/lm_mpi.cpp