Changeset 2222


Ignore:
Timestamp:
09/06/21 18:11:19 (3 years ago)
Author:
ymipsl
Message:

Fix problem at MPI dynamic window creation with intelMPI :
Freeing communicator before using windows make a crash. Bug of intelMPI library or not ? Work with OpenMPI

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/context_client.cpp

    r2189 r2222  
    6464          MPI_Win_create_dynamic(MPI_INFO_NULL, winComm, &windows[rank][0]); 
    6565          MPI_Win_create_dynamic(MPI_INFO_NULL, winComm, &windows[rank][1]); 
    66           MPI_Comm_free(&winComm) ; 
     66//       ym : Warning : intelMPI doesn't support that communicator of windows be deallocated before the windows deallocation, crash at MPI_Win_lock 
     67//            Bug or not ?           
     68//        MPI_Comm_free(&winComm) ; 
    6769        } 
    6870      } 
Note: See TracChangeset for help on using the changeset viewer.