Changeset 11899 for trunk/Mars/datacenter
- Timestamp:
- 08/12/11 13:15:16 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/datacenter/scripts/runsimtel
r11862 r11899 37 37 38 38 set -C 39 # set write permission for group 40 umask 002 39 41 40 42 simdir=$mcpath/software/simtel 41 43 42 export CORSIKA_PATH=$simdir/corsika-6 735/run/44 export CORSIKA_PATH=$simdir/corsika-6970/run/ 43 45 export SIM_TELARRAY_PATH=$simdir/sim_telarray 46 #export SIM_TELARRAY_PATH=$simdir 47 export SIM_TELARRAY_RUN_PATH=$simdir/sim_telarray 44 48 export MCDATA_PATH=$mcpath 45 49 export CORSIKA_DATA="${MCDATA_PATH}/corsika" 46 50 export SIM_TELARRAY_DATA="${MCDATA_PATH}/simtel" 51 export LD_LIBRARY_PATH=$simdir/hessioxxx/lib/ 47 52 48 53 # printing input card to stdout … … 69 74 prodhost=`echo $HOSTNAME | sed -e 's/compute-0-//' -e 's/[.]local//'` 70 75 71 diskusage=( `df $mcpath | grep $mcpath ` )76 diskusage=( `df $mcpath | grep $mcpath ` ) 72 77 # continue only if more than 90 GB are left on /state/cta 73 if [ ${diskusage[ 3]} -lt 90000000 ]78 if [ ${diskusage[2]} -lt 90000000 ] 74 79 then 75 80 printprocesslog "WARN less than 90 GB left on $mcpath on node $prodhost " … … 161 166 printinputcard >| $inputcard 162 167 #./corsika < $inputcard >| $logfile 2>&1 163 ./corsika6 735Linux_QGSJET_urqmd < $inputcard >| $logfile 2>&1168 ./corsika6970Linux_QGSII_urqmd < $inputcard >| $logfile 2>&1 164 169 check1=$? 165 170
Note:
See TracChangeset
for help on using the changeset viewer.