Geant
From Computing@RNC
#!/bin/csh starver SL09b set nEvents=100 set outFileNum=$1 set outDir=`pwd` set date=`date +"%H-%M-%d-%m-%Y"` set log=hijing_fz_$1_$date.log set baseDir=~aarose/simulations/newPixel set srcDir=$baseDir/code/hijing/ set evDir=/home/a/aarose/simulations/events/pdsf0013 set inDir=$evDir/nt #set inDir=$baseDir/nt set destDir=$evDir/fz cd $SCRATCH mkdir hijing-fz-$outFileNum cd hijing-fz-$outFileNum hsi " mget $inDir/hijing382_$outFileNum.nt" mv hijing382_${outFileNum}.nt infile.nt ln -s $srcDir/hijing.kumac . ln -s $baseDir/geometry.g . ln -s $baseDir/pixlgeo4.g . #ln -s $srcDir/upgr05/istbgeo.g . echo `env` >> $log echo `ls -lah` >> $log # # Execute Starsim command # starsim -b hijing.kumac <>& $log exec hijing $outFileNum exit EOF # # Clean up # mv outfile.fz hijing382_$outFileNum.fz hsi "cd ${destDir}; prompt; mput hijing382_${outFileNum}.fz; mput ${log}" cd .. rm -r hijing-fz-$outFileNum
Debug data: