Changeset 2260 for XIOS/dev/dev_ym/XIOS_COUPLING/src/context_client.cpp
- Timestamp:
- 11/19/21 15:41:40 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/context_client.cpp
r2259 r2260 118 118 { 119 119 list<int> ranks = event.getRanks(); 120 info(100)<<"Event "<<timeLine<<" of context "<<context_->getId()<<endl ; 120 121 // ostringstream str ; 122 // for(auto& rank : ranks) str<<rank<<" ; " ; 123 // info(100)<<"Event "<<timeLine<<" of context "<<context_->getId()<<" for ranks : "<<str.str()<<endl ; 124 121 125 if (CXios::checkEventSync) 122 126 { … … 165 169 166 170 unlockBuffers(ranks) ; 167 info(100)<<"Event "<<timeLine<<" of context "<<context_->getId()<<" sent"<<endl ;168 169 171 checkBuffers(ranks); 172 170 173 } 171 174 … … 346 349 } 347 350 buffer->attachWindows(windows_[rank]) ; 351 if (!isAttachedModeEnabled()) MPI_Barrier(winComm_[rank]) ; 352 348 353 } 349 354 … … 525 530 } 526 531 532 bool CContextClient::havePendingRequests(list<int>& ranks) 533 { 534 list<int>::iterator it; 535 bool pending = false; 536 for (it = ranks.begin(); it != ranks.end(); it++) pending |= buffers[*it]->hasPendingRequest(); 537 return pending; 538 } 539 527 540 bool CContextClient::isNotifiedFinalized(void) 528 541 {
Note: See TracChangeset
for help on using the changeset viewer.