Ignore:
Timestamp:
08/13/09 13:28:51 (15 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r9488 r9489  
    2020#   Author(s): Daniela Dorner  05/2006 <mailto:dorner@astro.uni-wuerzburg.de>
    2121#
    22 #   Copyright: MAGIC Software Development, 2000-2007
     22#   Copyright: MAGIC Software Development, 2000-2009
    2323#
    2424#
     
    4545echo "" >> $jmscriptlog 2>&1
    4646echo "" >> $jmscriptlog 2>&1
    47 echo -n `date +%F\ %T`" starting jobmanager for setup " >> $jmscriptlog 2>&1
    48 
    49 # decide which jobmanager you want to run
    50 # setup of the different jobmanagers (which scripts they start)
    51 #  the number of jobs are defined in the file setup
    52 case $1 in
    53    data) echo -n "'data'" >> $jmscriptlog 2>&1
    54          scripts=( "runganymed" "runstar" "runcallisto" ) # not used: "dodatacheck" "cutslices"
    55          scriptscolname=( "fGanymed" "fStar" "fCallisto" ) # not used: "fDataCheckDone" "fCompmux"
    56          pnosweek=( ${pnoganymed[@]} ${pnostar[@]} ${pnocallisto[@]} ) # not used: ${pnodatacheck[@]} ${pnocutslices[@]}
    57          pnoswe=( ${pnoganymedwe[@]} ${pnostarwe[@]} ${pnocallistowe[@]} ) # not used: ${pnodatacheckwe[@]} ${pnocutsliceswe[@]}
    58          break
    59          ;;
    60      mc) echo -n "'mc'" >> $jmscriptlog 2>&1
    61          scripts=( "runcorsika" "runreflector" "runcamera" )
    62          scriptscolname=( "fCorsikaFileAvail" "fReflectorFileAvail" "fCameraFileAvail" )
    63          pnosweek=( ${pnocorsika[@]} ${pnoreflector[@]} ${pnocamera[@]} )
    64          pnoswe=( ${pnocorsikawe[@]} ${pnoreflectorwe[@]} ${pnocamerawe[@]} )
    65          break
    66          ;;
    67   ctamc) echo -n "'cta mc'" >> $jmscriptlog 2>&1
    68          scripts=( "runsimtel" )
    69          scriptscolname=( "fCorsikaSimTelarray" )
    70          pnosweek=( ${pnosimtel[@]} )
    71          pnoswe=( ${pnosimtelwe[@]} )
    72          break
    73          ;;
    74       *) echo ""
    75          echo "'$1' is a wrong commandline option for jobmanager -> exit" >> $jmscriptlog 2>&1
    76          echo "'$1' is a wrong commandline option for jobmanager -> exit"
    77          printprocesslog "WARN '$1' is a wrong commandline option for jobmanager"
    78          finish >> $jmscriptlog 2>&1
    79          break
    80          ;;
    81 esac
     47echo -n `date +%F\ %T`" starting jobmanager for setup "$AUTOMATIONSETUP >> $jmscriptlog 2>&1
    8248
    8349# choose commands according to queueing system (defined in setup)
Note: See TracChangeset for help on using the changeset viewer.