]> SALOME platform Git repositories - tools/simanio.git/commitdiff
Salome HOME
-
authorbri <bri@opencascade.com>
Mon, 10 Feb 2014 14:07:10 +0000 (18:07 +0400)
committerbri <bri@opencascade.com>
Mon, 10 Feb 2014 14:07:10 +0000 (18:07 +0400)
scripts/run_salome_siman.sh

index 5c55b9424808d74823d45925b65fc9df8264ba2b..e17362856f87da6fe81392cf1f733a071efc9a12 100644 (file)
@@ -1,9 +1,8 @@
 #!/bin/bash
-xhost +
 echo "parameters : $1  $2  $3" > /home/siman/check_params.txt
 echo "$#" >> /home/siman/check_params.txt
 
-if [ "$#" -ne 1 ] ; then 
+if [ "$#" -ne 3 ] ; then 
 echo  "Usage :
 `basename $0` --siman-study=<studyID> --siman-scenario=<scenarioID> --siman-user=<userID>"
 echo  "for example : 
@@ -47,11 +46,13 @@ export LD_LIBRARY_PATH=${SIMANIO_ROOT_DIR}/lib:${LD_LIBRARY_PATH}
 
 export SIMAN_WS_HOST="172.22.2.65:8080"
 
+export PYTHONPATH="/tmp/SimanSalome/${3##*=}/download":${PYTHONPATH}
+
 echo "parameters 3: $1 $2 $3" >> /home/siman/check_params.txt
 
 #export SALOME_ROOT_DIR=${PWD}
 
-echo ">>> SALOME-SIMAN rurring" >> /home/siman/check_params.txt
+echo ">>> SALOME-SIMAN running" >> /home/siman/check_params.txt
 
 echo "parameters 4: $1 $2 $3" >> /home/siman/check_params.txt