From: Anthony Geay Date: Mon, 9 Nov 2020 07:58:36 +0000 (+0100) Subject: Ready for integration into master X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fagy%2Fpara_mesh_opt_4;p=tools%2Fmedcoupling.git Ready for integration into master --- 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);