Ignore:
Timestamp:
05/18/07 19:04:18 (18 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/datacenter/scripts
Files:
3 edited

Legend:

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

    r8482 r8527  
    3636echo "" >> $jmscriptlog 2>&1
    3737echo "starting jobmanager ("`date`")" >> $jmscriptlog 2>&1
     38
     39if [ "$1" == "" ]
     40then
     41   echo "running jobmanager for data" >> $jmscriptlog 2>&1
     42   scripts=( ${datascripts[@]} )
     43   scriptscolname=( ${datascriptscolname[@]} )
     44elif [ "$1" = "mc" ]
     45then
     46   echo "running jobmanager for mc" >> $jmscriptlog 2>&1
     47   scripts=( ${mcscripts[@]} )
     48   scriptscolname=( ${mcscriptscolname[@]} )
     49else
     50   echo "$1 is awrong commandline option for jobmanager -> exit" >> $jmscriptlog 2>&1
     51   printprocesslog "WARN $1 is wrong commandline option for jobmanager"
     52   finish >> $jmscriptlog 2>&1
     53fi
    3854
    3955prev=$max
  • trunk/MagicSoft/Mars/datacenter/scripts/setup

    r8499 r8527  
    5151mcrawpath=$mcpath/rawfiles
    5252mcsequpath=$mcpath/sequences
     53reflectorversion="reflector 0.7"
     54cameraversion="camera 0.75"
    5355
    5456webpath=/www/htdocs/datacenter
     
    6870#scripts=( "runcallisto" "runstar" "runganymed" "dodatacheck" )
    6971#scriptscolname=( "fCallisto" "fStar" "fGanymed" "fDataCheckDone" )
    70 scripts=( "runcallisto" "runstar" "runganymed" )
    71 scriptscolname=( "fCallisto" "fStar" "fGanymed" )
     72datascripts=( "runcallisto" "runstar" "runganymed" )
     73datascriptscolname=( "fCallisto" "fStar" "fGanymed" )
    7274
    7375#hour:            0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
     
    9092pnoswe=( ${pnocallistowe[@]} ${pnostarwe[@]} ${pnoganymedwe[@]} )
    9193
     94# values for mc production
     95mcscripts=( "runcorsika" "runreflector" "runcamera" )
     96mcscriptscolname=( "fCorsikaFileAvail" "fReflectorFileAvail" "fCameraFileAvail" )
     97
     98#hour:            0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
     99
     100pnocorsika=(     12 12 12 12 12 12 12 10  9  8  7  7  7  7  7  7  7  7  7  8  9 10 12 12 )
     101pnoreflector=(    8  8  8  8  8  8  8  8  8  8  8  8  8  8  8  8  8  8  8  8  8  8  8  8 )
     102pnocamera=(       4  4  4  4  4  4  4  4  4  4  4  4  4  4  4  4  4  4  4  4  4  4  4  4 )
     103
     104pnocorsikawe=(   12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 )
     105pnoreflectorwe=(  8  8  8  8  8  8  8  8  8  8  8  8  8  8  8  8  8  8  8  8  8  8  8  8 )
     106pnocamerawe=(     4  4  4  4  4  4  4  4  4  4  4  4  4  4  4  4  4  4  4  4  4  4  4  4 )
     107
     108pnosweek=( ${pnocorsika[@]} ${pnoreflector[@]} ${pnocamera[@]} )
     109pnoswe=( ${pnocorsikawe[@]} ${pnoreflectorwe[@]} ${pnocamerawe[@]} )
     110
  • trunk/MagicSoft/Mars/datacenter/scripts/sourcefile

    r8525 r8527  
    105105Fganymed=21
    106106Ffillganymed=22
    107 
     107#mc run process status
     108Fcorsika=23
     109Freflector=24
     110Fcamera=25
    108111
    109112# setup for jobmanager:
Note: See TracChangeset for help on using the changeset viewer.