static std::list< MPI_Comm > contextIntraComms
static bool is_MPI_Initialized
static CEventScheduler * eventScheduler
static std::list< MPI_Comm > contextInterComms
std::ofstream StdOFStream
static void registerContext(void *buff, int count, int leaderRank=0)
static int rank_
If (!oasis) global rank, else rank in the intraComm returned by oasis.
static StdOFStream m_errorStream
static StdOFStream m_infoStream
static std::list< MPI_Comm > interCommLeft
static void listenRootOasisEnddef(void)
Processes probes message from root process if oasis_enddef call must be done.
static int nbContexts
Number of contexts registered by server.
static map< string, CContext * > contextList
static void initialize(void)
Creates intraComm for each possible type of servers (classical, primary or secondary).
static int getRank()
Get rank of the current process in the intraComm.
static void closeErrorStream()
Close the error log file if it opens.
static std::list< MPI_Comm > interCommRight
static void openStream(const StdString &fileName, const StdString &ext, std::filebuf *fb)
Open a file specified by a suffix and an extension and use it for the given file buffer.
static void listenContext(void)
static void closeInfoStream()
Close the info logs file if it opens.
static void openErrorStream()
Write the error log to standard error output.
static void eventLoop(void)
static void listenRootContext(void)
static void recvContextMessage(void *buff, int count)
static void listenOasisEnddef(void)
Root process is listening for an order sent by client to call "oasis_enddef".
static MPI_Comm intraComm
static void contextEventLoop(bool enableEventsProcessing=true)
static void listenFinalize(void)
static vector< int > sndServerGlobalRanks
Global ranks of pool leaders on the secondary server.
Event scheduling class. An instance of this class is used to order the event providing from different...
static void openInfoStream()
Write the info logs to standard output.
static void finalize(void)
static void listenRootFinalize(void)
static vector< int > & getSecondaryServerGlobalRanks()