Changeset 10723 for trunk/ippTasks
- Timestamp:
- Dec 14, 2006, 8:11:35 AM (20 years ago)
- Location:
- trunk/ippTasks
- Files:
-
- 8 edited
-
detrend.norm.pro (modified) (12 diffs)
-
detrend.process.pro (modified) (8 diffs)
-
detrend.reject.pro (modified) (5 diffs)
-
detrend.resid.pro (modified) (8 diffs)
-
detrend.stack.pro (modified) (4 diffs)
-
pantasks.pro (modified) (4 diffs)
-
phase0.pro (modified) (6 diffs)
-
testscript.pro (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/detrend.norm.pro
r10692 r10723 54 54 55 55 task.exec 56 command dettool -tonormalizedstat -simple -limit {$DetrendNormStatFail + 20} 56 # command dettool -tonormalizedstat -simple -limit {$DetrendNormStatFail + 20} 57 command dettool -tonormalizedstat -simple 57 58 end 58 59 … … 86 87 # default exit status 87 88 task.exit default 88 if ($VERBOSE) 89 echo "detrend.norm: failure" 90 end 91 end 92 93 # operation times out? 94 task.exit timeout 95 if ($VERBOSE) 96 echo "detrend.norm: timeout" 97 end 89 showcommand failure 90 end 91 92 # operation times out? 93 task.exit timeout 94 showcommand timeout 98 95 end 99 96 end … … 153 150 # default exit status 154 151 task.exit default 155 if ($VERBOSE) 156 echo "failure detrend_norm_calc.pl $options:0" 157 end 152 showcommand failure 158 153 queuepush DetrendNormStat -replace -key 1:3 "FAIL $options:0" 159 154 $DetrendNormStatFail ++ … … 162 157 # operation times out? 163 158 task.exit timeout 164 if ($VERBOSE) 165 echo "failure detrend_norm_calc.pl $options:0" 166 end 159 showcommand timeout 167 160 queuepush DetrendNormStat -replace -key 1:3 "TIMEOUT $options:0" 168 161 $DetrendNormStatFail ++ … … 184 177 185 178 task.exec 186 command dettool -tonormalize -simple -limit {$DetrendNormFail + 20} 179 # command dettool -tonormalize -simple -limit {$DetrendNormFail + 20} 180 command dettool -tonormalize -simple 187 181 end 188 182 … … 219 213 # default exit status 220 214 task.exit default 221 if ($VERBOSE) 222 echo "detrend.norm: failure" 223 end 224 end 225 226 # operation times out? 227 task.exit timeout 228 if ($VERBOSE) 229 echo "detrend.norm: timeout" 230 end 215 showcommand failure 216 end 217 218 # operation times out? 219 task.exit timeout 220 showcommand timeout 231 221 end 232 222 end … … 288 278 # default exit status 289 279 task.exit default 290 if ($VERBOSE) 291 echo "failure detrend_norm_apply.pl $options:0" 292 end 280 showcommand failure 293 281 queuepush DetrendNorm -replace -key 4:5 "FAIL $options:0" 294 282 $DetrendNormFail ++ … … 297 285 # operation times out? 298 286 task.exit timeout 299 if ($VERBOSE) 300 echo "failure detrend_norm_apply.pl $options:0" 301 end 287 showcommand timeout 302 288 queuepush DetrendNorm -replace -key 4:5 "TIMEOUT $options:0" 303 289 $DetrendNormFail ++ … … 319 305 320 306 task.exec 321 command dettool -tonormalizedexp -simple -limit {$DetrendNormExpFail + 20} 307 # command dettool -tonormalizedexp -simple -limit {$DetrendNormExpFail + 20} 308 command dettool -tonormalizedexp -simple 322 309 end 323 310 … … 344 331 #$EXP_TYPE = $word:5 345 332 #$IMFILES = $word:6 346 queuepush DetrendNorm alizeExp -uniq -key 1:2 "NEW $DET_ID $ITER $DET_TYPE $CAMERA"333 queuepush DetrendNormExp -uniq -key 1:2 "NEW $DET_ID $ITER $DET_TYPE $CAMERA" 347 334 end 348 335 … … 354 341 # default exit status 355 342 task.exit default 356 if ($VERBOSE) 357 echo "detrend.norm: failure" 358 end 359 end 360 361 # operation times out? 362 task.exit timeout 363 if ($VERBOSE) 364 echo "detrend.norm: timeout" 365 end 343 showcommand failure 344 end 345 346 # operation times out? 347 task.exit timeout 348 showcommand timeout 366 349 end 367 350 end … … 425 408 # default exit status 426 409 task.exit default 427 if ($VERBOSE) 428 echo "failure detrend_norm_exp.pl $options:0" 429 end 410 showcommand failure 430 411 queuepush DetrendNormExp -replace -key 1:2 "FAIL $options:0" 431 $DetrendNormExpFail ++ 432 end 433 434 # operation times out? 435 task.exit timeout 436 if ($VERBOSE) 437 echo "failure detrend_norm_exp.pl $options:0" 438 end 412 $DetrendNormExpFail ++ 413 end 414 415 # operation times out? 416 task.exit timeout 417 showcommand timeout 439 418 queuepush DetrendNormExp -replace -key 1:2 "TIMEOUT $options:0" 440 $DetrendNormExpFail ++441 end 442 end 419 $DetrendNormExpFail ++ 420 end 421 end -
trunk/ippTasks/detrend.process.pro
r10692 r10723 57 57 58 58 task.exec 59 command dettool -toprocessedimfile -simple -limit {$DetrendProcessImfileFail + 20} 59 # XXX dettool needs -limit command 60 # command dettool -toprocessedimfile -simple -limit {$DetrendProcessImfileFail + 20} 61 command dettool -toprocessedimfile -simple 60 62 end 61 63 … … 91 93 # error 92 94 task.exit default 93 if ($VERBOSE) 94 echo "detrend.process: failure" 95 end 95 showcommand failure 96 96 end 97 97 98 98 # operation times out? 99 99 task.exit timeout 100 if ($VERBOSE) 101 echo "detrend.process: timeout" 102 end 100 showcommand 103 101 end 104 102 end … … 166 164 # default exit status 167 165 task.exit default 168 if ($VERBOSE) 169 echo "failure detrend_process_imfile.pl $options:0" 170 end 166 showcommand failure 171 167 queuepush DetrendProcessImfiles -replace -key 1:3:5 "FAIL $options:0" 172 168 $DetrendProcessImfileFail ++ … … 175 171 # operation times out? 176 172 task.exit timeout 177 if ($VERBOSE) 178 echo "timeout detrend_process_imfile.pl $options:0" 179 end 173 showcommand timeout 180 174 queuepush DetrendProcessImfiles -replace -key 1:3:5 "TIMEOUT $options:0" 181 175 $DetrendProcessImfileFail ++ … … 197 191 198 192 task.exec 199 command dettool -toprocessedexp -simple -limit {$DetrendProcessExpFail + 20} 193 # command dettool -toprocessedexp -simple -limit {$DetrendProcessExpFail + 20} 194 command dettool -toprocessedexp -simple 200 195 end 201 196 … … 229 224 # error 230 225 task.exit default 231 if ($VERBOSE) 232 echo "detrend.process: failure" 233 end 226 showcommand failure 234 227 end 235 228 236 229 # operation times out? 237 230 task.exit timeout 238 if ($VERBOSE) 239 echo "detrend.process: timeout" 240 end 231 showcommand timeout 241 232 end 242 233 end … … 300 291 # default exit status 301 292 task.exit default 302 if ($VERBOSE) 303 echo "failure for detrend_process_exp.pl: $options:0" 304 end 293 showcommand failure 305 294 queuepush DetrendProcessExposures -replace -key 1:2:4 "FAIL $options:0" 306 295 $DetrendProcessExpFail ++ … … 309 298 # operation times out? 310 299 task.exit timeout 311 if ($VERBOSE) 312 echo "failure for detrend_process_exp.pl: $options:0" 313 end 300 showcommand timeout 314 301 queuepush DetrendProcessExposures -replace -key 1:2:4 "TIMEOUT $options:0" 315 302 $DetrendProcessExpFail ++ -
trunk/ippTasks/detrend.reject.pro
r10692 r10723 53 53 54 54 task.exec 55 command dettool -residdetrun -simple -limit {$DetrendRejectExpFail + 20} 55 # command dettool -residdetrun -simple -limit {$DetrendRejectExpFail + 20} 56 command dettool -residdetrun -simple 56 57 end 57 58 … … 83 84 # locked list 84 85 task.exit default 85 if ($VERBOSE) 86 echo "detrend.reject: failure" 87 end 86 showcommand failure 88 87 end 89 88 90 89 # operation times out? 91 90 task.exit timeout 92 if ($VERBOSE) 93 echo "detrend.reject: timeout" 94 end 91 showcommand failure 95 92 end 96 93 end … … 123 120 $ITER = $word:1 124 121 $DET_TYPE = $word:2 125 $CAMERA = $word:3 122 $MODE = $word:3 123 $CAMERA = $word:4 126 124 127 125 # I'd like to add CAMERA to the log file... … … 151 149 # default exit status 152 150 task.exit default 153 if ($VERBOSE) 154 echo "failure detrend_reject_exp.pl $options:0" 155 end 151 showcommand failure 156 152 queuepush DetrendRejectExp -replace -key 1:2 "FAIL $options:0" 157 153 $DetrendRejectExpFail ++ … … 160 156 # operation times out? 161 157 task.exit timeout 162 if ($VERBOSE) 163 echo "failure detrend_reject_exp.pl $options:0" 164 end 158 showcommand failure 165 159 queuepush DetrendRejectExp -replace -key 1:2 "TIMEOUT $options:0" 166 160 $DetrendRejectExpFail ++ -
trunk/ippTasks/detrend.resid.pro
r10692 r10723 58 58 59 59 task.exec 60 command dettool -toresidimfile -simple -limit {$DetrendResidImfileFail + 20} 60 # command dettool -toresidimfile -simple -limit {$DetrendResidImfileFail + 20} 61 command dettool -toresidimfile -simple 61 62 end 62 63 … … 97 98 # default exit status 98 99 task.exit default 99 if ($VERBOSE) 100 echo "detrend.resid: failure" 101 end 100 showcommand failure 102 101 end 103 102 104 103 # operation times out? 105 104 task.exit timeout 106 if ($VERBOSE) 107 echo "detrend.resid: timeout" 108 end 105 showcommand timeout 109 106 end 110 107 end … … 173 170 # default exit status 174 171 task.exit default 175 if ($VERBOSE) 176 echo "failure detrend_resid.pl $options:0" 177 end 172 showcommand failure 178 173 queuepush DetrendResidImfiles -replace -key 1:2:5:6 "FAIL $options:0" 179 174 $DetrendResidImfileFail ++ … … 182 177 # operation times out? 183 178 task.exit timeout 184 if ($VERBOSE) 185 echo "failure detrend_resid.pl $options:0" 186 end 179 showcommand timeout 187 180 queuepush DetrendResidImfiles -replace -key 1:2:6:6 "TIMEOUT $options:0" 188 181 $DetrendResidImfileFail ++ … … 204 197 205 198 task.exec 206 command dettool -toresidexp -simple -limit {$DetrendResidExpFail + 20} 199 # command dettool -toresidexp -simple -limit {$DetrendResidExpFail + 20} 200 command dettool -toresidexp -simple 207 201 end 208 202 … … 239 233 # default exit status 240 234 task.exit default 241 if ($VERBOSE) 242 echo "detrend.residexp: failure" 243 end 235 showcommand failure 244 236 end 245 237 246 238 # operation times out? 247 239 task.exit timeout 248 if ($VERBOSE) 249 echo "detrend.residexp: timeout" 250 end 240 showcommand timeout 251 241 end 252 242 end … … 315 305 # default exit status 316 306 task.exit default 317 if ($VERBOSE) 318 echo "failure for detrend_reject_imfile.pl: $options:0" 319 end 307 showcommand failure 320 308 queuepush DetrendResidExposures -replace -key 1:2:5 "FAIL $options:0" 321 309 $DetrendResidExpFail ++ … … 324 312 # operation times out? 325 313 task.exit timeout 326 if ($VERBOSE) 327 echo "failure for detrend_reject_imfile.pl: $options:0" 328 end 314 showcommand timeout 329 315 queuepush DetrendResidExposures -replace -key 1:2:5 "TIMEOUT $options:0" 330 316 $DetrendResidExpFail ++ -
trunk/ippTasks/detrend.stack.pro
r10692 r10723 53 53 54 54 task.exec 55 command dettool -tostacked -simple -limit {$DetrendStackClassFail + 20} 55 # command dettool -tostacked -simple -limit {$DetrendStackClassFail + 20} 56 command dettool -tostacked -simple 56 57 end 57 58 … … 83 84 # locked list 84 85 task.exit default 85 if ($VERBOSE) 86 echo "detrend.stack: failure" 87 end 86 showcommand failure 88 87 end 89 88 90 89 # operation times out? 91 90 task.exit timeout 92 if ($VERBOSE) 93 echo "detrend.stack: timeout" 94 end 91 showcommand timeout 95 92 end 96 93 end … … 153 150 # default exit status 154 151 task.exit default 155 if ($VERBOSE) 156 echo "failure detrend_stack.pl $options:0" 157 end 152 showcommand failure 158 153 queuepush DetrendStackClass -replace -key 1:2:4 "FAIL $options:0" 159 154 $DetrendStackClassFail ++ … … 162 157 # operation times out? 163 158 task.exit timeout 164 if ($VERBOSE) 165 echo "failure detrend_stack.pl $options:0" 166 end 159 showcommand timeout 167 160 queuepush DetrendStackClass -replace -key 1:2:4 "TIMEOUT $options:0" 168 161 $DetrendStackClassFail ++ -
trunk/ippTasks/pantasks.pro
r10691 r10723 7 7 # $scripts = $HOME/src/pantasks/ipp/ippTasks 8 8 $scripts = . 9 $LOGDIR = `ipp_datapath.pl path://ESSENCE` 9 # $LOGDIR = `ipp_datapath.pl path://ESSENCE` 10 $LOGDIR = `ipp_datapath.pl path://SIMTEST` 11 10 12 $LOGDIR = $LOGDIR/logs 11 13 exec mkdir -p $LOGDIR … … 19 21 if ($parallel) 20 22 controller exit true 21 controller host add sn2 22 controller host add sn3 23 controller host add sn4 24 controller host add sn5 25 # controller host add sn6 23 controller host add alala 24 # controller host add sn2 25 # controller host add sn3 26 # controller host add sn4 27 # controller host add sn5 28 # controller host add sn6 26 29 # sn7 serves the disk 27 30 end … … 31 34 32 35 macro load.tasks 33 input $scripts/phase0.pro36 # input $scripts/phase0.pro 34 37 # input $scripts/phase2.pro 35 38 # input $scripts/phase3.pro 36 #input $scripts/detrend.process.pro37 #input $scripts/detrend.stack.pro38 #input $scripts/detrend.norm.pro39 #input $scripts/detrend.resid.pro40 #input $scripts/detrend.reject.pro39 input $scripts/detrend.process.pro 40 input $scripts/detrend.stack.pro 41 input $scripts/detrend.norm.pro 42 input $scripts/detrend.resid.pro 43 input $scripts/detrend.reject.pro 41 44 end 42 45 … … 108 111 exec rm -f ../object/*.p3.*.jpg 109 112 end 113 114 macro showcommand 115 local n 116 117 if ($VERBOSE) 118 $command = $taskarg:0 119 for n 1 $taskarg:n 120 $command = $command $taskarg:$n 121 end 122 if ($0 == 2) 123 echo "$1 for: $command" 124 else 125 echo "command: $command" 126 end 127 end 128 end -
trunk/ippTasks/phase0.pro
r10692 r10723 79 79 # locked list 80 80 task.exit default 81 if ($VERBOSE) 82 echo "phase0 pending imfiles: failure" 83 end 84 end 85 86 # operation times out? 87 task.exit timeout 88 if ($VERBOSE) 89 echo "phase0 pending imfiles: timeout" 90 end 81 showcommand 82 end 83 84 # operation times out? 85 task.exit timeout 86 showcommand 91 87 end 92 88 end … … 153 149 # default exit status 154 150 task.exit default 155 if ($VERBOSE) 156 echo "failure for phase0imfile.pl: $options:0" 157 end 151 showcommand 158 152 queuepush Phase0Imfiles -replace -key 1 "FAIL $options:0" 159 153 $Phase0ImfileFail ++ … … 162 156 # operation times out? 163 157 task.exit timeout 164 if ($VERBOSE) 165 echo "timeout for phase0imfile.pl: $options:0" 166 end 158 showcommand 167 159 queuepush Phase0Imfiles -replace -key 1 "TIMEOUT $options:0" 168 160 $Phase0ImfileFail ++ … … 222 214 # default exit status 223 215 task.exit default 224 if ($VERBOSE) 225 echo "phase0 pending exp: failure" 226 end 227 end 228 229 # operation times out? 230 task.exit timeout 231 if ($VERBOSE) 232 echo "phase0 pending exp: timeout" 233 end 216 showcommand 217 end 218 219 # operation times out? 220 task.exit timeout 221 showcommand 234 222 end 235 223 end … … 293 281 # default exit status 294 282 task.exit default 295 if ($VERBOSE) 296 echo "failure for phase0exp.pl: $options:0" 297 end 283 showcommand 298 284 queuepush Phase0Exposures -replace -key 1 "FAIL $options:0" 299 285 $Phase0ExpFail … … 302 288 # operation times out? 303 289 task.exit timeout 304 if ($VERBOSE) 305 echo "failure for phase0exp.pl: $options:0" 306 end 290 showcommand 307 291 queuepush Phase0Exposures -replace -key 1 "TIMEOUT $options:0" 308 292 $Phase0ExpFail -
trunk/ippTasks/testscript.pro
r10673 r10723 7 7 8 8 status 9 host add sn2 10 host add sn3 11 host add sn4 12 host add sn5 9 host add alala 13 10 14 11 status
Note:
See TracChangeset
for help on using the changeset viewer.
