Changeset 2343 for XIOS/dev/dev_ym/XIOS_COUPLING/src/node/axis.cpp
- Timestamp:
- 06/29/22 18:19:45 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/node/axis.cpp
r2339 r2343 190 190 { 191 191 // size estimation for sendDistributedValue 192 std::unordered_map<int, vector<size_t> >::const_iterator it, ite = indSrv_[client-> serverSize].end();193 for (it = indSrv_[client-> serverSize].begin(); it != ite; ++it)192 std::unordered_map<int, vector<size_t> >::const_iterator it, ite = indSrv_[client->getRemoteSize()].end(); 193 for (it = indSrv_[client->getRemoteSize()].begin(); it != ite; ++it) 194 194 { 195 195 size_t size = 6 * sizeof(size_t); … … 890 890 if (type==EDistributionType::BANDS) // Bands distribution to send to file server 891 891 { 892 int nbServer = client-> serverSize;893 int nbClient = client-> clientSize;894 int rankClient = client-> clientRank;892 int nbServer = client->getRemoteSize(); 893 int nbClient = client->getIntraCommSize() ; 894 int rankClient = client->getIntraCommRank() ; 895 895 int size = nbServer / nbClient ; 896 896 int start ; … … 921 921 else if (type==EDistributionType::NONE) // domain is not distributed ie all servers get the same local domain 922 922 { 923 int nbServer = client-> serverSize;923 int nbServer = client->getRemoteSize(); 924 924 size_t nglo=n_glo ; 925 925 CArray<size_t,1> indGlo(nglo) ;
Note: See TracChangeset
for help on using the changeset viewer.