Changeset 2019 for XIOS/dev/dev_trunk_graph/src/server.hpp
- Timestamp:
- 01/22/21 12:00:29 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_trunk_graph/src/server.hpp
r1590 r2019 10 10 namespace xios 11 11 { 12 class CServersRessource ; 13 12 14 class CServer 13 15 { 14 16 public: 15 17 static void initialize(void); 18 static void xiosGlobalCommByFileExchange(MPI_Comm serverComm) ; 19 static void xiosGlobalCommByPublishing(MPI_Comm serverComm) ; 20 16 21 static void finalize(void); 17 22 static void eventLoop(void); 18 static void contextEventLoop(bool enableEventsProcessing=true); 19 static void listenContext(void); 20 static void listenFinalize(void); 21 static void recvContextMessage(void* buff,int count); 22 static void listenRootContext(void); 23 static void listenRootFinalize(void); 24 static void listenRootOasisEnddef(void); 25 static void listenOasisEnddef(void); 26 static void registerContext(void* buff,int count, int leaderRank=0); 27 23 28 24 static MPI_Comm intraComm; 25 static MPI_Comm serversComm_; 29 26 static std::list<MPI_Comm> interCommLeft; // interComm between server (primary, classical or secondary) and its client (client or primary server) 30 27 static std::list<MPI_Comm> interCommRight; // interComm between primary server and secondary server (non-empty only for primary server pool) … … 68 65 static void closeErrorStream(); 69 66 67 static CServersRessource* getServersRessource(void) { return serversRessource_;} 68 static void launchServersRessource(MPI_Comm commServer) ; 69 70 70 private: 71 71 static vector<int> sndServerGlobalRanks; //!< Global ranks of pool leaders on the secondary server … … 75 75 static StdOFStream m_errorStream; 76 76 static void openStream(const StdString& fileName, const StdString& ext, std::filebuf* fb); 77 static CServersRessource* serversRessource_ ; 77 78 }; 78 79 }
Note: See TracChangeset
for help on using the changeset viewer.