Changeset 34839 for branches/eam_branches/ipp-20121130/ippTasks/skycal.pro
- Timestamp:
- Dec 18, 2012, 5:57:19 AM (14 years ago)
- Location:
- branches/eam_branches/ipp-20121130/ippTasks
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
skycal.pro (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20121130/ippTasks
- Property svn:mergeinfo set to
-
branches/eam_branches/ipp-20121130/ippTasks/skycal.pro
r32983 r34839 8 8 # test for required global variables 9 9 check.globals 10 11 # skcal.pro should have a more restricted polling limit (to avoid stress with getstar) 12 if ($?POLL_LIMIT_SKYCAL == 0) set POLL_LIMIT_SKYCAL = 25 13 14 macro set.skycal.poll 15 if ($0 != 2) 16 echo "USAGE:set.skycal.poll (value)" 17 break 18 end 19 20 $POLL_LIMIT_SKYCAL = $1 21 end 22 23 macro get.skycal.poll 24 echo "skycal poll limit: $POLL_LIMIT_SKYCAL" 25 end 10 26 11 27 ### Initialise the books containing the tasks to do … … 79 95 # save the DB name for the exit tasks 80 96 option $DB:$skycal_DB 81 $run = $run -dbname $DB:$skycal_DB -limit 4097 $run = $run -dbname $DB:$skycal_DB 82 98 $skycal_DB ++ 83 99 if ($skycal_DB >= $DB:n) set skycal_DB = 0 … … 85 101 add_poll_args run 86 102 add_poll_labels run 103 $run = $run -limit $POLL_LIMIT_SKYCAL 87 104 command $run 88 105 end … … 123 140 124 141 task.exec 142 # if we are unable to run use "long" exectime 143 periods -exec $RUNEXEC 125 144 book npages skycalRun -var N 126 145 if ($N == 0) break 127 146 if ($NETWORK == 0) break 128 147 if ($BURNTOOLING == 1) break 148 129 149 130 150 # look for new entries in skycalRun (pantaskState == INIT) … … 147 167 148 168 # set the host and workdir based on the skycell hash 149 set.host.for.skycell $SKYCELL_ID 169 # set.host.for.skycell $SKYCELL_ID 170 host anyhost 150 171 set.workdir.by.skycell $SKYCELL_ID $WORKDIR_TEMPLATE $default_host WORKDIR 151 172 … … 172 193 echo command $run 173 194 end 195 # since we have work to do shorten exec time 196 periods -exec .1 174 197 command $run 175 198 end … … 197 220 host local 198 221 199 periods -poll 60.0200 periods -exec 1 800.0222 periods -poll 10.0 223 periods -exec 1200.0 201 224 periods -timeout 120.0 202 225 npending 1 203 active false226 active true 204 227 205 228 stdout NULL
Note:
See TracChangeset
for help on using the changeset viewer.
