Changeset 8527 for trunk/MagicSoft


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

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r8525 r8527  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20 2007/05/18 Daniela Dorner
     21
     22   * datacenter/scripts/runcorsika:
     23     - added (script to run corsika automatically)
     24
     25   * datacenter/scripts/runreflector:
     26     - added (script to run reflector automatically)
     27
     28   * datacenter/scripts/runcamera:
     29     - added (script to run camera automatically)
     30
     31   * datacenter/scripts/jobmanager:
     32     - added possibility to start separate jobmanager for the MC
     33       processing by giving 'mc' as command line option
     34
     35   * datacenter/scripts/setup:
     36     - added setting for MC production steps
     37
     38   * datacenter/scripts/sourcefile:
     39     - added fail codes for MC production steps
     40
     41   * steps.rc:
     42     - added settings for MC production steps
     43     - removed timer table information (this was only neede by the
     44       macro getdolist.C in case of day-wise processing of data)
     45
     46
     47
    2048 2007/05/17 Thomas Bretz
    2149
  • 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:
  • trunk/MagicSoft/Mars/steps.rc

    r8482 r8527  
    11#primaries:
    22SequenceBuildStatus.Primary: fDate
    3 #SequenceBuildStatus.TimerTable: -
    43RunProcessStatus.Primary: fRunNumber
    5 RunProcessStatus.TimerTable: RunData
    64SequenceProcessStatus.Primary: fSequenceFirst
    7 SequenceProcessStatus.TimerTable: Sequences
    85DataSetProcessStatus.Primary: fDataSetNumber
    9 #DataSetProcessStatus.TimerTable: -
    10 
     6MCRunProcessStatus.Primary: fMCRunNumber
     7MCSequenceProcessingStatus.Primary: fMCSequenceFirst
    118
    129#--------------------------------------------------------------------
     
    211208
    212209
     210#--------------------------------------------------------------------
     211
     212
     213#MCRunProcessStatus.fMCRunNumber:
     214MCRunProcessStatus.fMCRunNumber.Default: yes
     215#MCRunProcessStatus.fMCRunNumber.Needs: -
     216MCRunProcessStatus.fMCRunNumber.Influences: MCRunProcessStatus.fCameraInputCreated
     217MCRunProcessStatus.fMCRunNumber.Reset: yes
     218
     219
     220#MCRunProcessStatus.fCameraInputCreated:
     221MCRunProcessStatus.fCameraInputCreated.Default: no
     222MCRunProcessStatus.fCameraInputCreated.Needs: MCRunProcessStatus.fMCRunNumber
     223MCRunProcessStatus.fCameraInputCreated.Influences: MCRunProcessStatus.fReflectorInputCreated
     224MCRunProcessStatus.fCameraInputCreated.Reset: yes
     225
     226
     227#MCRunProcessStatus.fReflectorInputCreated:
     228MCRunProcessStatus.fReflectorInputCreated.Default: no
     229MCRunProcessStatus.fReflectorInputCreated.Needs: MCRunProcessStatus.fCameraInputCreated
     230MCRunProcessStatus.fReflectorInputCreated.Influences: MCRunProcessStatus.fCorsikaInputCreated
     231MCRunProcessStatus.fReflectorInputCreated.Reset: yes
     232
     233
     234#MCRunProcessStatus.fCorsikaInputCreated:
     235MCRunProcessStatus.fCorsikaInputCreated.Default: no
     236MCRunProcessStatus.fCorsikaInputCreated.Needs: MCRunProcessStatus.fReflectorInputCreated
     237MCRunProcessStatus.fCorsikaInputCreated.Influences: MCRunProcessStatus.fCorsikaFileAvail
     238MCRunProcessStatus.fCorsikaInputCreated.Reset: yes
     239
     240
     241#MCRunProcessStatus.fCorsikaFileAvail:
     242MCRunProcessStatus.fCorsikaFileAvail.Default: no
     243MCRunProcessStatus.fCorsikaFileAvail.Needs: MCRunProcessStatus.fCorsikaInputCreated
     244MCRunProcessStatus.fCorsikaFileAvail.Influences: MCRunProcessStatus.fReflectorFileAvail MCRunProcessStatus.fCameraFileAvail
     245MCRunProcessStatus.fCorsikaFileAvail.Reset: yes
     246
     247
     248#MCRunProcessStatus.fReflectorFileAvail:
     249MCRunProcessStatus.fReflectorFileAvail.Default: no
     250MCRunProcessStatus.fReflectorFileAvail.Needs: MCRunProcessStatus.fCorsikaFileAvail
     251MCRunProcessStatus.fReflectorFileAvail.Influences: MCRunProcessStatus.fCameraFileAvail
     252MCRunProcessStatus.fReflectorFileAvail.Reset: yes
     253
     254
     255#MCRunProcessStatus.fCameraFileAvail:
     256MCRunProcessStatus.fCameraFileAvail.Default: no
     257MCRunProcessStatus.fCameraFileAvail.Needs: MCRunProcessStatus.fReflectorFileFileAvail
     258#MCRunProcessStatus.fCameraFileAvail.Influences:
     259MCRunProcessStatus.fCameraFileAvail.Reset: yes
     260
     261
Note: See TracChangeset for help on using the changeset viewer.