#include <Teuchos_MPISession.hpp>
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 () |
Definition at line 48 of file Teuchos_MPISession.hpp.
void MPISession::finalize | ( | ) | [static] |
static int Teuchos::MPISession::getNProc | ( | ) | [inline, static] |
Returns the number of processors in MPI_COMM_WORLD.
Definition at line 58 of file Teuchos_MPISession.hpp.
static int Teuchos::MPISession::getRank | ( | ) | [inline, static] |
Returns the process rank relative to MPI_COMM_WORLD.
Definition at line 55 of file Teuchos_MPISession.hpp.
void MPISession::init | ( | int * | argc, | |
void *** | argv | |||
) | [static] |
static bool& Teuchos::MPISession::showStartupMessage | ( | ) | [inline, static] |
Set to true if a message should be written by each processor at startup.
Definition at line 65 of file Teuchos_MPISession.hpp.