From: ribes Date: Fri, 27 Mar 2009 13:16:00 +0000 (+0000) Subject: MPI leak X-Git-Tag: new_launcher_alpha_091119~35 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4f53dabddc777f6b17d08016c4d47fcf23b0cd94;p=modules%2Fkernel.git MPI leak --- 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