From 7fb7215875ebbb8233c8097dc3cb58bf2a136e34 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Mon, 9 Nov 2020 08:58:36 +0100 Subject: [PATCH] Ready for integration into master --- src/ParaMEDMEM/ParaUMesh.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ParaMEDMEM/ParaUMesh.cxx b/src/ParaMEDMEM/ParaUMesh.cxx index 1d0637064..7503a36aa 100644 --- a/src/ParaMEDMEM/ParaUMesh.cxx +++ b/src/ParaMEDMEM/ParaUMesh.cxx @@ -152,9 +152,8 @@ MCAuto ParaUMesh::getCellIdsLyingOnNodesFalse(const DataArrayId { MPI_Comm comm(MPI_COMM_WORLD); CommInterface ci; - int size,rkk; + int size; ci.commSize(comm,&size); - ci.commRank(comm,&rkk); std::unique_ptr nbOfElems(new mcIdType[size]),nbOfElems2(new mcIdType[size]),nbOfElems3(new mcIdType[size]); mcIdType nbOfNodeIdsLoc(globalNodeIds->getNumberOfTuples()); ci.allGather(&nbOfNodeIdsLoc,1,MPI_ID_TYPE,nbOfElems.get(),1,MPI_ID_TYPE,comm); -- 2.39.2