From 4f53dabddc777f6b17d08016c4d47fcf23b0cd94 Mon Sep 17 00:00:00 2001 From: ribes Date: Fri, 27 Mar 2009 13:16:00 +0000 Subject: [PATCH] MPI leak --- src/ParallelContainer/SALOME_ParallelContainerNodeMpi.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ParallelContainer/SALOME_ParallelContainerNodeMpi.cxx b/src/ParallelContainer/SALOME_ParallelContainerNodeMpi.cxx index bb73976e1..d72d0fe74 100644 --- a/src/ParallelContainer/SALOME_ParallelContainerNodeMpi.cxx +++ b/src/ParallelContainer/SALOME_ParallelContainerNodeMpi.cxx @@ -193,9 +193,7 @@ int main(int argc, char* argv[]) paco_fabrique_manager * pfm = paco_getFabriqueManager(); pfm->register_com("mpi", new paco_mpi_fabrique()); pfm->register_thread("omni", new paco_omni_fabrique()); - MPI_Comm parallel_object_group; - MPI_Comm_dup(MPI_COMM_WORLD, ¶llel_object_group); - servant->setLibCom("mpi", ¶llel_object_group); + servant->setLibCom("mpi", MPI_COMM_WORLD); servant->setLibThread("omni"); // Activation -- 2.39.2