From: secher Date: Tue, 19 Jul 2005 13:01:28 +0000 (+0000) Subject: version qui roule en sequentielle X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1c1e73a7b09e2ebf3923df6d679f9fa0ddb90c72;p=modules%2Fkernel.git version qui roule en sequentielle --- diff --git a/resources/CatalogResources.xml b/resources/CatalogResources.xml index 17d03ed45..3f8689ac2 100644 --- a/resources/CatalogResources.xml +++ b/resources/CatalogResources.xml @@ -3,42 +3,46 @@ - - - - - + + + + + + - - - - - + + + + + + - - - - - + + + + + + - - - - - + + + + + + diff --git a/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx b/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx index ded32a011..520755cb4 100644 --- a/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx +++ b/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx @@ -190,6 +190,7 @@ SALOME_LifeCycleCORBA::FindOrLoad_Component(const char *containerName, params->container_name=CORBA::string_dup(stContainer+rg+1); params->hostname=CORBA::string_dup(stContainer); } + params->isMPI = false; free(stContainer); return FindOrLoad_Component(params,componentName); diff --git a/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.hxx b/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.hxx index 071595d9d..a46e023c8 100644 --- a/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.hxx +++ b/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.hxx @@ -53,9 +53,6 @@ public: SALOME_LifeCycleCORBA(SALOME_NamingService *ns = 0); virtual ~SALOME_LifeCycleCORBA(); - Engines::Container_ptr - FindContainer(const char *containerName); // for supervision - Engines::Component_ptr FindComponent(const Engines::MachineParameters& params, const char *componentName, diff --git a/src/ResourcesManager/SALOME_ResourcesManager.cxx b/src/ResourcesManager/SALOME_ResourcesManager.cxx index 93e79d6c7..8edf5a264 100644 --- a/src/ResourcesManager/SALOME_ResourcesManager.cxx +++ b/src/ResourcesManager/SALOME_ResourcesManager.cxx @@ -1,4 +1,4 @@ -#include "SALOME_ResourcesManager.hxx" + #include "SALOME_ResourcesManager.hxx" #include "SALOME_Container_i.hxx" #include "Utils_ExceptHandlers.hxx" #include "OpUtil.hxx" @@ -220,12 +220,14 @@ string SALOME_ResourcesManager::BuildTempFileToLaunchRemoteContainer(const strin } tempOutputFile << (*(resInfo.ModulesPath.find("KERNEL"))).second << "/bin/salome/"; if(params.isMPI){ + cout << "PARALLELE" << endl; if(Engines_Container_i::isPythonContainer(params.container_name)) tempOutputFile << "pyMPI SALOME_ContainerPy.py "; else tempOutputFile << "SALOME_MPIContainer "; } else{ + cout << "SEQUENTIEL" << endl; if(Engines_Container_i::isPythonContainer(params.container_name)) tempOutputFile << "SALOME_ContainerPy.py "; else @@ -388,11 +390,12 @@ void SALOME_ResourcesManager::AddOmninamesParams(string& command) const { string omniORBcfg( getenv( "OMNIORB_CONFIG" ) ) ; ifstream omniORBfile( omniORBcfg.c_str() ) ; - char ORBInitRef[12] ; + char ORBInitRef[11] ; + char egal[3] ; char nameservice[132] ; omniORBfile >> ORBInitRef ; - command += ORBInitRef ; - command += " " ; + command += "ORBInitRef " ; + omniORBfile >> egal ; omniORBfile >> nameservice ; omniORBfile.close() ; char * bsn = strchr( nameservice , '\n' ) ; @@ -406,11 +409,12 @@ void SALOME_ResourcesManager::AddOmninamesParams(ofstream& fileStream) const { string omniORBcfg( getenv( "OMNIORB_CONFIG" ) ) ; ifstream omniORBfile( omniORBcfg.c_str() ) ; - char ORBInitRef[12] ; + char ORBInitRef[11] ; + char egal[3] ; char nameservice[132] ; omniORBfile >> ORBInitRef ; - fileStream << ORBInitRef; - fileStream << " "; + fileStream << "ORBInitRef "; + omniORBfile >> egal ; omniORBfile >> nameservice ; omniORBfile.close() ; char * bsn = strchr( nameservice , '\n' ) ;