From: Augustin Degomme Date: Mon, 14 Jun 2021 12:10:19 +0000 (+0200) Subject: set this error added in 9d5b713b1 as a pedantic one, to allow ignoring it. X-Git-Tag: v3.28~98 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/598c2d5bfd5aec608fb0b892be7f840152194168 set this error added in 9d5b713b1 as a pedantic one, to allow ignoring it. Rationale : we don't really know if it's actually an error, and read2shmem code triggers it in proxy apps. --- diff --git a/src/smpi/bindings/smpi_pmpi_win.cpp b/src/smpi/bindings/smpi_pmpi_win.cpp index e36103458e..bebd6f8aac 100644 --- a/src/smpi/bindings/smpi_pmpi_win.cpp +++ b/src/smpi/bindings/smpi_pmpi_win.cpp @@ -99,7 +99,7 @@ int PMPI_Win_detach(MPI_Win win, const void* base) int PMPI_Win_free( MPI_Win* win){ CHECK_NULL(1, MPI_ERR_WIN, win) CHECK_WIN(1, (*win)) - if ((*win)->opened() == 1){ + if (_smpi_cfg_pedantic && (*win)->opened() == 1){//only check in pedantic mode, as it's not clear this is illegal XBT_WARN("Attempt to destroy a MPI_Win too early -missing MPI_Win_fence ?"); return MPI_ERR_WIN; }