Ignore:
Timestamp:
11/06/19 11:03:38 (5 years ago)
Author:
ymipsl
Message:

Some cleaning On XIOS services branch

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_SERVICES/src/context_client.cpp

    r1764 r1765  
    305305      buffer->checkBuffer(true); 
    306306 
    307 /* 
    308       if (!isAttachedModeEnabled()) // create windows only in server mode 
    309       { 
    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  */       
    316307   } 
    317308 
     
    460451    delete[] nbServerConnectionLocal ; 
    461452    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 
    476454 
    477455    CTimer::get("Blocking time").resume(); 
     
    491469    report(0) << " Memory report : Context <" << context->getId() << "> : client side : total memory used for buffer " << totalBuf << " bytes" << endl; 
    492470 
    493     //releaseBuffers(); // moved to CContext::finalize() 
    494471  } 
    495472 
Note: See TracChangeset for help on using the changeset viewer.