Changeset 9586 for trunk


Ignore:
Timestamp:
06/14/10 17:21:31 (15 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r9585 r9586  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21 2010/06/14 Daniela Dorner
     22
     23   * datacenter/scripts/sourcefile:
     24     - bugfix in query
     25
     26   * datacenter/scripts/runcorsika:
     27     - added output of command to processlog
     28
     29   * datacenter/scripts/setup.wue.fact.mc:
     30     - changed setup to be used by user montecarlo to reproduce some
     31       corsikas
     32
     33
    2034
    2135 2010/06/11 Daniela Dorner
  • trunk/MagicSoft/Mars/datacenter/scripts/runcorsika

    r9585 r9586  
    201201cd $corsikapath
    202202
     203printprocesslog "INFO executing 'printinputcard | ./cc6501p-linux >| $logfile 2>&1' in directory $corsikapath "
    203204printinputcard | ./cc6501p-linux >| $logfile 2>&1
    204205
  • trunk/MagicSoft/Mars/datacenter/scripts/setup.wue.fact.mc

    r9585 r9586  
    4141
    4242# logging and setup
    43 logpath=/home/montecarlo/fact_db_test
    44 lockpath=/home/montecarlo/fact_db_test/locks
    45 setuppath=/home/montecarlo/fact_db_test/setup
     43logpath=/magic/datacenter/fact/autologs
     44lockpath=/magic/datacenter/fact/locks
     45setuppath=/magic/datacenter/fact/setup
    4646
    4747## paths of data
     
    5555#mcrawpath=$mcpath/rawfiles
    5656#mcsequpath=$mcpath/sequences
    57 #corsikapath=/home/operator/Corsika/Mmcs6500/
    58 #detectordir=/home/msmeyer/MC/MagicSoft/Simulation/Detector
    59 #reflectorversion="reflector 0.7"
    60 #cameraversion="camera 0.8"
    61 #export FLUPRO=$corsikapath'/fluka2008_3'
     57corsikapath=/home/montecarlo/Simulation/Corsika/Mmcs6500
     58export FLUPRO=$corsikapath'/fluka2008_3'
    6259
    6360
     
    7067# rcfiles
    7168# dependencies of steps
    72 steps=$mars/resources/steps_fact2.rc
     69steps=$mars/resources/steps_fact.rc
    7370# file with db information
    7471sqlrc=$mars/sql.rc
     
    10097pnototalwe=(     42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 )
    10198
    102 pnoceres=(        7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7 )
    103 pnocprun=(        7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7 )
     99pnocorsika=(     21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 )
     100pnoceres=(       12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 )
     101pnocprun=(       12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 )
    104102pnocallisto=(    32 32 32 32 32 20 20 18 18 12 12 12 12 12 12 12 12 12 12 18 18 20 20 32 )
    105103pnostar=(        10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 )
    106104
    107 pnocereswe=(      7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7 )
    108 pnocprunwe=(      7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7 )
     105pnocorsikawe=(   21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 )
     106pnocereswe=(     12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 )
     107pnocprunwe=(     12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 )
    109108pnocallistowe=(  32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 )
    110109pnostarwe=(      10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 )
    111110
    112 ## set variables for jobmanager
    113 #scripts=( "runstar2" "runcallisto2" "cprun" "runceres" )
    114 #scriptscolname=( "Star" "Callisto" "CPRun" "Ceres" )
    115 #pnosweek=( ${pnostar[@]} ${pnocallisto[@]} ${pnocprun[@]} ${pnoceres[@]} )
    116 #pnoswe=( ${pnostarwe[@]} ${pnocallistowe[@]} ${pnocprunwe[@]} ${pnocereswe[@]} )
     111# set variables for jobmanager
     112scripts=( "runcorsika" )
     113scriptscolname=( "Corsika" )
     114pnosweek=( ${pnocorsika[@]} )
     115pnoswe=( ${pnocorsikawe[@]} )
    117116
    118 # set variables for jobmanager
    119 scripts=( "runstar2" "runcallisto2" "runceres" )
    120 scriptscolname=( "Star" "Callisto" "Ceres" )
    121 pnosweek=( ${pnostar[@]} ${pnocallisto[@]} ${pnoceres[@]} )
    122 pnoswe=( ${pnostarwe[@]} ${pnocallistowe[@]} ${pnocereswe[@]} )
    123 
  • trunk/MagicSoft/Mars/datacenter/scripts/sourcefile

    r9585 r9586  
    317317   done
    318318   # add condition for the status of the step itself
    319    query=$query" AND ISNULL("$step"Status.fStartTime) "
     319   if [ $counter -gt 0 ]
     320   then
     321      query=$query" AND "
     322   fi
     323   query=$query" ISNULL("$step"Status.fStartTime) "
    320324   query=$query" AND ISNULL("$step"Status.fStopTime) "
    321325   query=$query" AND ISNULL("$step"Status.fReturnCode) "
Note: See TracChangeset for help on using the changeset viewer.