IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28780


Ignore:
Timestamp:
Jul 29, 2010, 2:19:03 PM (16 years ago)
Author:
bills
Message:

checking in changes developed in the running system

Location:
tags/ipp-20100701/ippTasks
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20100701/ippTasks/dist.pro

    r28751 r28780  
    147147        # to compute an index into the host table
    148148        strlen $stage_id length
    149         $start = $length - 2
    150         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
    151156        $component_id = $index % $count
    152157        book getword ipphosts distribution $component_id -var myhost
     
    411416
    412417    # using $DIST_ID as the "component" works fine here since we only look
    413     # at the last two digits
    414     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
    415421    if ("$OUTDIR" == "NULL")
    416422        echo ERROR failed to set workdir for $DIST_ID
  • tags/ipp-20100701/ippTasks/pstamp.pro

    r27874 r28780  
    188188        add_poll_args run
    189189        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
    190193        command $run
    191194    end
Note: See TracChangeset for help on using the changeset viewer.