Ignore:
Timestamp:
05/15/20 16:42:10 (4 years ago)
Author:
ymipsl
Message:

XIOS coupling Branch

  • fix timestamp problem when receiving field from other coupling context
  • fix deadlock : when receiving index from coupling context, a collective communication was involved which is forbiden

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/node/grid.cpp

    r1875 r1881  
    16821682      connectedDataSizeRead_[rank] = outIndex.numElements(); 
    16831683    } 
    1684  
     1684    // ym : displaced to avoid collective call at message reception 
     1685/*  
    16851686    nbReadSenders_[client] = CClientServerMappingDistributed::computeConnectedClients(client->serverSize, client->clientSize, 
    1686                                                                                       client->intraComm, ranks); 
     1687                                                                                     client->intraComm, ranks); 
     1688*/ 
    16871689  } 
    16881690  CATCH_DUMP_ATTR 
    16891691   
    1690  
     1692   
     1693  /*! 
     1694   * Compute the number of connected client for a given contextClient and insert it in the nbReadSenders map. 
     1695   * /param[in] client : the given contextClient 
     1696   */ 
     1697  void CGrid::computeNbReadSenders(CContextClient* client)  
     1698  TRY 
     1699   
     1700  {  
     1701    nbReadSenders_[client] = CClientServerMappingDistributed::computeConnectedClients(client->serverSize, client->clientSize, client->intraComm, connectedServerRankRead_); 
     1702  } 
     1703  CATCH_DUMP_ATTR 
     1704   
    16911705  void CGrid::computeServerDistribution(void) 
    16921706  TRY 
Note: See TracChangeset for help on using the changeset viewer.