Ignore:
Timestamp:
09/26/23 17:24:35 (10 months ago)
Author:
ymipsl
Message:

Tracking unfree MPI windows and communicators.

YM

Location:
XIOS3/trunk/src/transport
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • XIOS3/trunk/src/transport/p2p_context_client.cpp

    r2556 r2580  
    3232 
    3333      MPI_Intercomm_merge(interComm_,false, &interCommMerged_) ; 
     34      CXios::getMpiGarbageCollector().registerCommunicator(interCommMerged_) ; 
    3435       
    3536      MPI_Comm_split(intraComm_,clientRank,clientRank, &commSelf_) ; // for windows 
     37      CXios::getMpiGarbageCollector().registerCommunicator(commSelf_) ; 
    3638      eventScheduler_ = parent->getEventScheduler() ;   
    3739      timeLine = 1; 
  • XIOS3/trunk/src/transport/p2p_context_server.cpp

    r2566 r2580  
    3737    
    3838    MPI_Comm_dup(intraComm, &processEventBarrier_) ; 
    39   
     39    CXios::getMpiGarbageCollector().registerCommunicator(processEventBarrier_) ; 
     40     
    4041    currentTimeLine=1; 
    4142    scheduled=false; 
     
    4344 
    4445    MPI_Intercomm_merge(interComm_,true,&interCommMerged_) ; 
     46    CXios::getMpiGarbageCollector().registerCommunicator(interCommMerged_) ; 
    4547    MPI_Comm_split(intraComm_, intraCommRank, intraCommRank, &commSelf_) ; // for windows 
     48    CXios::getMpiGarbageCollector().registerCommunicator(commSelf_) ; 
    4649     
    4750    itLastTimeLine=lastTimeLine.begin() ; 
Note: See TracChangeset for help on using the changeset viewer.