Changeset 1866


Ignore:
Timestamp:
04/03/20 10:21:06 (5 years ago)
Author:
ymipsl
Message:

Bad order in freeing MPI communicator at finalize. Dead-lock may occur on some MPI library.
Thanks to R. Lacroix to found the bug.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/client.cpp

    r1858 r1866  
    277277      } 
    278278 
     279 
     280      MPI_Comm_free(&interComm); 
    279281      for (std::list<MPI_Comm>::iterator it = contextInterComms.begin(); it != contextInterComms.end(); it++) 
    280282        MPI_Comm_free(&(*it)); 
    281       MPI_Comm_free(&interComm); 
    282283      MPI_Comm_free(&intraComm); 
    283284 
Note: See TracChangeset for help on using the changeset viewer.