Changeset 25402
- Timestamp:
- Sep 15, 2009, 3:59:02 PM (17 years ago)
- Location:
- branches/eam_branches/20090715/ippTasks
- Files:
-
- 10 edited
- 1 copied
-
Makefile.am (modified) (2 diffs)
-
addstar.pro (copied) (copied from trunk/ippTasks/addstar.pro )
-
detrend.cleanup.pro (modified) (16 diffs)
-
dist.pro (modified) (3 diffs)
-
ipphosts.mhpcc.config (modified) (2 diffs)
-
magic.pro (modified) (1 diff)
-
pantasks.pro (modified) (3 diffs)
-
pstamp.pro (modified) (7 diffs)
-
publish.pro (modified) (2 diffs)
-
site.mhpcc.pro (modified) (2 diffs)
-
summit.copy.pro (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090715/ippTasks/Makefile.am
r25022 r25402 13 13 chip.pro \ 14 14 camera.pro \ 15 addstar.pro \ 15 16 fake.pro \ 16 17 warp.pro \ … … 25 26 pstamp.pro \ 26 27 receive.pro \ 27 publish.pro 28 publish.pro \ 29 science.cleanup.pro 28 30 29 31 other_files = \ -
branches/eam_branches/20090715/ippTasks/detrend.cleanup.pro
r23480 r25402 234 234 book getword detCleanupProcessedImfile $pageName class_id -var CLASS_ID 235 235 book getword detCleanupProcessedImfile $pageName camera -var CAMERA 236 book getword detCleanupProcessedImfile $pageName state -var CLEANUP_MODE236 book getword detCleanupProcessedImfile $pageName data_state -var CLEANUP_MODE 237 237 book getword detCleanupProcessedImfile $pageName dbname -var DBNAME 238 238 … … 244 244 245 245 # XXX is everything listed here needed? 246 $run = ipp_cleanup.pl --stage detrend.process.imfile --stage_id $DET_ID -- exp_id $EXP_ID --class_id $CLASS_ID --camera $CAMERA --mode $CLEANUP_MODE246 $run = ipp_cleanup.pl --stage detrend.process.imfile --stage_id $DET_ID --camera $CAMERA --mode $CLEANUP_MODE 247 247 add_standard_args run 248 248 … … 352 352 book getword detCleanupProcessedExp $pageName exp_id -var EXP_ID 353 353 book getword detCleanupProcessedExp $pageName camera -var CAMERA 354 book getword detCleanupProcessedExp $pageName state -var CLEANUP_MODE354 book getword detCleanupProcessedExp $pageName data_state -var CLEANUP_MODE 355 355 book getword detCleanupProcessedExp $pageName dbname -var DBNAME 356 356 … … 362 362 363 363 # XXX is everything listed here needed? 364 $run = ipp_cleanup.pl --stage detrend.process.exp --stage_id $DET_ID -- exp_id $EXP_ID --camera $CAMERA --mode $CLEANUP_MODE364 $run = ipp_cleanup.pl --stage detrend.process.exp --stage_id $DET_ID --camera $CAMERA --mode $CLEANUP_MODE 365 365 add_standard_args run 366 366 … … 470 470 book getword detCleanupStackedImfile $pageName class_id -var CLASS_ID 471 471 book getword detCleanupStackedImfile $pageName camera -var CAMERA 472 book getword detCleanupStackedImfile $pageName state -var CLEANUP_MODE472 book getword detCleanupStackedImfile $pageName data_state -var CLEANUP_MODE 473 473 book getword detCleanupStackedImfile $pageName dbname -var DBNAME 474 474 … … 480 480 481 481 # XXX is everything listed here needed? 482 $run = ipp_cleanup.pl --stage detrend.stack.imfile --stage_id $DET_ID -- iteration $ITERATION --class_id $CLASS_ID --camera $CAMERA --mode $CLEANUP_MODE482 $run = ipp_cleanup.pl --stage detrend.stack.imfile --stage_id $DET_ID --camera $CAMERA --mode $CLEANUP_MODE 483 483 add_standard_args run 484 484 … … 588 588 book getword detCleanupNormStatImfile $pageName iteration -var ITERATION 589 589 book getword detCleanupNormStatImfile $pageName camera -var CAMERA 590 book getword detCleanupNormStatImfile $pageName state -var CLEANUP_MODE590 book getword detCleanupNormStatImfile $pageName data_state -var CLEANUP_MODE 591 591 book getword detCleanupNormStatImfile $pageName dbname -var DBNAME 592 592 … … 598 598 599 599 # XXX is everything listed here needed? 600 $run = ipp_cleanup.pl --stage detrend.normstat.imfile --stage_id $DET_ID -- iteration $ITERATION --camera $CAMERA --mode $CLEANUP_MODE600 $run = ipp_cleanup.pl --stage detrend.normstat.imfile --stage_id $DET_ID --camera $CAMERA --mode $CLEANUP_MODE 601 601 add_standard_args run 602 602 … … 704 704 book getword detCleanupNormImfile $pageName class_id -var CLASS_ID 705 705 book getword detCleanupNormImfile $pageName camera -var CAMERA 706 book getword detCleanupNormImfile $pageName state -var CLEANUP_MODE706 book getword detCleanupNormImfile $pageName data_state -var CLEANUP_MODE 707 707 book getword detCleanupNormImfile $pageName dbname -var DBNAME 708 708 … … 714 714 715 715 # XXX is everything listed here needed? 716 $run = ipp_cleanup.pl --stage detrend.norm.imfile --stage_id $DET_ID -- iteration $ITERATION --class_id $CLASS_ID --camera $CAMERA --mode $CLEANUP_MODE716 $run = ipp_cleanup.pl --stage detrend.norm.imfile --stage_id $DET_ID --camera $CAMERA --mode $CLEANUP_MODE 717 717 add_standard_args run 718 718 … … 819 819 book getword detCleanupNormExp $pageName iteration -var ITERATION 820 820 book getword detCleanupNormExp $pageName camera -var CAMERA 821 book getword detCleanupNormExp $pageName state -var CLEANUP_MODE821 book getword detCleanupNormExp $pageName data_state -var CLEANUP_MODE 822 822 book getword detCleanupNormExp $pageName dbname -var DBNAME 823 823 … … 829 829 830 830 # XXX is everything listed here needed? 831 $run = ipp_cleanup.pl --stage detrend.norm.exp --stage_id $DET_ID -- iteration $ITERATION --camera $CAMERA --mode $CLEANUP_MODE831 $run = ipp_cleanup.pl --stage detrend.norm.exp --stage_id $DET_ID --camera $CAMERA --mode $CLEANUP_MODE 832 832 add_standard_args run 833 833 … … 937 937 book getword detCleanupResidImfile $pageName iteration -var ITERATION 938 938 book getword detCleanupResidImfile $pageName camera -var CAMERA 939 book getword detCleanupResidImfile $pageName state -var CLEANUP_MODE939 book getword detCleanupResidImfile $pageName data_state -var CLEANUP_MODE 940 940 book getword detCleanupResidImfile $pageName dbname -var DBNAME 941 941 … … 947 947 948 948 # XXX is everything listed here needed? 949 $run = ipp_cleanup.pl --stage detrend.resid.imfile --stage_id $DET_ID --exp_id $EXP_ID --class_id $CLASS_ID --iteration $ITERATION--camera $CAMERA --mode $CLEANUP_MODE949 $run = ipp_cleanup.pl --stage detrend.resid.imfile --stage_id $DET_ID --camera $CAMERA --mode $CLEANUP_MODE 950 950 add_standard_args run 951 951 … … 1056 1056 book getword detCleanupResidExp $pageName iteration -var ITERATION 1057 1057 book getword detCleanupResidExp $pageName camera -var CAMERA 1058 book getword detCleanupResidExp $pageName state -var CLEANUP_MODE1058 book getword detCleanupResidExp $pageName data_state -var CLEANUP_MODE 1059 1059 book getword detCleanupResidExp $pageName dbname -var DBNAME 1060 1060 … … 1066 1066 1067 1067 # XXX is everything listed here needed? 1068 $run = ipp_cleanup.pl --stage detrend.resid.exp --stage_id $DET_ID -- exp_id $EXP_ID --class_id $CLASS_ID --camera $CAMERA --mode $CLEANUP_MODE1068 $run = ipp_cleanup.pl --stage detrend.resid.exp --stage_id $DET_ID --camera $CAMERA --mode $CLEANUP_MODE 1069 1069 add_standard_args run 1070 1070 -
branches/eam_branches/20090715/ippTasks/dist.pro
r25022 r25402 4 4 check.globals 5 5 6 #$LOGSUBDIR = $LOGDIR/dist6 $LOGSUBDIR = $LOGDIR/dist 7 7 mkdir $LOGSUBDIR 8 8 … … 122 122 123 123 task.exec 124 if ($NETWORK == 0) break 124 125 book npages distToProcess -var N 125 126 if ($N == 0) … … 128 129 end 129 130 periods -exec 0.05 130 131 if ($NETWORK == 0) break132 131 133 132 # look for new components to process (pantaskState == INIT) -
branches/eam_branches/20090715/ippTasks/ipphosts.mhpcc.config
r24602 r25402 114 114 XY73 STR ipp015 115 115 XY74 STR ipp015 116 XY75 STR ipp0 53117 XY76 STR ipp0 53116 XY75 STR ipp025 117 XY76 STR ipp025 118 118 END 119 119 … … 193 193 ota73 STR ipp015 194 194 ota74 STR ipp015 195 ota75 STR ipp0 53196 ota76 STR ipp0 53195 ota75 STR ipp025 196 ota76 STR ipp025 197 197 END -
branches/eam_branches/20090715/ippTasks/magic.pro
r25022 r25402 104 104 end 105 105 end 106 macro magic.ds.off 107 task magic.destreak.load 108 active false 109 end 110 task magic.destreak.run 111 active false 112 end 113 end 114 macro magic.ds.on 115 task magic.destreak.load 116 active true 117 end 118 task magic.destreak.run 119 active true 120 end 121 end 122 123 macro magic.ds.status 124 echo magicToDS 125 book listbook magicToDS 126 echo "" 127 echo magicDSToRevert 128 book listbook magicDSToRevert 129 end 130 106 131 107 132 -
branches/eam_branches/20090715/ippTasks/pantasks.pro
r25022 r25402 213 213 chip.on 214 214 camera.on 215 addstar.on 215 216 fake.on 216 217 warp.on … … 225 226 chip.off 226 227 camera.off 228 addstar.off 227 229 fake.off 228 230 warp.off … … 242 244 module chip.pro 243 245 module camera.pro 246 module addstar.pro 244 247 module fake.pro 245 248 module warp.pro -
branches/eam_branches/20090715/ippTasks/pstamp.pro
r25022 r25402 10 10 11 11 # set PS_DBSERVER if postage stamp database host is not the same as the value for DBSERVER in site.config 12 # warning: no quotes around the two words. it cause itto get passed to pstamptool as one word13 # tricky to debug problem ensues12 # warning: no quotes around the two words. That causes the variable to get passed to pstamptool as one word 13 # and a tricky to debug problem ensues 14 14 # example: 15 # $PSDBSERVER = -dbserver hostname 16 if ($?PSDBSERVER == 0) 15 # $PS_DBSERVER = -dbserver hostname 16 17 if ($?PS_DBSERVER == 0) 17 18 $PS_DBSERVER = "" 18 19 end … … 134 135 end 135 136 add_poll_args run 137 # add_poll_labels run 136 138 command $run 137 139 end … … 178 180 book getword pstampRequest $pageName ds_outProduct -var PRODUCT 179 181 182 host anyhost 183 180 184 $run = pstamp_parser_run.pl --req_id $REQ_ID --uri $URI --product $PRODUCT --redirect-output 181 185 … … 219 223 220 224 task.exec 225 $run = pstamptool -completedreq 221 226 if ($DB:n == 0) 222 227 option DEFAULT 223 command pstamptool -completedreq224 228 else 225 229 option $DB:$pstampFin_DB 226 command pstamptool -completedreq-dbname $DB:$pstampFin_DB $PS_DBSERVER230 $run = $run -dbname $DB:$pstampFin_DB $PS_DBSERVER 227 231 $pstampFin_DB ++ 228 232 if ($pstampFin_DB >= $DB:n) set pstampFin_DB = 0 229 233 end 234 add_poll_args run 235 # add_poll_labels run 236 command $run 230 237 end 231 238 … … 313 320 314 321 task.exec 322 $run = pstamptool -pendingjob 315 323 if ($DB:n == 0) 316 324 option DEFAULT 317 command pstamptool -pendingjob -limit 10318 325 else 319 326 option $DB:$pstampJob_DB 320 command pstamptool -pendingjob -limit 10-dbname $DB:$pstampJob_DB $PS_DBSERVER327 $run = $run -dbname $DB:$pstampJob_DB $PS_DBSERVER 321 328 $pstampJob_DB ++ 322 329 if ($pstampJob_DB >= $DB:n) set pstampJob_DB = 0 323 330 end 331 add_poll_args run 332 # add_poll_labels run 333 command $run 324 334 end 325 335 … … 356 366 task.exec 357 367 book npages pstampJob -var N 358 if ($N == 0) break 368 if ($N == 0) 369 periods -exec $RUNEXEC 370 break 371 end 372 periods -exec 0.05 359 373 360 374 book getpage pstampJob 0 -var pageName -key pantaskState INIT … … 374 388 end 375 389 390 host anyhost 376 391 377 392 $run = pstamp_job_run.pl --job_id $JOB_ID --job_type $JOB_TYPE --rownum $ROWNUM --output_base $OUTPUT_BASE --redirect-output -
branches/eam_branches/20090715/ippTasks/publish.pro
r24707 r25402 161 161 book getword publishRun $pageName stage -var STAGE 162 162 book getword publishRun $pageName stage_id -var STAGE_ID 163 book getword publishRun $pageName exp_id -var EXP_ID164 163 book getword publishRun $pageName dbname -var DBNAME 165 164 … … 170 169 strsub $WORKDIR_TEMPLATE @HOST@ $default_host -var WORKDIR 171 170 172 $run = publish_file.pl --pub_id $PUB_ID -- exp_id $EXP_ID --camera $CAMERA --workdir $WORKDIR --product $PRODUCT --stage $STAGE --stage_id $STAGE_ID --redirect-output171 $run = publish_file.pl --pub_id $PUB_ID --camera $CAMERA --workdir $WORKDIR --product $PRODUCT --stage $STAGE --stage_id $STAGE_ID --redirect-output 173 172 add_standard_args run 174 173 -
branches/eam_branches/20090715/ippTasks/site.mhpcc.pro
r24454 r25402 14 14 controller host add ipp023 15 15 controller host add ipp024 16 controller host add ipp025 16 17 controller host add ipp026 17 18 controller host add ipp028 … … 39 40 controller host add ipp051 40 41 controller host add ipp052 41 controller host add ipp05342 # controller host add ipp053 42 43 end 43 44 -
branches/eam_branches/20090715/ippTasks/summit.copy.pro
r24054 r25402 380 380 periods -poll 0.05 381 381 periods -timeout 650 382 # trage 16:00 23:59 383 # trage 00:00 04:00 382 trange -reset 383 # only active in the night (18:00 to 06:00 HST, times are UT): 384 # trange 04:00 16:00 385 # only active in the day (06:00 to 18:00 HST, times are UT): 386 # trange 16:00 23:59 387 # trange 00:00 04:00 384 388 385 389 task.exec … … 449 453 end 450 454 if (("$MD5SUM" != "NULL") && ("$MD5SUM" != "0") && (not($COMPRESS))) 455 # && (($YEAR > 2008) || (("$YEAR" = "2007") && ($MONTH > 8)))) 451 456 $run = $run --md5 $MD5SUM 452 457 end
Note:
See TracChangeset
for help on using the changeset viewer.
