Changeset 28794 for branches/eam_branches/ipp-20100621/ippTasks
- Timestamp:
- Jul 30, 2010, 9:31:50 AM (16 years ago)
- Location:
- branches/eam_branches/ipp-20100621/ippTasks
- Files:
-
- 15 edited
- 2 copied
-
. (modified) (1 prop)
-
Makefile.am (modified) (1 diff)
-
background.pro (copied) (copied from trunk/ippTasks/background.pro )
-
burntool.pro (copied) (copied from trunk/ippTasks/burntool.pro )
-
detrend.norm.pro (modified) (2 diffs)
-
detrend.process.pro (modified) (2 diffs)
-
detrend.resid.pro (modified) (2 diffs)
-
detrend.stack.pro (modified) (2 diffs)
-
dist.pro (modified) (3 diffs)
-
dqstats.pro (modified) (3 diffs)
-
ipphosts.mhpcc.config (modified) (1 diff)
-
nightly_stacks.pro (modified) (2 diffs)
-
pantasks.pro (modified) (4 diffs)
-
pstamp.pro (modified) (1 diff)
-
rcserver.pro (modified) (3 diffs)
-
simtest.pro (modified) (1 diff)
-
stack.pro (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20100621/ippTasks
- Property svn:mergeinfo changed
/trunk/ippTasks merged: 28486,28500,28520,28538-28539,28557,28577,28598,28632,28646,28649,28749-28750,28767,28778-28779,28792
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20100621/ippTasks/Makefile.am
r28344 r28794 34 34 minidvodb.pro \ 35 35 nightly_stacks.pro \ 36 burntool.pro \ 36 37 lossy_compress.pro \ 38 background.pro \ 37 39 diffphot.pro 38 40 -
branches/eam_branches/ipp-20100621/ippTasks/detrend.norm.pro
r23480 r28794 64 64 end 65 65 66 macro detnorm.revert.off 67 task detrend.norm.revert 68 active false 69 end 70 task detrend.normexp.revert 71 active false 72 end 73 task detrend.normstat.revert 74 active false 75 end 76 end 77 78 macro detnorm.revert.on 79 task detrend.norm.revert 80 active true 81 end 82 task detrend.normexp.revert 83 active true 84 end 85 task detrend.normstat.revert 86 active true 87 end 88 end 89 90 66 91 # these variables will cycle through the known database names 67 92 $detPendingNormStatImfile_DB = 0 68 93 $detPendingNormImfile_DB = 0 69 94 $detPendingNormExp_DB = 0 95 $detPendingNormStatImfile_DB_revert = 0 96 $detPendingNormImfile_DB_revert = 0 97 $detPendingNormExp_DB_revert = 0 70 98 71 99 # select images ready for copy … … 440 468 end 441 469 end 470 471 task detrend.norm.revert 472 host local 473 474 periods -poll 60.0 475 periods -exec 1800.0 476 periods -timeout 120.0 477 npending 1 478 479 stdout NULL 480 stderr $LOGDIR/revert.log 481 482 task.exec 483 484 $run = dettool -revertnormalizedimfile -all-run 485 if ($DB:n == 0) 486 option DEFAULT 487 else 488 # save the DB name for the exit tasks 489 option $DB:$detPendingNormImfile_DB_revert 490 $run = $run -dbname $DB:$detPendingNormImfile_DB_revert 491 $detPendingNormImfile_DB_revert ++ 492 if ($detPendingNormImfile_DB_revert >= $DB:n) set detPendingNormImfile_DB_revert = 0 493 end 494 echo $run 495 command $run 496 end 497 498 # success 499 task.exit 0 500 end 501 502 # locked list 503 task.exit default 504 showcommand failure 505 end 506 507 task.exit crash 508 showcommand crash 509 end 510 511 # operation times out? 512 task.exit timeout 513 showcommand timeout 514 end 515 end 516 517 task detrend.normexp.revert 518 host local 519 520 periods -poll 60.0 521 periods -exec 1800.0 522 periods -timeout 120.0 523 npending 1 524 525 stdout NULL 526 stderr $LOGDIR/revert.log 527 528 task.exec 529 530 $run = dettool -revertnormalizedexp -all-run 531 if ($DB:n == 0) 532 option DEFAULT 533 else 534 # save the DB name for the exit tasks 535 option $DB:$detPendingNormExp_DB_revert 536 $run = $run -dbname $DB:$detPendingNormExp_DB_revert 537 $detPendingNormExp_DB_revert ++ 538 if ($detPendingNormExp_DB_revert >= $DB:n) set detPendingNormExp_DB_revert = 0 539 end 540 echo $run 541 command $run 542 end 543 544 # success 545 task.exit 0 546 end 547 548 # locked list 549 task.exit default 550 showcommand failure 551 end 552 553 task.exit crash 554 showcommand crash 555 end 556 557 # operation times out? 558 task.exit timeout 559 showcommand timeout 560 end 561 end 562 563 task detrend.normstat.revert 564 host local 565 566 periods -poll 60.0 567 periods -exec 1800.0 568 periods -timeout 120.0 569 npending 1 570 571 stdout NULL 572 stderr $LOGDIR/revert.log 573 574 task.exec 575 576 $run = dettool -revertnormalizedstat -all-run 577 if ($DB:n == 0) 578 option DEFAULT 579 else 580 # save the DB name for the exit tasks 581 option $DB:$detPendingNormStatImfile_DB_revert 582 $run = $run -dbname $DB:$detPendingNormStatImfile_DB_revert 583 $detPendingNormStatImfile_DB_revert ++ 584 if ($detPendingNormStatImfile_DB_revert >= $DB:n) set detPendingNormStatImfile_DB_revert = 0 585 end 586 echo $run 587 command $run 588 end 589 590 # success 591 task.exit 0 592 end 593 594 # locked list 595 task.exit default 596 showcommand failure 597 end 598 599 task.exit crash 600 showcommand crash 601 end 602 603 # operation times out? 604 task.exit timeout 605 showcommand timeout 606 end 607 end -
branches/eam_branches/ipp-20100621/ippTasks/detrend.process.pro
r23480 r28794 51 51 end 52 52 53 macro detproc.revert.off 54 task detrend.process.revert 55 active false 56 end 57 task detrend.processexp.revert 58 active false 59 end 60 end 61 62 macro detproc.revert.on 63 task detrend.process.revert 64 active true 65 end 66 task detrend.processexp.revert 67 active true 68 end 69 end 53 70 54 71 # these variables will cycle through the known database names 55 72 $detPendingProcessedImfile_DB = 0 56 73 $detPendingProcessedExp_DB = 0 74 $detPendingProcessedImfile_revert_DB = 0 75 $detPendingProcessedExp_revert_DB = 0 57 76 58 77 # select images ready for copy … … 313 332 end 314 333 end 334 335 task detrend.process.revert 336 host local 337 338 periods -poll 60.0 339 periods -exec 1800.0 340 periods -timeout 120.0 341 npending 1 342 343 stdout NULL 344 stderr $LOGDIR/revert.log 345 346 task.exec 347 348 $run = dettool -revertprocessedimfile -all-run 349 if ($DB:n == 0) 350 option DEFAULT 351 else 352 # save the DB name for the exit tasks 353 option $DB:$detPendingProcessedImfile_revert_DB 354 $run = $run -dbname $DB:$detPendingProcessedImfile_revert_DB 355 $detPendingProcessedImfile_revert_DB ++ 356 if ($detPendingProcessedImfile_revert_DB >= $DB:n) set detPendingProcessedImfile_revert_DB = 0 357 end 358 echo $run 359 command $run 360 end 361 362 # success 363 task.exit 0 364 end 365 366 # locked list 367 task.exit default 368 showcommand failure 369 end 370 371 task.exit crash 372 showcommand crash 373 end 374 375 # operation times out? 376 task.exit timeout 377 showcommand timeout 378 end 379 end 380 381 task detrend.processexp.revert 382 host local 383 384 periods -poll 60.0 385 periods -exec 1800.0 386 periods -timeout 120.0 387 npending 1 388 389 stdout NULL 390 stderr $LOGDIR/revert.log 391 392 task.exec 393 394 $run = dettool -revertprocessedexp -all-run 395 if ($DB:n == 0) 396 option DEFAULT 397 else 398 # save the DB name for the exit tasks 399 option $DB:$detPendingProcessedExp_revert_DB 400 $run = $run -dbname $DB:$detPendingProcessedExp_revert_DB 401 $detPendingProcessedExp_revert_DB ++ 402 if ($detPendingProcessedExp_revert_DB >= $DB:n) set detPendingProcessedExp_revert_DB = 0 403 end 404 echo $run 405 command $run 406 end 407 408 # success 409 task.exit 0 410 end 411 412 # locked list 413 task.exit default 414 showcommand failure 415 end 416 417 task.exit crash 418 showcommand crash 419 end 420 421 # operation times out? 422 task.exit timeout 423 showcommand timeout 424 end 425 end -
branches/eam_branches/ipp-20100621/ippTasks/detrend.resid.pro
r23480 r28794 49 49 end 50 50 51 macro detresid.revert.on 52 task detrend.resid.revert 53 active true 54 end 55 task detrend.residexp.revert 56 active true 57 end 58 end 59 60 macro detresid.revert.off 61 task detrend.resid.revert 62 active false 63 end 64 task detrend.residexp.revert 65 active false 66 end 67 end 68 51 69 # these variables will cycle through the known database names 52 70 $detPendingResidImfile_DB = 0 53 71 $detPendingResidExp_DB = 0 72 $detPendingResidImfile_revert_DB = 0 73 $detPendingResidExp_revert_DB = 0 54 74 55 75 # select images ready for copy … … 316 336 end 317 337 end 338 339 task detrend.resid.revert 340 host local 341 342 periods -poll 60.0 343 periods -exec 1800.0 344 periods -timeout 120.0 345 npending 1 346 347 stdout NULL 348 stderr $LOGDIR/revert.log 349 350 task.exec 351 352 $run = dettool -revertresidimfile -all-run 353 if ($DB:n == 0) 354 option DEFAULT 355 else 356 # save the DB name for the exit tasks 357 option $DB:$detPendingResidImfile_revert_DB 358 $run = $run -dbname $DB:$detPendingResidImfile_revert_DB 359 $detPendingResidImfile_revert_DB ++ 360 if ($detPendingResidImfile_revert_DB >= $DB:n) set detPendingResidImfile_revert_DB = 0 361 end 362 echo $run 363 command $run 364 end 365 366 # success 367 task.exit 0 368 end 369 370 # locked list 371 task.exit default 372 showcommand failure 373 end 374 375 task.exit crash 376 showcommand crash 377 end 378 379 # operation times out? 380 task.exit timeout 381 showcommand timeout 382 end 383 end 384 385 task detrend.residexp.revert 386 host local 387 388 periods -poll 60.0 389 periods -exec 1800.0 390 periods -timeout 120.0 391 npending 1 392 393 stdout NULL 394 stderr $LOGDIR/revert.log 395 396 task.exec 397 398 399 $run = dettool -revertresidexp -all-run 400 if ($DB:n == 0) 401 option DEFAULT 402 else 403 # save the DB name for the exit tasks 404 option $DB:$detPendingResidExp_revert_DB 405 $run = $run -dbname $DB:$detPendingResidExp_revert_DB 406 $detPendingResidExp_revert_DB ++ 407 if ($detPendingResidExp_revert_DB >= $DB:n) set detPendingResidExp_revert_DB = 0 408 end 409 echo $run 410 command $run 411 end 412 413 # success 414 task.exit 0 415 end 416 417 # locked list 418 task.exit default 419 showcommand failure 420 end 421 422 task.exit crash 423 showcommand crash 424 end 425 426 # operation times out? 427 task.exit timeout 428 showcommand timeout 429 end 430 end -
branches/eam_branches/ipp-20100621/ippTasks/detrend.stack.pro
r23480 r28794 35 35 end 36 36 37 macro detstack.revert.off 38 task detrend.stack.revert 39 active false 40 end 41 end 42 43 macro detstack.revert.on 44 task detrend.stack.revert 45 active true 46 end 47 end 48 37 49 # this variable will cycle through the known database names 38 50 $detPendingStackedImfile_DB = 0 51 $detPendingStackedImfile_revert_DB = 0 39 52 40 53 # select images ready for detrend_stack.pl … … 165 178 end 166 179 end 180 181 182 task detrend.stack.revert 183 host local 184 185 periods -poll 60.0 186 periods -exec 1800.0 187 periods -timeout 120.0 188 npending 1 189 190 stdout NULL 191 stderr $LOGDIR/revert.log 192 193 task.exec 194 195 $run = dettool -revertstacked -all-run 196 if ($DB:n == 0) 197 option DEFAULT 198 else 199 # save the DB name for the exit tasks 200 option $DB:$detPendingStackedImfile_revert_DB 201 $run = $run -dbname $DB:$detPendingStackedImfile_revert_DB 202 $detPendingStackedImfile_revert_DB ++ 203 if ($detPendingStackedImfile_revert_DB >= $DB:n) set detPendingStackedImfile_revert_DB = 0 204 end 205 echo $run 206 command $run 207 end 208 209 # success 210 task.exit 0 211 end 212 213 # locked list 214 task.exit default 215 showcommand failure 216 end 217 218 task.exit crash 219 showcommand crash 220 end 221 222 # operation times out? 223 task.exit timeout 224 showcommand timeout 225 end 226 end -
branches/eam_branches/ipp-20100621/ippTasks/dist.pro
r27615 r28794 28 28 list DIST_STAGE -add "stack" 29 29 list DIST_STAGE -add "SSdiff" 30 list DIST_STAGE -add "chip_bg" 31 list DIST_STAGE -add "warp_bg" 30 32 31 33 $currentStage = 0 … … 145 147 # to compute an index into the host table 146 148 strlen $stage_id length 147 $start = $length - 2 148 substr $stage_id $start 2 index 149 if ($length >= 2) 150 $start = $length - 2 151 substr $stage_id $start 2 index 152 else 153 # stage_id < 10 caused a very annoying couple of hours for bills to debug 154 substr $stage_id 0 1 index 155 end 149 156 $component_id = $index % $count 150 157 book getword ipphosts distribution $component_id -var myhost … … 409 416 410 417 # using $DIST_ID as the "component" works fine here since we only look 411 # at the last two digits 412 set.dist.workdir.by.component $STAGE_ID "exposure" $OUTDIR_TEMPLATE OUTDIR 418 # at the last two digits. But make sure that there 2 digits 419 $fake_component = $STAGE_ID + 10 420 set.dist.workdir.by.component $fake_component "exposure" $OUTDIR_TEMPLATE OUTDIR 413 421 if ("$OUTDIR" == "NULL") 414 422 echo ERROR failed to set workdir for $DIST_ID -
branches/eam_branches/ipp-20100621/ippTasks/dqstats.pro
r27304 r28794 37 37 task dqstats.revert 38 38 active false 39 end 40 end 41 42 macro dqstats.revert.on 43 task dqstats.revert 44 active true 45 end 46 end 47 48 macro dqstats.revert.off 49 task dqstats.revert 50 active true 39 51 end 40 52 end … … 109 121 110 122 ## we want only a single outstanding dqstats job. 111 host local112 123 npending 1 113 124 … … 187 198 periods -timeout 120.0 188 199 npending 1 200 active false 189 201 190 202 stdout NULL -
branches/eam_branches/ipp-20100621/ippTasks/ipphosts.mhpcc.config
r28439 r28794 253 253 END 254 254 255 # this list is no longer used 256 # XXX : delete if this does not cause trouble 257 ## ipphosts METADATA 258 ## camera STR distribution 259 ## count S32 26 260 ## 0 STR ipp021 261 ## 1 STR ipp023 262 ## 2 STR ipp024 263 ## 3 STR ipp026 264 ## 4 STR ipp028 265 ## 5 STR ipp029 266 ## 6 STR ipp030 267 ## 7 STR ipp031 268 ## 8 STR ipp032 269 ## 9 STR ipp033 270 ## 10 STR ipp034 271 ## 11 STR ipp035 272 ## 12 STR ipp036 273 ## 13 STR ipp038 274 ## 14 STR ipp039 275 ## 15 STR ipp040 276 ## 16 STR ipp041 277 ## 17 STR ipp043 278 ## 18 STR ipp044 279 ## 19 STR ipp045 280 ## 20 STR ipp046 281 ## 21 STR ipp047 282 ## 22 STR ipp048 283 ## 23 STR ipp050 284 ## 24 STR ipp051 285 ## 25 STR ipp052 286 ## END 255 ipphosts METADATA 256 camera STR distribution 257 count S32 26 258 0 STR ipp021 259 1 STR ipp023 260 2 STR ipp024 261 3 STR ipp026 262 4 STR ipp028 263 5 STR ipp029 264 6 STR ipp030 265 7 STR ipp031 266 8 STR ipp032 267 9 STR ipp033 268 10 STR ipp034 269 11 STR ipp035 270 12 STR ipp036 271 13 STR ipp038 272 14 STR ipp039 273 15 STR ipp040 274 16 STR ipp041 275 17 STR ipp043 276 18 STR ipp044 277 19 STR ipp045 278 20 STR ipp046 279 21 STR ipp047 280 22 STR ipp048 281 23 STR ipp050 282 24 STR ipp051 283 25 STR ipp052 284 END 287 285 288 286 ipphosts METADATA -
branches/eam_branches/ipp-20100621/ippTasks/nightly_stacks.pro
r28439 r28794 16 16 ns.initday.off 17 17 ns.detrends.off 18 ns.dqstats.off 18 19 ns.registration.off 19 20 ns.burntool.off … … 23 24 24 25 macro ns.on 25 ns.initday.on 26 ns.detrends.off 27 ns.registration.on 28 ns.burntool.on 29 ns.chips.on 30 ns.stacks.on 26 nightly.stacks.on 31 27 end 32 28 33 29 macro ns.off 34 ns.initday.off 35 ns.detrends.off 36 ns.registration.off 37 ns.burntool.off 38 ns.chips.off 39 ns.stacks.off 30 nightly.stacks.off 40 31 end 41 32 -
branches/eam_branches/ipp-20100621/ippTasks/pantasks.pro
r27677 r28794 242 242 end 243 243 244 macro detrend.revert.off 245 detproc.revert.off 246 detstack.revert.off 247 detnorm.revert.off 248 detresid.revert.off 249 end 250 251 macro detrend.revert.on 252 detproc.revert.on 253 detstack.revert.on 254 detnorm.revert.on 255 detresid.revert.on 256 end 257 244 258 macro detrend.reset 245 259 detproc.reset … … 251 265 252 266 macro all.on 253 register.on254 267 detrend.on 255 268 flatcorr.on … … 264 277 265 278 macro all.off 266 register.off267 279 detrend.off 268 280 flatcorr.off … … 721 733 end 722 734 735 macro tasks.revert.off 736 chip.revert.off 737 camera.revert.off 738 fake.revert.off 739 warp.revert.off 740 diff.revert.off 741 stack.revert.off 742 end 743 macro tasks.revert.on 744 chip.revert.on 745 camera.revert.on 746 fake.revert.on 747 warp.revert.on 748 diff.revert.on 749 stack.revert.on 750 end 751 -
branches/eam_branches/ipp-20100621/ippTasks/pstamp.pro
r27874 r28794 188 188 add_poll_args run 189 189 add_poll_labels run 190 # limit number of requests in the queue to avoid blocking everything 191 # when jobs take an infinite amount of time to parse 192 $run = $run -limit 10 190 193 command $run 191 194 end -
branches/eam_branches/ipp-20100621/ippTasks/rcserver.pro
r27035 r28794 12 12 ### Database lists 13 13 $rcPendingFS_DB = 0 14 $rcRevertFS_DB = 0 14 15 15 16 ### Check status of tasks … … 38 39 task rcserver.makefileset.run 39 40 active false 41 end 42 task rcserver.revert 43 active false 44 end 45 end 46 47 macro rcserver.revert.on 48 task rcserver.revert 49 active true 40 50 end 41 51 end … … 156 166 end 157 167 end 168 169 170 task rcserver.revert 171 host local 172 173 periods -poll 60.0 174 periods -exec 1800.0 175 periods -timeout 120.0 176 npending 1 177 178 stdout NULL 179 stderr $LOGSUBDIR/revert.log 180 181 task.exec 182 if ($LABEL:n == 0) break 183 $run = disttool -revertfileset 184 if ($DB:n == 0) 185 option DEFAULT 186 else 187 # save the DB name for the exit tasks 188 option $DB:$rcRevertFS_DB 189 $run = $run -dbname $DB:$rcRevertFS_DB 190 $rcRevertFS_DB ++ 191 if ($rcRevertFS_DB >= $DB:n) set rcRevertFS_DB = 0 192 end 193 add_poll_labels run 194 command $run 195 end 196 197 # success 198 task.exit 0 199 end 200 201 # locked list 202 task.exit default 203 showcommand failure 204 end 205 206 task.exit crash 207 showcommand crash 208 end 209 210 # operation times out? 211 task.exit timeout 212 showcommand timeout 213 end 214 end -
branches/eam_branches/ipp-20100621/ippTasks/simtest.pro
r26978 r28794 159 159 $SIMTEST_AUTO = simtest.flatcorr.auto 160 160 end 161 162 macro tasks.revert.off163 chip.revert.off164 camera.revert.off165 fake.revert.off166 warp.revert.off167 diff.revert.off168 stack.revert.off169 end170 macro tasks.revert.on171 chip.revert.on172 camera.revert.on173 fake.revert.on174 warp.revert.on175 diff.revert.on176 stack.revert.on177 end -
branches/eam_branches/ipp-20100621/ippTasks/stack.pro
r28375 r28794 126 126 # save the DB name for the exit tasks 127 127 option $DB:$stackSkycell_DB 128 $run = $run -dbname $DB:$stackSkycell_DB -limit 40128 $run = $run -dbname $DB:$stackSkycell_DB 129 129 $stackSkycell_DB ++ 130 130 if ($stackSkycell_DB >= $DB:n) set stackSkycell_DB = 0 … … 132 132 add_poll_args run 133 133 add_poll_labels run 134 # reduce the limit (the last one takes precedence) 135 $run = $run -limit 40 134 136 command $run 135 137 end
Note:
See TracChangeset
for help on using the changeset viewer.
