From ce55f18ad3c11be1597a3fd22e885fce5a854dac Mon Sep 17 00:00:00 2001 From: bri Date: Mon, 10 Feb 2014 18:07:10 +0400 Subject: [PATCH] - --- scripts/run_salome_siman.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/run_salome_siman.sh b/scripts/run_salome_siman.sh index 5c55b94..e173628 100644 --- a/scripts/run_salome_siman.sh +++ b/scripts/run_salome_siman.sh @@ -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= --siman-scenario= --siman-user=" 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 -- 2.39.2