From: Anthony Geay Date: Thu, 5 Nov 2020 09:40:44 +0000 (+0100) Subject: oops X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2bf57753eb7d7f0e77a3d7d847799942c4215142;p=tools%2Fmedcoupling.git oops --- diff --git a/src/ParaMEDMEM/ParaUMesh.cxx b/src/ParaMEDMEM/ParaUMesh.cxx index 19e2f1405..1d0637064 100644 --- a/src/ParaMEDMEM/ParaUMesh.cxx +++ b/src/ParaMEDMEM/ParaUMesh.cxx @@ -90,7 +90,7 @@ MCAuto ParaUMesh::getCellIdsLyingOnNodesTrue(const DataArrayIdT ci.allGather(&nbOfNodeIdsLoc,1,MPI_ID_TYPE,nbOfElems.get(),1,MPI_ID_TYPE,comm); std::vector< MCAuto > tabs(size); //store for each proc the local nodeids intercepted by current proc - int nbOfCollectiveCalls = size;// this parameter controls the memory peak + int nbOfCollectiveCalls = 1;// this parameter controls the memory peak // loop to avoid to all procs to have all the nodes per proc for(int subDiv = 0 ; subDiv < nbOfCollectiveCalls ; ++subDiv) {