Ignore:
Timestamp:
07/05/10 18:36:42 (14 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/scripts/runceres

    r9605 r9610  
    5454setstatus "start"
    5555
    56 outpath=$mcpath/ceres/`printf %03d $cereskey`/`printf %08d $run | cut -c 1-4`/`printf %08d $run | cut -c 5-8`
    57 makedir $outpath
    58 log=$outpath/ceres`printf %08d $run `"."`printf %06d $file | cut -c 4-6`
    5956setupfile=$setuppath/$program/`printf %03d $cereskey`/ceres.rc
    6057
     
    6562   2) printprocesslog "INFO run $run and file $file is a data run (key="$runkey")"
    6663      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`
    6767      command="./ceres -b -q -f --config=$setupfile --out=$outpath --log=$log.log --html=$log.html --run-number=$run $inputfile"
    6868      printprocesslog "INFO executing "$command
     
    7171      ;;
    7272   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`
    7377      command="./ceres -b -q -f --config=$setupfile --out=$outpath --log=$log.log --html=$log.html --run-number=$run pedestal"
    7478      printprocesslog "INFO executing "$command
     
    7781      ;;
    7882   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`
    7987      command="./ceres -b -q -f --config=$setupfile --out=$outpath --log=$log.log --html=$log.html --run-number=$run calibration"
    8088      printprocesslog "INFO executing "$command
Note: See TracChangeset for help on using the changeset viewer.