Ignore:
Timestamp:
01/22/21 12:00:29 (3 years ago)
Author:
yushan
Message:

Graph intermedia commit to a tmp branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_trunk_graph/src/server.hpp

    r1590 r2019  
    1010namespace xios 
    1111{ 
     12    class CServersRessource ; 
     13 
    1214    class CServer 
    1315    { 
    1416      public: 
    1517        static void initialize(void); 
     18        static void xiosGlobalCommByFileExchange(MPI_Comm serverComm) ; 
     19        static void xiosGlobalCommByPublishing(MPI_Comm serverComm) ; 
     20 
    1621        static void finalize(void); 
    1722        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         
    2824        static MPI_Comm intraComm; 
     25        static MPI_Comm serversComm_; 
    2926        static std::list<MPI_Comm> interCommLeft;           // interComm between server (primary, classical or secondary) and its client (client or primary server) 
    3027        static std::list<MPI_Comm> interCommRight;          // interComm between primary server and secondary server (non-empty only for primary server pool) 
     
    6865        static void closeErrorStream(); 
    6966 
     67        static CServersRessource* getServersRessource(void) { return serversRessource_;} 
     68        static void launchServersRessource(MPI_Comm commServer) ; 
     69       
    7070      private: 
    7171        static vector<int> sndServerGlobalRanks;  //!< Global ranks of pool leaders on the secondary server 
     
    7575        static StdOFStream m_errorStream; 
    7676        static void openStream(const StdString& fileName, const StdString& ext, std::filebuf* fb); 
     77        static CServersRessource* serversRessource_ ; 
    7778    }; 
    7879} 
Note: See TracChangeset for help on using the changeset viewer.