Changeset 2029 for XIOS/trunk/src/node


Ignore:
Timestamp:
02/04/21 20:35:15 (3 years ago)
Author:
aclsce
Message:

Commented mpi_comm_free as it was done on branch 2.5 to avoid potential deadlocks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/context.cpp

    r1927 r2029  
    503503         //! Free internally allocated communicators 
    504504         for (std::list<MPI_Comm>::iterator it = comms.begin(); it != comms.end(); ++it) 
    505            MPI_Comm_free(&(*it)); 
     505           /* MPI_Comm_free(&(*it)) */ ; // WARNING remove freeing communicator !! --> deadlock raised, to be checked 
    506506         comms.clear(); 
    507507 
     
    545545         //! Free internally allocated communicators 
    546546         for (std::list<MPI_Comm>::iterator it = comms.begin(); it != comms.end(); ++it) 
    547            MPI_Comm_free(&(*it)); 
     547           /* MPI_Comm_free(&(*it)) */;  // WARNING remove freeing communicator !! --> deadlock raised, to be checked 
    548548         comms.clear(); 
    549549 
     
    561561   { 
    562562     for (std::list<MPI_Comm>::iterator it = comms.begin(); it != comms.end(); ++it) 
    563        MPI_Comm_free(&(*it)); 
     563       /* MPI_Comm_free(&(*it)) */ ; // WARNING remove freeing communicator !! --> deadlock raised, to be checked 
    564564     comms.clear(); 
    565565   } 
Note: See TracChangeset for help on using the changeset viewer.