Changeset 1865 for XIOS


Ignore:
Timestamp:
04/03/20 10:19:19 (4 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/branchs/xios-2.5/src/client.cpp

    r1859 r1865  
    247247      } 
    248248 
     249 
     250      MPI_Comm_free(&interComm); 
    249251      for (std::list<MPI_Comm>::iterator it = contextInterComms.begin(); it != contextInterComms.end(); it++) 
    250252        MPI_Comm_free(&(*it)); 
    251       MPI_Comm_free(&interComm); 
    252253      MPI_Comm_free(&intraComm); 
    253254 
Note: See TracChangeset for help on using the changeset viewer.