Changeset 9489 for trunk/MagicSoft/Mars/datacenter/scripts/jobmanager
- Timestamp:
- 08/13/09 13:28:51 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/jobmanager
r9488 r9489 20 20 # Author(s): Daniela Dorner 05/2006 <mailto:dorner@astro.uni-wuerzburg.de> 21 21 # 22 # Copyright: MAGIC Software Development, 2000-200 722 # Copyright: MAGIC Software Development, 2000-2009 23 23 # 24 24 # … … 45 45 echo "" >> $jmscriptlog 2>&1 46 46 echo "" >> $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 47 echo -n `date +%F\ %T`" starting jobmanager for setup "$AUTOMATIONSETUP >> $jmscriptlog 2>&1 82 48 83 49 # choose commands according to queueing system (defined in setup)
Note:
See TracChangeset
for help on using the changeset viewer.