From: bri Date: Mon, 10 Feb 2014 14:07:10 +0000 (+0400) Subject: - X-Git-Tag: Delivery_V1_0_2013_07_12~24 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ce55f18ad3c11be1597a3fd22e885fce5a854dac;p=tools%2Fsimanio.git - --- 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