|
Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
Methods for initializing, finalizing, and querying the global MPI session. More...
#include <Teuchos_MPISession.hpp>
Static Public Member Functions | |
| static void | init (int *argc, void ***argv) |
| Initializer, calls MPI_Init() if necessary. More... | |
| static int | getRank () |
| Returns the process rank relative to MPI_COMM_WORLD. More... | |
| static int | getNProc () |
| Returns the number of processors in MPI_COMM_WORLD. More... | |
| static void | finalize () |
| Finalizer, calls MPI_Finalize() if necessary. More... | |
| static bool & | showStartupMessage () |
Static Private Attributes | |
| static int | rank_ = 0 |
| static int | nProc_ = 1 |
Methods for initializing, finalizing, and querying the global MPI session.
Teuchos::GlobalMPISession instead. Note the minor interface differences in the latter. Definition at line 72 of file Teuchos_MPISession.hpp.
|
static |
Initializer, calls MPI_Init() if necessary.
Definition at line 50 of file Teuchos_MPISession.cpp.
|
inlinestatic |
Returns the process rank relative to MPI_COMM_WORLD.
Definition at line 79 of file Teuchos_MPISession.hpp.
|
inlinestatic |
Returns the number of processors in MPI_COMM_WORLD.
Definition at line 82 of file Teuchos_MPISession.hpp.
|
static |
Finalizer, calls MPI_Finalize() if necessary.
Definition at line 102 of file Teuchos_MPISession.cpp.
|
inlinestatic |
Set to true if a message should be written by each processor at startup.
Definition at line 89 of file Teuchos_MPISession.hpp.
|
staticprivate |
Definition at line 93 of file Teuchos_MPISession.hpp.
|
staticprivate |
Definition at line 94 of file Teuchos_MPISession.hpp.
1.8.5