]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
[EDF30157] Help to test
authorAnthony Geay <anthony.geay@edf.fr>
Tue, 18 Jun 2024 14:37:26 +0000 (16:37 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Tue, 18 Jun 2024 14:37:26 +0000 (16:37 +0200)
src/Launcher_SWIG/Launcher.i

index fd5bd34d046e50118da3264d263a22458c1b12fa..e472ede510ed72010fde21d7a633164421d72c0f 100644 (file)
@@ -382,13 +382,13 @@ def GetPlayGroundInsideASlurmJob():
       d[elt]+=1
   return d
 
-def BuildCatalogFromScratch(protocol):
+def BuildCatalogFromScratch(protocol,appliPath):
   import os
   d = GetPlayGroundInsideASlurmJob()
   rmcpp = RetrieveRMCppSingleton()
   rmcpp.DeleteAllResourcesInCatalog()
   for k,v in d.items():
-      contRes = CreateContainerResource(hostname=k,applipath=os.environ["APPLI"],protocol=protocol,nbOfNodes=v)
+      contRes = CreateContainerResource(hostname=k,applipath=appliPath,protocol=protocol,nbOfNodes=v)
       rmcpp.AddResourceInCatalogNoQuestion(contRes)
 
 def GetRequestForGiveContainer(hostname, contName):