- Timestamp:
- 06/30/10 16:53:17 (14 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r9602 r9604 19 19 -*-*- END OF LINE -*-*- 20 20 21 2010/06/30 Daniela Dorner 22 23 * datacenter/db/mcinfo.php: 24 - added output to step column in case job is running 25 - fixed typo 26 27 * datacenter/scripts/runcorsika: 28 - small bugfix (new version of 'cut' gives error for '-c 0-4') 29 30 * datacenter/scripts/runceres: 31 - added (script to run telescope simulation of file basis) 32 33 * datacenter/scripts/setup.wue.magic.data, 34 datacenter/scripts/setup.wue.magic.mc, 35 datacenter/scripts/setup.wue.fact.mc: 36 - added condorpath 37 38 * datacenter/scripts/jobmanager, 39 datacenter/scripts/scriptlauncher: 40 - implemented condorpath 41 42 * datacenter/scripts/sourcefile: 43 - changed log and error file name for jobmanager 44 45 * resources/steps_fact.rc: 46 - fixed typo 47 48 49 21 50 2010/06/29 Daniela Dorner 22 51 … … 116 145 117 146 2010/06/24 Daniela Dorner 118 119 * datacenter/scripts/runceres:120 - added (script to run telescope simulation of file basis)121 147 122 148 * datacenter/scripts/sourcefile, resources/steps_fact.rc: -
trunk/MagicSoft/Mars/datacenter/scripts/jobmanager
r9585 r9604 60 60 ;; 61 61 condor) echo " on queuing system 'condor'" >> $jmscriptlog 2>&1 62 alias 'queuesubmit'=' /usr/local/bin/condor_submit -a path=`echo $scriptspath` -a prog=`echo ${scripts[$i]}` -a date=`echo $date` -a dir=`echo $runlogpath` -a automationsetup=$AUTOMATIONSETUP `echo $scriptspath`/run.condor'63 alias 'checkqueue'=' /usr/local/bin/condor_q -global -format "Owner%s " Owner -format "%s" CMD -format "Jobstatus%s\n" Jobstatus '62 alias 'queuesubmit'='$condorpath/condor_submit -a path=`echo $scriptspath` -a prog=`echo ${scripts[$i]}` -a date=`echo $date` -a dir=`echo $runlogpath` -a automationsetup=$AUTOMATIONSETUP `echo $scriptspath`/run.condor' 63 alias 'checkqueue'='$condorpath/condor_q -global -format "Owner%s " Owner -format "%s" CMD -format "Jobstatus%s\n" Jobstatus ' 64 64 break 65 65 ;; -
trunk/MagicSoft/Mars/datacenter/scripts/scriptlauncher
r9539 r9604 75 75 fi 76 76 echo " launching $1..." >> $scriptlog 2>&1 77 echo " /usr/local/bin/condor_submit -a path=$path -a prog=$prog -a args=\"$arguments\" -a date=$date -a dir=$runlogpath -a automationsetup=$AUTOMATIONSETUP $path/run.condor 2>> $errorlog | grep 'submitted to cluster' | cut -dr -f2" >> $scriptlog 2>&178 pid=` /usr/local/bin/condor_submit -a path=$path -a prog=$prog -a args="$arguments" -a date=$date -a dir=$runlogpath -a automationsetup=$AUTOMATIONSETUP $path/run.condor 2>> $errorlog | grep 'submitted to cluster' | cut -dr -f2`77 echo "$condorpath/condor_submit -a path=$path -a prog=$prog -a args=\"$arguments\" -a date=$date -a dir=$runlogpath -a automationsetup=$AUTOMATIONSETUP $path/run.condor 2>> $errorlog | grep 'submitted to cluster' | cut -dr -f2" >> $scriptlog 2>&1 78 pid=`$condorpath/condor_submit -a path=$path -a prog=$prog -a args="$arguments" -a date=$date -a dir=$runlogpath -a automationsetup=$AUTOMATIONSETUP $path/run.condor 2>> $errorlog | grep 'submitted to cluster' | cut -dr -f2` 79 79 if [ "$pid" = "" ] 80 80 then … … 88 88 then 89 89 echo " waiting for $1 to be done..." >> $scriptlog 2>&1 90 /usr/local/bin/condor_wait $runlogpath/condor-$date.log $pid >/dev/null 2>$errorlog90 $condorpath/condor_wait $runlogpath/condor-$date.log $pid >/dev/null 2>$errorlog 91 91 fi 92 92 shift -
trunk/MagicSoft/Mars/datacenter/scripts/setup.wue.fact.mc
r9593 r9604 39 39 # queuing system 40 40 queuesys=condor # wuerzburg data center 41 condorpath=/usr/local/bin 41 42 42 43 # logging and setup … … 82 83 sleeptimelimit=360 #360 83 84 errorsleeptimedefault=60 #60 84 max= 42#maximum number of processes for one script in case there are more than one and the others do not have anything to do85 max=30 #maximum number of processes for one script in case there are more than one and the others do not have anything to do 85 86 totalmax=40 #maximum number of processes (total) overwrites pnototal(we) in case it is smaller 86 87 … … 97 98 pnototalwe=( 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 ) 98 99 99 pnocorsika=( 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 )100 pnocorsika=( 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 ) 100 101 pnoceres=( 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 ) 101 102 pnocprun=( 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 ) 102 pnocallisto=( 32 32 32 32 32 20 20 18 18 15 15 15 15 15 15 15 15 15 15 18 18 20 20 32 )103 pnocallisto=( 32 32 32 32 32 30 30 18 18 15 15 15 15 15 15 15 15 15 15 18 18 30 30 32 ) 103 104 pnostar=( 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 ) 104 105 105 pnocorsikawe=( 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 )106 pnocorsikawe=( 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 ) 106 107 pnocereswe=( 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 ) 107 108 pnocprunwe=( 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 ) -
trunk/MagicSoft/Mars/datacenter/scripts/setup.wue.magic.data
r9489 r9604 39 39 # queuing system 40 40 queuesys=condor # wuerzburg data center 41 condorpath=/usr/local/bin 41 42 42 43 # logging and setup -
trunk/MagicSoft/Mars/datacenter/scripts/setup.wue.magic.mc
r9489 r9604 39 39 # queuing system 40 40 queuesys=condor # wuerzburg data center 41 condorpath=/usr/local/bin 41 42 42 43 # logging and setup -
trunk/MagicSoft/Mars/datacenter/scripts/sourcefile
r9593 r9604 162 162 # log files (can't be defined in script itself, as script can run longer 163 163 # than one day 164 jmerrorlog=$runlogpath/jobmanager- error`date +%F`.log165 jmscriptlog=$runlogpath/jobmanager `date +%F`.log164 jmerrorlog=$runlogpath/jobmanager-`whoami`-$HOSTNAME-$AUTOMATIONSETUP-`date +%F`-error.log 165 jmscriptlog=$runlogpath/jobmanager-`whoami`-$HOSTNAME-$AUTOMATIONSETUP-`date +%F`.log 166 166 167 167 # check if rc-files are available -
trunk/MagicSoft/Mars/resources/steps_fact.rc
r9593 r9604 10 10 11 11 SequenceFile.Primaries: fSequenceNumber 12 SequenceFile.Join: LEFT JOIN SequenceFile USING(fSequenceNumber)12 SequenceFile.Join: LEFT JOIN SequenceFileStatus USING(fSequenceNumber) 13 13 14 14 Callisto.Primaries: fSequenceNumber, fCeresSetupKEY
Note:
See TracChangeset
for help on using the changeset viewer.