Ignore:
Timestamp:
11/13/14 15:09:28 (9 years ago)
Author:
mhnguyen
Message:

Seperating database of context on "client" side and "server" side

+) Add one more context in contex client in case of attached mode
+) Do some minor changements to make sure everything fine in case of attached mode
+) Replace buffer group with the new options

Test
+) On Curie
+) Connection mode: Attached and seperated
+) File mode: one and multiple
+) All tests passed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/context_server.hpp

    r501 r511  
    99{ 
    1010  class CContext ; 
    11    
     11 
    1212  class CContextServer 
    1313  { 
    1414    public: 
    15      
     15 
    1616    CContextServer(CContext* parent,MPI_Comm intraComm,MPI_Comm interComm) ; 
    1717    bool eventLoop(void) ; 
     
    2323    void setPendingEvent(void) ; 
    2424    bool hasPendingEvent(void) ; 
    25      
     25 
    2626    MPI_Comm intraComm ; 
    2727    int intraCommSize ; 
    2828    int intraCommRank ; 
    29      
     29 
    3030    MPI_Comm interComm ; 
    3131    int commSize ; 
    32    
     32 
    3333    map<int,CServerBuffer*> buffers ; 
    3434    map<int,MPI_Request> pendingRequest ; 
    3535    map<int,char*> bufferRequest ; 
    36      
     36 
    3737    map<size_t,CEventServer*> events ; 
    3838    size_t currentTimeLine ; 
    3939    CContext* context ; 
    40      
     40 
    4141    bool finished ; 
    4242    bool pendingEvent ; 
    4343    bool scheduled  ;    /*!< event of current timeline is alreading scheduled ? */ 
    4444    size_t hashId ; 
    45     ~CContextServer() ;     
     45    ~CContextServer() ; 
     46 
     47    private: 
     48      std::map<int, StdSize> mapBufferSize_; 
    4649  } ; 
    4750 
Note: See TracChangeset for help on using the changeset viewer.