Changeset 2604


Ignore:
Timestamp:
12/12/23 13:39:34 (5 months ago)
Author:
jderouillat
Message:

Fix the 'Communicator not allocated' message which appears at the end of a many pool run

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS3/trunk/src/manager/servers_ressource.cpp

    r2589 r2604  
    236236    {   
    237237      poolRessource_ = new CPoolRessource(poolComm, childScheduler, poolId, true) ; 
    238       xios::MPI_Comm_free(&poolComm) ; 
     238      CXios::getMpiGarbageCollector().registerCommunicator(poolComm) ; 
    239239    } 
    240240    else  
    241241    { 
    242242      freeRessourceEventScheduler_ = childScheduler ; 
    243       xios::MPI_Comm_free(&freeRessourcesComm_) ; 
    244243      freeRessourcesComm_=poolComm ; 
     244      CXios::getMpiGarbageCollector().registerCommunicator(freeRessourcesComm_) ; 
    245245    } 
    246246 
Note: See TracChangeset for help on using the changeset viewer.