Changeset 33525 for trunk/ippTasks/addstar.pro
- Timestamp:
- Mar 14, 2012, 3:05:17 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/addstar.pro (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/addstar.pro
r33030 r33525 26 26 active true 27 27 end 28 task addstar.exp.load.staticsky_multi29 active true30 end31 28 task addstar.exp.run 32 29 active true … … 44 41 active false 45 42 end 46 task addstar.exp.load.staticsky_multi47 active false48 end49 43 task addstar.exp.run 50 44 active false … … 62 56 active false 63 57 end 64 task addstar.revert.staticsky_multi65 active false66 end67 58 end 68 59 macro addstar.revert.on … … 71 62 end 72 63 task addstar.revert.stack 73 active true74 end75 task addstar.revert.staticsky_multi76 64 active true 77 65 end … … 218 206 # if ($LABEL:n == 0) break 219 207 $run = addtool -pendingexp -stage staticsky 220 if ($DB:n == 0)221 option DEFAULT222 else223 # save the DB name for the exit tasks224 option $DB:$addstar_DB225 $run = $run -dbname $DB:$addstar_DB226 $addstar_DB ++227 if ($addstar_DB >= $DB:n) set addstar_DB = 0228 end229 add_poll_args run230 add_poll_labels run231 command $run232 end233 234 # success235 task.exit 0236 # convert 'stdout' to book format237 ipptool2book stdout addPendingExp -key add_id -uniq -setword dbname $options:0 -setword pantaskState INIT238 if ($VERBOSE > 2)239 book listbook addPendingExp240 end241 242 # delete existing entries in the appropriate pantaskStates243 process_cleanup addPendingExp244 end245 246 # default exit status247 task.exit default248 showcommand failure249 end250 251 task.exit crash252 showcommand crash253 end254 255 # operation times out?256 task.exit timeout257 showcommand timeout258 end259 end260 261 task addstar.exp.load.staticsky_multi262 host local263 264 periods -poll $LOADPOLL265 periods -exec $LOADEXEC266 periods -timeout 30267 npending 1268 269 stdout NULL270 stderr $LOGDIR/addstar.exp.log271 272 task.exec273 # if ($LABEL:n == 0) break274 $run = addtool -pendingexp -stage staticsky_multi275 208 if ($DB:n == 0) 276 209 option DEFAULT … … 373 306 sprintf outroot "%s.add.%s" $STAGEROOT $ADD_ID 374 307 end 375 if ("$STAGE" == "staticsky_multi")376 sprintf outroot "%s.add.%s" $STAGEROOT $ADD_ID377 end378 308 if ("$STAGE" == "stack") 379 309 sprintf outroot "%s.add.%s" $STAGEROOT $ADD_ID … … 388 318 $run = $run --reduction $REDUCTION 389 319 end 390 if ("$STAGE" == "staticsky _multi")320 if ("$STAGE" == "staticsky") 391 321 $run = $run --multi_num $STAGE_EXTRA1 392 322 end … … 529 459 end 530 460 end 461 531 462 task addstar.revert.staticsky 532 463 host local … … 544 475 if ($LABEL:n == 0) break 545 476 $run = addtool -revertprocessedexp -stage staticsky 546 if ($DB:n == 0)547 option DEFAULT548 else549 # save the DB name for the exit tasks550 option $DB:$addstar_revert_DB_SS551 $run = $run -dbname $DB:$addstar_revert_DB_SS552 $addstar_revert_DB_SS ++553 if ($addstar_revert_DB_SS >= $DB:n) set addstar_revert_DB_SS = 0554 end555 add_poll_labels run556 command $run557 end558 559 # success560 task.exit 0561 end562 563 # locked list564 task.exit default565 showcommand failure566 end567 568 task.exit crash569 showcommand crash570 end571 572 # operation times out?573 task.exit timeout574 showcommand timeout575 end576 end577 task addstar.revert.staticsky_multi578 host local579 580 periods -poll 5.0581 periods -exec 60.0582 periods -timeout 1200583 npending 1584 active false585 586 stdout NULL587 stderr $LOGDIR/revert.log588 589 task.exec590 if ($LABEL:n == 0) break591 $run = addtool -revertprocessedexp -stage staticsky_multi592 477 if ($DB:n == 0) 593 478 option DEFAULT
Note:
See TracChangeset
for help on using the changeset viewer.
