Go to the documentation of this file.
20 #ifndef __processors_H__
21 #define __processors_H__
39 #define CheckMPI(caller, fAbort)\
40 pFlow::checkMPI(#caller, (caller), fAbort, __FILE__, __LINE__);
158 void abort(
int error);
173 #endif //__processors_H__
static int globalSize_
The global size of all processors.
bool checkMPI(const char *funcName, int error, bool forceAbort, const char *fileName, int lineNumebr)
static void initProcessors(int argc, char *argv[])
Initialize MPI processors.
static void finalizeProcessors()
Finalize MPI processors.
static bool globalMaster()
Is this processor the master processor?
static int globalRank()
Rank of the processor in the global MPI.
This class holds the information about the global execution world and number of processors in communi...
static bool globalParallel()
Is this a parallel MPI run.
static bool isFinalized()
Is MPI finalized?
static int globalSize()
Global size of processors.
static int globalMasterNo()
Master processors number (globaly in MPI).
static const char * globalRunTypeName()
static int globalRank_
Global rank of the current processor.
static bool initProcessorsCelled_
Is the static member initProcessors is called.
static void abort(int error)
Abort MPI run or regular run.
static bool isInitialized()
Is MPI initialized?