]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
fix SOLVERLAB.py SOLVERLABGUI.py
authorChristian Van Wambeke <christian.van-wambeke@cea.fr>
Tue, 24 Oct 2023 14:30:18 +0000 (16:30 +0200)
committerChristian Van Wambeke <christian.van-wambeke@cea.fr>
Tue, 24 Oct 2023 14:30:18 +0000 (16:30 +0200)
products/env_scripts/SOLVERLAB.py
products/env_scripts/SOLVERLABGUI.py

index e84c7cbea537d052b40229afafb3c8021f049480..804b9a71290c2191ede1dcac27a58105b11d5611 100644 (file)
@@ -31,6 +31,9 @@ def set_env(env, product_dir, version):
     env.prepend('PYTHONPATH', os.path.join(root, 'lib', 'cdmath'))
     env.prepend('PYTHONPATH', os.path.join(root, 'bin', 'cdmath'))
     env.prepend('PYTHONPATH', os.path.join(root, 'bin', 'cdmath','postprocessing'))
+
+    env.set('SOLVERLAB_WORKDIR', "${HOME}/SOLVERLAB_WORKDIR")
+    env.set('USERLOGIN', "${USER}") 
+
 def set_nativ_env(env):
     pass
index 8c71ff1a4317c3a6707f8bd2c3f0317fb6eb6752..2f3a0255ae50e68344fb960722e617520dab6587 100644 (file)
@@ -10,8 +10,9 @@ def set_env(env, product_dir, version):
     env.prepend('PYTHONPATH', product_dir)
     env.prepend('PYTHONPATH', os.path.join(product_dir, 'solverlabpy'))
     env.prepend('PYTHONPATH', os.path.join(product_dir, 'bin', 'salome'))
-    env.set('SOLVERLABGUI_WORKDIR', r'/tmp')
-    env.set('USERLOGIN', "$USER")
+    env.set('SOLVERLABGUI_WORKDIR', "${HOME}/SOLVERLAB_WORKDIR")
+    env.set('USERLOGIN', "${USER}") # for windaube
  
 def set_nativ_env(env):
     pass
+