]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
MPI leak
authorribes <ribes>
Fri, 27 Mar 2009 13:16:00 +0000 (13:16 +0000)
committerribes <ribes>
Fri, 27 Mar 2009 13:16:00 +0000 (13:16 +0000)
src/ParallelContainer/SALOME_ParallelContainerNodeMpi.cxx

index bb73976e132f4c29835cdd4cf64477cb6d45cd80..d72d0fe74115b49a67b24622c9a2a7818a2e5972 100644 (file)
@@ -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, &parallel_object_group);
-    servant->setLibCom("mpi", &parallel_object_group);
+    servant->setLibCom("mpi", MPI_COMM_WORLD);
     servant->setLibThread("omni");
 
     // Activation