Ignore:
Timestamp:
05/11/17 18:25:20 (7 years ago)
Author:
mhnguyen
Message:

Updating two-level server.
Each client now can play the role of server: It can forward data to other clients or write data like a server.
Each client must combine all data received from other client(s) before forward them or write them on files

+) Correct some bugs of exchange data_index in domain and axis
+) Reorder some functions in context.cpp to make sure that all necessary attributes are available before computing index
+) Add the mapping index for client to write data.

Test
+) On Curie
+) test_client and test_complete
+) Mode:

  • Only one level: Correct
  • Two levels: Work if using ddt (bug)

+) Only zoom is tested but other transformations should work
+) No reading test

File:
1 edited

Legend:

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

    r1025 r1129  
    4545    virtual const std::vector<int>& getLocalDataIndexOnClient(); 
    4646    GlobalLocalDataMap& getGlobalLocalDataSendToServer(); 
     47    GlobalLocalDataMap& getGlobalDataIndexOnClient(); 
    4748    const std::vector<int>& getLocalMaskIndexOnClient(); 
    4849 
     
    8081    //!< LocalData index on client 
    8182    GlobalLocalDataMap globalLocalDataSendToServerMap_; 
     83    GlobalLocalDataMap globalDataIndex_; 
    8284    std::vector<int> localDataIndex_; 
    8385    std::vector<int> localMaskIndex_; 
Note: See TracChangeset for help on using the changeset viewer.