Ignore:
Timestamp:
11/20/17 16:29:55 (6 years ago)
Author:
oabramkina
Message:

Changes in case of different number of processes per secondary-server pool.

No incorrect behaviour had been found in the previous versions; this commit is just to play safe.

Location:
XIOS/dev/XIOS_DEV_CMIP6/src/node
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/XIOS_DEV_CMIP6/src/node/axis.cpp

    r1330 r1336  
    603603      // Find out the connection between client and server side 
    604604      CClientServerMapping* clientServerMap = new CClientServerMappingDistributed(serverDescription.getGlobalIndexRange(), client->intraComm); 
    605       clientServerMap->computeServerIndexMapping(globalIndex); 
     605      clientServerMap->computeServerIndexMapping(globalIndex, nbServer); 
    606606      CClientServerMapping::GlobalIndexMap& globalIndexAxisOnServer = clientServerMap->getGlobalIndexOnServer();       
    607607 
  • XIOS/dev/XIOS_DEV_CMIP6/src/node/domain.cpp

    r1330 r1336  
    18441844      CClientServerMapping* clientServerMap = new CClientServerMappingDistributed(serverDescription.getGlobalIndexRange(), 
    18451845                                                                                  client->intraComm); 
    1846       clientServerMap->computeServerIndexMapping(globalIndexDomain); 
     1846      clientServerMap->computeServerIndexMapping(globalIndexDomain, nbServer); 
    18471847      CClientServerMapping::GlobalIndexMap& globalIndexDomainOnServer = clientServerMap->getGlobalIndexOnServer(); 
    18481848 
Note: See TracChangeset for help on using the changeset viewer.