From: secher Date: Tue, 16 Jun 2009 10:16:24 +0000 (+0000) Subject: debug MPI Containers X-Git-Tag: V5_1_3rc1~105 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9d2a42ce016b242e04f0c0b4a0970854d5d27e18;p=modules%2Fkernel.git debug MPI Containers --- diff --git a/src/Container/SALOME_ContainerManager.cxx b/src/Container/SALOME_ContainerManager.cxx index 989ca2c4b..5deda9075 100644 --- a/src/Container/SALOME_ContainerManager.cxx +++ b/src/Container/SALOME_ContainerManager.cxx @@ -273,7 +273,11 @@ SALOME_ContainerManager::StartContainer(const Engines::MachineParameters& params //check if an entry exists in Naming service //if params.mode == "start" or "" shutdown the existing container before launching a new one with that name //if params.mode == "getorstart" or "get" use the existing container - containerNameInNS = _NS->BuildContainerNameForNS(params,theMachine.c_str()); + if(params.isMPI) + // A parallel container register on zero node in NS + containerNameInNS = _NS->BuildContainerNameForNS(params,GetMPIZeroNode(theMachine).c_str()); + else + containerNameInNS = _NS->BuildContainerNameForNS(params,theMachine.c_str()); SCRUTE(containerNameInNS); CORBA::Object_var obj = _NS->Resolve(containerNameInNS.c_str());