From: secher Date: Mon, 31 Aug 2009 12:48:18 +0000 (+0000) Subject: just a little modification X-Git-Tag: V5_1_3rc1~77 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ebbff6dcf73d29434b76194dd71024e0bce1a7e4;p=modules%2Fkernel.git just a little modification --- diff --git a/src/Container/SALOME_ContainerManager.cxx b/src/Container/SALOME_ContainerManager.cxx index 84900334d..f0a5a04a9 100644 --- a/src/Container/SALOME_ContainerManager.cxx +++ b/src/Container/SALOME_ContainerManager.cxx @@ -83,6 +83,7 @@ SALOME_ContainerManager::SALOME_ContainerManager(CORBA::ORB_ptr orb, PortableSer _isAppliSalomeDefined = (getenv("APPLI") != 0); #ifdef HAVE_MPI2 +#ifdef WITHOPENMPI if( getenv("OMPI_URI_FILE") != NULL ){ system("killall ompi-server"); string command; @@ -92,6 +93,7 @@ SALOME_ContainerManager::SALOME_ContainerManager(CORBA::ORB_ptr orb, PortableSer if(status!=0) throw SALOME_Exception("Error when launching ompi-server"); } +#endif #endif MESSAGE("constructor end"); @@ -107,9 +109,11 @@ SALOME_ContainerManager::~SALOME_ContainerManager() { MESSAGE("destructor"); #ifdef HAVE_MPI2 +#ifdef WITHOPENMPI if( getenv("OMPI_URI_FILE") != NULL ) system("killall ompi-server"); #endif +#endif } //=============================================================================