Changeset 1054 for XIOS/dev/dev_olga/src/server.hpp
- Timestamp:
- 02/17/17 19:51:36 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/server.hpp
r1021 r1054 14 14 public: 15 15 static void initialize(void); 16 static void initialize(const StdString& serverId);17 16 static void finalize(void); 18 17 static void eventLoop(void); … … 23 22 static void listenRootContext(void); 24 23 static void listenRootFinalize(void); 25 static void registerContext(void* buff,int count, int leaderRank=0); // context registered by the primary server24 static void registerContext(void* buff,int count, int leaderRank=0); 26 25 27 // Communicators for the primary group of servers28 26 static MPI_Comm intraComm; 29 static list<MPI_Comm> interCommLeft; // interComm between server (primary or secondary) and its client (client or primary server) 30 static list<MPI_Comm> interCommRight; // interComm between primary server and secondary server (non-empty only for primary server pool) 31 static list<MPI_Comm> interComm; // interCommLeft + interCommRight 32 static std::list<MPI_Comm> contextInterComms; 27 static list<MPI_Comm> interCommLeft; // interComm between server (primary, classical or secondary) and its client (client or primary server) 28 static list<MPI_Comm> interCommRight; // interComm between primary server and secondary server (non-empty only for primary server pool) 29 static std::list<MPI_Comm> contextInterComms; // significance ?? 33 30 static CEventScheduler* eventScheduler; 34 31 35 32 static int serverLevel ; 36 37 // static int nbSndSrvPools; // number of secondary server pools38 // static int poolNb; // for secondary servers; stores the pool number39 33 40 34 struct contextMessage … … 46 40 static bool isRoot; 47 41 48 static map<string,CContext*> contextList; // contexts on the primary server42 static map<string,CContext*> contextList; 49 43 static bool finished; 50 44 static bool is_MPI_Initialized; … … 70 64 private: 71 65 static int rank; 72 static int serverSize; //!< Number of procs dedicated to server 73 static int nbPools; //!< Number of secondary-server pools 74 static int poolId; //!< ID of a secondary-server pool 66 static int serverLeader; //!< Leader of the classical or primary server (needed in case of secondary servers) 67 static int serverSize; //!< Number of procs dedicated to servers (primary and seconday (if any) combined) 68 static int nbPools; //!< Number of secondary server pools 69 static int poolId; //!< id of a secondary server pool starting from 1 75 70 static StdOFStream m_infoStream; 76 71 static StdOFStream m_errorStream;
Note: See TracChangeset
for help on using the changeset viewer.