From 2bf57753eb7d7f0e77a3d7d847799942c4215142 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Thu, 5 Nov 2020 10:40:44 +0100 Subject: [PATCH] oops --- src/ParaMEDMEM/ParaUMesh.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.2