Ignore:
Timestamp:
04/03/20 14:08:36 (5 years ago)
Author:
ymipsl
Message:

Remove freeing MPI communicator at finalize that can raise deadlock on some recent MPI library

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/branchs/xios-2.5/src/node/context.cpp

    r1489 r1867  
    476476         //! Free internally allocated communicators 
    477477         for (std::list<MPI_Comm>::iterator it = comms.begin(); it != comms.end(); ++it) 
    478            MPI_Comm_free(&(*it)); 
     478           /* MPI_Comm_free(&(*it)) */ ; // WARNING remove freeing communicator !! --> deadlock raised, to be checked 
    479479         comms.clear(); 
    480480 
     
    518518         //! Free internally allocated communicators 
    519519         for (std::list<MPI_Comm>::iterator it = comms.begin(); it != comms.end(); ++it) 
    520            MPI_Comm_free(&(*it)); 
     520           /* MPI_Comm_free(&(*it)) */;  // WARNING remove freeing communicator !! --> deadlock raised, to be checked 
    521521         comms.clear(); 
    522522 
     
    532532   { 
    533533     for (std::list<MPI_Comm>::iterator it = comms.begin(); it != comms.end(); ++it) 
    534        MPI_Comm_free(&(*it)); 
     534       /* MPI_Comm_free(&(*it)) */ ; // WARNING remove freeing communicator !! --> deadlock raised, to be checked 
    535535     comms.clear(); 
    536536   } 
Note: See TracChangeset for help on using the changeset viewer.