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/field.cpp

    r1880 r1881  
    472472        } 
    473473 
    474         event.push(it->first, grid_->nbReadSenders_[client][it->first], msg); 
     474        event.push(it->first, grid_->getNbReadSenders(client)[it->first], msg); 
    475475      } 
    476476      client->sendEvent(event); 
     
    659659    do 
    660660    { 
    661       if (wasDataAlreadyReceivedFromServer) isDataLate = lastDataReceivedFromServer + freq_offset < currentDate ; 
     661      if (wasDataAlreadyReceivedFromServer) isDataLate = lastDataReceivedFromServer + freq_offset + freq_op <= currentDate ; 
    662662      else isDataLate = context->getCalendar()->getInitDate()+freq_offset <= currentDate ; 
    663663 
Note: See TracChangeset for help on using the changeset viewer.