Changeset 1765 for XIOS/dev/dev_ym/XIOS_SERVICES/src/context_client.cpp
- Timestamp:
- 11/06/19 11:03:38 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_SERVICES/src/context_client.cpp
r1764 r1765 305 305 buffer->checkBuffer(true); 306 306 307 /*308 if (!isAttachedModeEnabled()) // create windows only in server mode309 {310 MPI_Comm OneSidedInterComm, oneSidedComm ;311 MPI_Intercomm_create(commSelf, 0, interCommMerged, clientSize+rank, 0, &OneSidedInterComm );312 MPI_Intercomm_merge(OneSidedInterComm,false,&oneSidedComm);313 buffer->createWindows(oneSidedComm) ;314 }315 */316 307 } 317 308 … … 460 451 delete[] nbServerConnectionLocal ; 461 452 delete[] nbServerConnectionGlobal ; 462 /* 463 if (isServerLeader()) 464 { 465 CMessage msg; 466 const std::list<int>& ranks = getRanksServerLeader(); 467 for (std::list<int>::const_iterator itRank = ranks.begin(), itRankEnd = ranks.end(); itRank != itRankEnd; ++itRank) 468 { 469 info(100)<<"DEBUG : Sent context Finalize event to rank "<<*itRank<<endl ; 470 event.push(*itRank, 1, msg); 471 } 472 sendEvent(event); 473 } 474 else sendEvent(event); 475 */ 453 476 454 477 455 CTimer::get("Blocking time").resume(); … … 491 469 report(0) << " Memory report : Context <" << context->getId() << "> : client side : total memory used for buffer " << totalBuf << " bytes" << endl; 492 470 493 //releaseBuffers(); // moved to CContext::finalize()494 471 } 495 472
Note: See TracChangeset
for help on using the changeset viewer.