Changeset 9457 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
06/12/09 14:32:19 (15 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r9455 r9457  
    3838   * macros/starvisyear.C:
    3939     - 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]
    4053
    4154
  • trunk/MagicSoft/Mars/datacenter/scripts/jobmanager

    r9355 r9457  
    5353         pnosweek=( ${pnocorsika[@]} ${pnoreflector[@]} ${pnocamera[@]} )
    5454         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[@]} )
    5562         break
    5663         ;;
     
    146153      #get total number of allowed process for current time
    147154      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     
    149163      #choose array according to the day of the week
    150164      dayofweek=`date +%u`
  • trunk/MagicSoft/Mars/datacenter/scripts/setup

    r9170 r9457  
    7575sleeptimelimit=360 #360
    7676errorsleeptimedefault=60 #60
    77 max=42 #maximum number of processes
     77max=42 #maximum number of processes for one script in case there are more than one and the others do not have anything to do
     78totalmax=40 #maximum number of processes (total) overwrites pnototal(we) in case it is smaller
    7879
    7980#
Note: See TracChangeset for help on using the changeset viewer.