Ignore:
Timestamp:
08/12/11 13:15:16 (13 years ago)
Author:
Daniela Dorner
Message:
updated corsika version, bugfix for diskusage, writing permission for group
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/datacenter/scripts/runsimtel

    r11862 r11899  
    3737
    3838set -C
     39# set write permission for group
     40umask 002
    3941
    4042simdir=$mcpath/software/simtel
    4143
    42 export CORSIKA_PATH=$simdir/corsika-6735/run/
     44export CORSIKA_PATH=$simdir/corsika-6970/run/
    4345export SIM_TELARRAY_PATH=$simdir/sim_telarray
     46#export SIM_TELARRAY_PATH=$simdir
     47export SIM_TELARRAY_RUN_PATH=$simdir/sim_telarray
    4448export MCDATA_PATH=$mcpath
    4549export CORSIKA_DATA="${MCDATA_PATH}/corsika"
    4650export SIM_TELARRAY_DATA="${MCDATA_PATH}/simtel"
     51export LD_LIBRARY_PATH=$simdir/hessioxxx/lib/
    4752
    4853# printing input card to stdout
     
    6974prodhost=`echo $HOSTNAME | sed -e 's/compute-0-//' -e 's/[.]local//'`
    7075
    71 diskusage=( `df $mcpath | grep $mcpath` )
     76diskusage=( `df $mcpath | grep $mcpath ` )
    7277# continue only if more than 90 GB are left on /state/cta
    73 if [ ${diskusage[3]} -lt 90000000 ]
     78if [ ${diskusage[2]} -lt 90000000 ]
    7479then
    7580   printprocesslog "WARN less than 90 GB left on $mcpath on node $prodhost "
     
    161166printinputcard >| $inputcard
    162167#./corsika < $inputcard >| $logfile 2>&1
    163 ./corsika6735Linux_QGSJET_urqmd < $inputcard >| $logfile 2>&1
     168./corsika6970Linux_QGSII_urqmd < $inputcard >| $logfile 2>&1
    164169check1=$?
    165170
Note: See TracChangeset for help on using the changeset viewer.