Ignore:
Timestamp:
02/17/17 19:51:36 (7 years ago)
Author:
oabramkina
Message:

dev: intermediate commit.

File:
1 edited

Legend:

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

    r1021 r1054  
    1414      public: 
    1515        static void initialize(void); 
    16         static void initialize(const StdString& serverId); 
    1716        static void finalize(void); 
    1817        static void eventLoop(void); 
     
    2322        static void listenRootContext(void); 
    2423        static void listenRootFinalize(void); 
    25         static void registerContext(void* buff,int count, int leaderRank=0);        // context registered by the primary server 
     24        static void registerContext(void* buff,int count, int leaderRank=0); 
    2625 
    27         // Communicators for the primary group of servers 
    2826        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 ?? 
    3330        static CEventScheduler* eventScheduler; 
    3431 
    3532        static int serverLevel ; 
    36  
    37 //        static int nbSndSrvPools;   // number of secondary server pools 
    38 //        static int poolNb;          // for secondary servers; stores the pool number 
    3933 
    4034        struct contextMessage 
     
    4640        static bool isRoot; 
    4741 
    48         static map<string,CContext*> contextList;       // contexts on the primary server 
     42        static map<string,CContext*> contextList; 
    4943        static bool finished; 
    5044        static bool is_MPI_Initialized; 
     
    7064      private: 
    7165        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 
    7570        static StdOFStream m_infoStream; 
    7671        static StdOFStream m_errorStream; 
Note: See TracChangeset for help on using the changeset viewer.