Static Public Member Functions | |
| static void | init (int *argc, void ***argv) |
| Initializer, calls MPI_Init() if necessary. | |
| static int | getRank () |
| Returns the process rank relative to MPI_COMM_WORLD. | |
| static int | getNProc () |
| Returns the number of processors in MPI_COMM_WORLD. | |
| static void | finalize () |
| Finalizer, calls MPI_Finalize() if necessary. | |
| static bool & | showStartupMessage () |
| Set to true if a message should be written by each processor at startup. | |
Static Private Attributes | |
| static int | rank_ = 0 |
| static int | nProc_ = 1 |
Definition at line 25 of file PlayaMPISession.hpp.
| void Playa::MPISession::finalize | ( | ) | [static] |
Finalizer, calls MPI_Finalize() if necessary.
Definition at line 68 of file PlayaMPISession.cpp.
References Playa::MPIOp::clearOpRegistry(), and Playa::MPIDataType::clearTypeRegistry().
| static int Playa::MPISession::getNProc | ( | ) | [inline, static] |
Returns the number of processors in MPI_COMM_WORLD.
Definition at line 35 of file PlayaMPISession.hpp.
References nProc_.
| static int Playa::MPISession::getRank | ( | ) | [inline, static] |
Returns the process rank relative to MPI_COMM_WORLD.
Definition at line 32 of file PlayaMPISession.hpp.
References rank_.
| void Playa::MPISession::init | ( | int * | argc, | |
| void *** | argv | |||
| ) | [static] |
Initializer, calls MPI_Init() if necessary.
Definition at line 16 of file PlayaMPISession.cpp.
References nProc_, rank_, and showStartupMessage().
| static bool& Playa::MPISession::showStartupMessage | ( | ) | [inline, static] |
Set to true if a message should be written by each processor at startup.
Definition at line 42 of file PlayaMPISession.hpp.
Referenced by init().
int Playa::MPISession::nProc_ = 1 [static, private] |
int Playa::MPISession::rank_ = 0 [static, private] |