Changeset 9457 for trunk/MagicSoft
- Timestamp:
- 06/12/09 14:32:19 (15 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r9455 r9457 38 38 * macros/starvisyear.C: 39 39 - added includes for compiling 40 41 * datacenter/scripts/sourcefile: 42 - replaced case- by if-statement in checklock() 43 - added more information to the output to the lockfile 44 - added processlog in makedir() 45 - improved processlog output and layout of queries 46 - added option to query only jobs for one node 47 48 * datacenter/scripts/jobmanager: 49 - added option for production of cta mc 50 51 * datacenter/scripts/jobmanager, datacenter/scripts/setup: 52 - added $totalmax which can overwrite $pnototal[$hour] 40 53 41 54 -
trunk/MagicSoft/Mars/datacenter/scripts/jobmanager
r9355 r9457 53 53 pnosweek=( ${pnocorsika[@]} ${pnoreflector[@]} ${pnocamera[@]} ) 54 54 pnoswe=( ${pnocorsikawe[@]} ${pnoreflectorwe[@]} ${pnocamerawe[@]} ) 55 break 56 ;; 57 ctamc) echo "running jobmanager for cta mc" >> $jmscriptlog 2>&1 58 scripts=( "runsimtel" ) 59 scriptscolname=( "fCorsikaSimtelArray" ) 60 pnosweek=( ${pnosimtel[@]} ) 61 pnoswe=( ${pnosimtelwe[@]} ) 55 62 break 56 63 ;; … … 146 153 #get total number of allowed process for current time 147 154 hour=`date +%k` 148 totalpno=${pnototal[$hour]} 155 #totalpno=${pnototal[$hour]} 156 if [ ${pnototal[$hour]} -lt $totalmax ] 157 then 158 totalpno=${pnototal[$hour]} 159 else 160 totalpno=$totalmax 161 fi 162 149 163 #choose array according to the day of the week 150 164 dayofweek=`date +%u` -
trunk/MagicSoft/Mars/datacenter/scripts/setup
r9170 r9457 75 75 sleeptimelimit=360 #360 76 76 errorsleeptimedefault=60 #60 77 max=42 #maximum number of processes 77 max=42 #maximum number of processes for one script in case there are more than one and the others do not have anything to do 78 totalmax=40 #maximum number of processes (total) overwrites pnototal(we) in case it is smaller 78 79 79 80 #
Note:
See TracChangeset
for help on using the changeset viewer.