40 <<
"The dummy Pstream library cannot be used in parallel mode" 50 <<
"The dummy Pstream library cannot be used in parallel mode" 78 void Foam::UPstream::allocateCommunicatorComponents
86 void Foam::UPstream::freeCommunicatorComponents(
const label)
94 std::pair<int,int64_t>
100 const label communicator
103 return std::pair<int,int64_t>(-1, 0);
errorManipArg< error, int > exit(error &err, const int errNo=1)
commsTypes
Communications types.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static bool initNull()
Special purpose initialisation function.
static std::pair< int, int64_t > probeMessage(const UPstream::commsTypes commsType, const int fromProcNo, const int tag=UPstream::msgType(), const label communicator=worldComm)
Probe for an incoming message.
static void shutdown(int errNo=0)
Shutdown (finalize) MPI as required.
static void exit(int errNo=1)
Shutdown (finalize) MPI as required and exit program with errNo.
static bool init(int &argc, char **&argv, const bool needsThread)
Initialisation function called from main.
An opaque wrapper for MPI_Request with a vendor-independent representation without any <mpi...
A HashTable similar to std::unordered_map.
errorManip< error > abort(error &err)
Wrapper class for allocating/freeing communicators. Always invokes allocateCommunicatorComponents() a...
static void abort()
Call MPI_Abort with no other checks or cleanup.
#define WarningInFunction
Report a warning using Foam::Warning.
static void addValidParOptions(HashTable< string > &validParOptions)
Add the valid option this type of communications library adds/requires on the command line...
static void barrier(const label communicator, UPstream::Request *req=nullptr)
Impose a synchronisation barrier (optionally non-blocking)