Changeset 9610 for trunk/MagicSoft/Mars/datacenter/scripts/runceres
- Timestamp:
- 07/05/10 18:36:42 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/runceres
r9605 r9610 54 54 setstatus "start" 55 55 56 outpath=$mcpath/ceres/`printf %03d $cereskey`/`printf %08d $run | cut -c 1-4`/`printf %08d $run | cut -c 5-8`57 makedir $outpath58 log=$outpath/ceres`printf %08d $run `"."`printf %06d $file | cut -c 4-6`59 56 setupfile=$setuppath/$program/`printf %03d $cereskey`/ceres.rc 60 57 … … 65 62 2) printprocesslog "INFO run $run and file $file is a data run (key="$runkey")" 66 63 inputfile=$mcpath/corsika/`printf %08d $run | cut -c 1-4`/`printf %08d $run | cut -c 5-8`/cer000`printf %06d $file | cut -c 4-6` 64 outpath=$mcpath/ceres/`printf %03d $cereskey`/`printf %08d $run | cut -c 1-4`/`printf %08d $run | cut -c 5-8` 65 makedir $outpath 66 log=$outpath/ceres`printf %08d $run `"."`printf %06d $file | cut -c 4-6` 67 67 command="./ceres -b -q -f --config=$setupfile --out=$outpath --log=$log.log --html=$log.html --run-number=$run $inputfile" 68 68 printprocesslog "INFO executing "$command … … 71 71 ;; 72 72 3) printprocesslog "INFO run $run and file $file is a pedestal run (key="$runkey")" 73 drun=`echo "$run + 2 " | bc -l` 74 $outpath=$mcpath/ceres/`printf %03d $cereskey`/`printf %08d $drun | cut -c 1-4`/`printf %08d $drun | cut -c 5-8` 75 makedir $outpath 76 log=$outpath/ceres`printf %08d $run `"."`printf %06d $file | cut -c 4-6` 73 77 command="./ceres -b -q -f --config=$setupfile --out=$outpath --log=$log.log --html=$log.html --run-number=$run pedestal" 74 78 printprocesslog "INFO executing "$command … … 77 81 ;; 78 82 4) printprocesslog "INFO run $run and file $file is a calibration run (key="$runkey")" 83 drun=`echo "$run + 1 " | bc -l` 84 $outpath=$mcpath/ceres/`printf %03d $cereskey`/`printf %08d $drun | cut -c 1-4`/`printf %08d $drun | cut -c 5-8` 85 makedir $outpath 86 log=$outpath/ceres`printf %08d $run `"."`printf %06d $file | cut -c 4-6` 79 87 command="./ceres -b -q -f --config=$setupfile --out=$outpath --log=$log.log --html=$log.html --run-number=$run calibration" 80 88 printprocesslog "INFO executing "$command
Note:
See TracChangeset
for help on using the changeset viewer.