Changeset 9604 for trunk/MagicSoft/Mars/datacenter
- Timestamp:
- 06/30/10 16:53:17 (14 years ago)
- Location:
- trunk/MagicSoft/Mars/datacenter/scripts
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note:
See TracChangeset
for help on using the changeset viewer.