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

Implementing buffer size auto-detection for mode client -server

+) Process xml tree in client side then send all the information to server
+) Only information enabled fields in enabled files are sent to server
+) Some important change in structure of code which must be refactored

Test
+) On Curie
+) Only mode client-server
+) Passed for all tests

File:
1 edited

Legend:

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

    r501 r509  
    1111{ 
    1212  class CContext ; 
    13    
     13 
    1414  class CContextClient 
    1515  { 
    16    
     16 
    1717    public: 
    1818    CContextClient(CContext* parent,MPI_Comm intraComm, MPI_Comm interComm) ; 
    1919//    void registerEvent(CEventClient& event) ; 
    2020 
    21 //    list<CBufferOut*> newEvent(CEventClient& event,list<int>& sizes) ;   
     21//    list<CBufferOut*> newEvent(CEventClient& event,list<int>& sizes) ; 
    2222    void sendEvent(CEventClient& event) ; 
    2323 
     
    4141    void waitEvent(list<int>& ranks) ; 
    4242 
     43    void setBufferSize(const std::map<int, StdSize>& mapSize); 
     44    void sendBufferSizeEvent(); 
     45 
    4346    CContext* context ; 
     47 
     48    private: 
     49    std::map<int, StdSize> mapBufferSize_; 
    4450//    bool locked ; 
    45      
     51 
    4652  } ; 
    4753 
Note: See TracChangeset for help on using the changeset viewer.