Changeset 26082
- Timestamp:
- Nov 9, 2009, 7:52:56 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/dist.pro (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/dist.pro
r26081 r26082 98 98 $selector = $component 99 99 end 100 #echo selector is $selector 100 101 # take last two letters of selector 101 102 # treat it as an integer and use modulous of length of distribution hosts … … 106 107 $component_id = $index % $count 107 108 109 #echo component_id is $component_id 110 108 111 book getword ipphosts distribution $component_id -var host 109 112 if ("$host" == "NULL") … … 112 115 end 113 116 117 #echo host is $host 118 114 119 strsub $template @HOST@ $host -var $varname 120 121 #echo template is $template 122 #echo outdir is $$varname 115 123 end 116 124 … … 227 235 end 228 236 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 234 239 if ("$OUTDIR" == "NULL") 235 240 echo ERROR failed to set workdir for $COMPONENT
Note:
See TracChangeset
for help on using the changeset viewer.
