IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9506


Ignore:
Timestamp:
Oct 12, 2006, 10:16:49 AM (20 years ago)
Author:
Paul Price
Message:

Making poll and exec delays globally configurable.

Location:
trunk/ippTasks
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/detrend.mkruns.pro

    r8193 r9506  
    1414  host         local
    1515
    16   periods      -poll 5
     16  periods      -poll 1
    1717  periods      -exec 60
    1818  periods      -timeout 30
     
    4343  host         local
    4444
    45   periods      -poll 5
     45  periods      -poll 1
    4646  periods      -exec 60
    4747  periods      -timeout 30
     
    7272  host         local
    7373
    74   periods      -poll 5
     74  periods      -poll 1
    7575  periods      -exec 60
    7676  periods      -timeout 30
  • trunk/ippTasks/detrend.norm.pro

    r9490 r9506  
    2323  host         local
    2424
    25   periods      -poll 1.0
    26   periods      -exec 3.0
     25  periods      -poll $loadpoll
     26  periods      -exec $loadexec
    2727  periods      -timeout 30
    2828
     
    6767# copy new images, sending job to desired host
    6868task           dettool.normstat.process
    69   periods      -poll 0.5
    70   periods      -exec 1.0
     69  periods      -poll $runpoll
     70  periods      -exec $runexec
    7171  periods      -timeout 30
    7272
     
    134134  host         local
    135135
    136   periods      -poll 1.0
    137   periods      -exec 3.0
     136  periods      -poll $loadpoll
     137  periods      -exec $loadexec
    138138  periods      -timeout 30
    139139
     
    181181# copy new images, sending job to desired host
    182182task           dettool.norm.process
    183   periods      -poll 0.5
    184   periods      -exec 1.0
     183  periods      -poll $runpoll
     184  periods      -exec $runexec
    185185  periods      -timeout 30
    186186
     
    252252  host         local
    253253
    254   periods      -poll 1.0
    255   periods      -exec 3.0
     254  periods      -poll $loadpoll
     255  periods      -exec $loadexec
    256256  periods      -timeout 30
    257257
     
    299299# copy new images, sending job to desired host
    300300task           dettool.normexp.process
    301   periods      -poll 0.5
    302   periods      -exec 1.0
     301  periods      -poll $runpoll
     302  periods      -exec $runexec
    303303  periods      -timeout 30
    304304
  • trunk/ippTasks/detrend.process.pro

    r9490 r9506  
    2929  host         local
    3030
    31   periods      -poll 1.0
    32   periods      -exec 3.0
     31  periods      -poll $loadpoll
     32  periods      -exec $loadexec
    3333  periods      -timeout 30
    3434
     
    7474# copy new images, sending job to desired host
    7575task           dettool.process.run
    76   periods      -poll 0.5
    77   periods      -exec 1.0
     76  periods      -poll $runpoll
     77  periods      -exec $runexec
    7878  periods      -timeout 30
    7979
     
    146146  host         local
    147147
    148   periods      -poll 1.0
    149   periods      -exec 3.0
     148  periods      -poll $loadpoll
     149  periods      -exec $loadexec
    150150  periods      -timeout 30
    151151
     
    189189# copy new images, sending job to desired host
    190190task           dettool.processexp.run
    191   periods      -poll 0.5
    192   periods      -exec 1.0
     191  periods      -poll $runpoll
     192  periods      -exec $runexec
    193193  periods      -timeout 30
    194194
  • trunk/ippTasks/detrend.reject.pro

    r9490 r9506  
    2828  host         local
    2929
    30   periods      -poll 1.0
    31   periods      -exec 3.0
     30  periods      -poll $loadpoll
     31  periods      -exec $loadexec
    3232  periods      -timeout 30
    3333
     
    6969# copy new images, sending job to desired host
    7070task           dettool.reject.run
    71   periods      -poll 0.5
    72   periods      -exec 1.0
     71  periods      -poll $runpoll
     72  periods      -exec $runexec
    7373  periods      -timeout 30
    7474
     
    109109    # create example job options as a demonstration
    110110    options "$line"
    111     echo command detrend_reject_exp.pl --det_id $DET_ID --iteration $ITER --det_type $DET_TYPE
    112     command detrend_reject_exp.pl --det_id $DET_ID --iteration $ITER --det_type $DET_TYPE
     111    echo command detrend_reject_exp.pl --det_id $DET_ID --iteration $ITER --det_type $DET_TYPE --camera $CAMERA
     112    command detrend_reject_exp.pl --det_id $DET_ID --iteration $ITER --det_type $DET_TYPE --camera $CAMERA
    113113 end
    114114
  • trunk/ippTasks/detrend.resid.pro

    r9490 r9506  
    3030  host         local
    3131
    32   periods      -poll 1.0
    33   periods      -exec 3.0
     32  periods      -poll $loadpoll
     33  periods      -exec $loadexec
    3434  periods      -timeout 30
    3535
     
    7979# copy new images, sending job to desired host
    8080task           dettool.resid.run
    81   periods      -poll 0.5
    82   periods      -exec 1.0
     81  periods      -poll $runpoll
     82  periods      -exec $runexec
    8383  periods      -timeout 30
    8484
     
    154154  host         local
    155155
    156   periods      -poll 1.0
    157   periods      -exec 3.0
     156  periods      -poll $loadpoll
     157  periods      -exec $loadexec
    158158  periods      -timeout 30
    159159
     
    178178      $EXP_TAG  = $word:3
    179179      $INCLUDE  = $word:4
    180       queuepush DetrendResidExposures -uniq -key 1:2:4 "NEW $DET_ID $ITER $DET_TYPE $EXP_TAG $INCLUDE"
     180      $CAMERA   = $word:5
     181      queuepush DetrendResidExposures -uniq -key 1:2:4 "NEW $DET_ID $ITER $DET_TYPE $EXP_TAG $INCLUDE $CAMERA"
    181182    end
    182183
     
    199200# copy new images, sending job to desired host
    200201task           dettool.residexp.run
    201   periods      -poll 0.5
    202   periods      -exec 1.0
     202  periods      -poll $runpoll
     203  periods      -exec $runexec
    203204  periods      -timeout 30
    204205
     
    226227    $EXP_TAG  = $word:3
    227228    $INCLUDE  = $word:4
     229    $CAMERA   = $word:5
    228230
    229231    # XXX add $WORKDIR/$LOG_DIR
     
    250252    options "$line"
    251253    if ($drop)
    252       echo command detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITER --exp_tag $EXP_TAG --det_type $DET_TYPE --reject
    253       command detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITER --exp_tag $EXP_TAG --det_type $DET_TYPE --reject
     254      echo command detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITER --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA --reject
     255      command detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITER --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA --reject
    254256    else
    255       echo command detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITER --exp_tag $EXP_TAG --det_type $DET_TYPE
    256       command detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITER --exp_tag $EXP_TAG --det_type $DET_TYPE
     257      echo command detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITER --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA
     258      command detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITER --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA
    257259    end
    258260  end
  • trunk/ippTasks/detrend.stack.pro

    r9490 r9506  
    3030  host         local
    3131
    32   periods      -poll 1.0
    33   periods      -exec 3.0
     32  periods      -poll $loadpoll
     33  periods      -exec $loadexec
    3434  periods      -timeout 30
    3535
     
    7272# copy new images, sending job to desired host
    7373task           dettool.stack.run
    74   periods      -poll 0.5
    75   periods      -exec 1.0
    76   periods      -timeout 30
     74  periods      -poll $runpoll
     75  periods      -exec $runexec
     76  periods      -timeout 120
    7777
    7878  task.exec
  • trunk/ippTasks/pantasks.pro

    r9490 r9506  
    22$network = 1
    33$parallel = 1
    4 $scripts = /home/kiawe/eugene/src/panstarrs/ipp/ippTasks
     4$scripts = .
    55$WORKDIR = `ipp_workdir.pl`
     6$loadpoll = 1
     7$loadexec = 10
     8$runpoll = 0.5
     9$runexec = 1
    610
    711macro init.controller
    812  if ($parallel)
     13    # controller host add mithrandir
    914    # controller host add alala
    1015    controller exit true
  • trunk/ippTasks/phase0.pro

    r9455 r9506  
    2222  host         local
    2323
    24   periods      -poll 1.0
    25   periods      -exec 2.0
     24  periods      -poll $loadpoll
     25  periods      -exec $loadexec
    2626  periods      -timeout 30
    2727
     
    6565# run the phase0imfile script on pending images
    6666task           phase0.imfile.run
    67   periods      -poll 0.5
    68   periods      -exec 1.0
     67  periods      -poll $runpoll
     68  periods      -exec $runexec
    6969  periods      -timeout 30
    7070
     
    138138  host         local
    139139
    140   periods      -poll 1.0
    141   periods      -exec 2.0
     140  periods      -poll $loadpoll
     141  periods      -exec $loadexec
    142142  periods      -timeout 30
    143143
     
    181181# run the phase0imfile script on pending images
    182182task           phase0.exp.run
    183   periods      -poll 0.5
    184   periods      -exec 1.0
     183  periods      -poll $runpoll
     184  periods      -exec $runexec
    185185  periods      -timeout 30
    186186
  • trunk/ippTasks/phase2.pro

    r9398 r9506  
    2121  host         local
    2222
    23   periods      -poll 1
    24   periods      -exec 5
     23  periods      -poll $loadpoll
     24  periods      -exec $loadexec
    2525  periods      -timeout 30
    2626
     
    6363# run the phase2imfile script on pending images
    6464task           phase2.imfile.run
    65   periods      -poll 0.5
    66   periods      -exec 1
     65  periods      -poll $runpoll
     66  periods      -exec $runexec
    6767  periods      -timeout 60
    6868
  • trunk/ippTasks/phase3.pro

    r9398 r9506  
    2121  host         local
    2222
    23   periods      -poll 1
    24   periods      -exec 5
     23  periods      -poll $loadpoll
     24  periods      -exec $loadexec
    2525  periods      -timeout 30
    2626
     
    5959# run the phase3imfile script on pending images
    6060task           phase3.exp.run
    61   periods      -poll 0.5
    62   periods      -exec 1.0
     61  periods      -poll $runpoll
     62  periods      -exec $runexec
    6363  periods      -timeout 5
    6464
Note: See TracChangeset for help on using the changeset viewer.