IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26082


Ignore:
Timestamp:
Nov 9, 2009, 7:52:56 PM (17 years ago)
Author:
bills
Message:

now it works

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/dist.pro

    r26081 r26082  
    9898        $selector = $component
    9999    end
     100    #echo selector is $selector
    100101    # take last two letters of selector
    101102    # treat it as an integer and use modulous of length of distribution hosts
     
    106107    $component_id = $index % $count
    107108
     109    #echo component_id is $component_id
     110
    108111    book getword ipphosts distribution $component_id -var host
    109112    if ("$host" == "NULL")
     
    112115    end
    113116
     117    #echo host is $host
     118
    114119    strsub $template @HOST@ $host -var $varname
     120
     121    #echo template is $template
     122    #echo outdir is $$varname
    115123end
    116124
     
    227235    end
    228236
    229 #    set.host.for.camera $CAMERA $MAGIC_ID
    230 #    set.workdir.by.camera $CAMERA $MAGIC_ID $WORKDIR_TEMPLATE $default_host WORKDIR
    231 #    host anyhost
    232 
    233     set.dist.workdir.by.component $STAGE_ID $COMPONENT $OUTDIR_TEMPLATE ipp049 OUTDIR
     237
     238    set.dist.workdir.by.component $DIST_STAGE_ID $COMPONENT $OUTDIR_TEMPLATE ipp047 OUTDIR
    234239    if ("$OUTDIR" == "NULL")
    235240        echo ERROR failed to set workdir for $COMPONENT
Note: See TracChangeset for help on using the changeset viewer.