Ignore:
Timestamp:
06/22/17 17:03:07 (7 years ago)
Author:
oabramkina
Message:

Two server levels:
(1) oasis works now with two server levels
(2) corrected assignment of processes between two server levels in case of non-contiguous processes
(3) corrected a bug during context finalization.

File:
1 edited

Legend:

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

    r1168 r1180  
    2525 
    2626        static MPI_Comm intraComm; 
    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) 
     27        static std::list<MPI_Comm> interCommLeft;           // interComm between server (primary, classical or secondary) and its client (client or primary server) 
     28        static std::list<MPI_Comm> interCommRight;          // interComm between primary server and secondary server (non-empty only for primary server pool) 
    2929        static std::list<MPI_Comm> contextInterComms;  // list of context intercomms 
    3030        static std::list<MPI_Comm> contextIntraComms;  // list of context intercomms (needed only in case of secondary servers) 
     
    4949        static int getRank(); 
    5050 
    51         //!< Get global ranks of processes dedicated to the secondary server 
     51        //!< Get global ranks of secondary server processes 
    5252        static vector<int>& getSecondaryServerGlobalRanks(); 
    5353 
     
    6868      private: 
    6969        static vector<int> sndServerGlobalRanks;  //!< Global ranks of secondary server processes 
    70         static int rank_;             //!< If (!oasis) global rank, else rank in the intraComm returned by oasis 
    71         static int nbContexts;        //!< Number of contexts registered by server 
     70        static int rank_;                   //!< If (!oasis) global rank, else rank in the intraComm returned by oasis 
     71        static int nbContexts;              //!< Number of contexts registered by server 
    7272        static StdOFStream m_infoStream; 
    7373        static StdOFStream m_errorStream; 
Note: See TracChangeset for help on using the changeset viewer.