IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 30, 2010, 9:31:50 AM (16 years ago)
Author:
eugene
Message:

updates from trunk

Location:
branches/eam_branches/ipp-20100621/ippTasks
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20100621/ippTasks

  • branches/eam_branches/ipp-20100621/ippTasks/dist.pro

    r27615 r28794  
    2828list DIST_STAGE -add "stack"
    2929list DIST_STAGE -add "SSdiff"
     30list DIST_STAGE -add "chip_bg"
     31list DIST_STAGE -add "warp_bg"
    3032
    3133$currentStage = 0
     
    145147        # to compute an index into the host table
    146148        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
    149156        $component_id = $index % $count
    150157        book getword ipphosts distribution $component_id -var myhost
     
    409416
    410417    # 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
    413421    if ("$OUTDIR" == "NULL")
    414422        echo ERROR failed to set workdir for $DIST_ID
Note: See TracChangeset for help on using the changeset viewer.