Changeset 9081 for trunk/ippTasks/phase0.pro
- Timestamp:
- Sep 30, 2006, 12:27:01 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/phase0.pro (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/phase0.pro
r9032 r9081 11 11 if ($?network == 0) 12 12 $network = 1 13 end 14 if ($?parallel == 0) 15 $parallel = 0 13 16 end 14 17 … … 59 62 task phase0.imfile.process 60 63 periods -poll 0.5 61 periods -exec 1 .062 periods -timeout 564 periods -exec 1 65 periods -timeout 60 63 66 64 67 task.exec … … 80 83 list word -split $line 81 84 82 # specify choice of remote host: 83 # 'anyhost' specifies random remote host 84 # if we needed to specify a host explicitly, use a command like 85 # one of the following. the -required forces execution on the 86 # named host, and blocks the task until the host is available 87 # host kiawe 88 # host alala -required 89 ## XXX need to determine the appropriate host 90 # host anyhost 91 host local 92 echo "running phase0.imfile.process" 93 94 echo "setting stdout, stderr: $word:1.$word:3.log" 85 # specify choice of remote host:(need to choose based on chips) 86 if ($parallel) 87 host anyhost 88 else 89 host local 90 end 91 95 92 # do something better with this output target 96 93 stdout $word:0.$word:2.log … … 98 95 99 96 # create the command line 100 echo "setting options $line"101 97 options "$line" 102 103 98 echo command phase0imfile.pl --exp_id $word:0 --class_id $word:2 --uri $word:3 104 99 command phase0imfile.pl --exp_id $word:0 --class_id $word:2 --uri $word:3 … … 113 108 # default exit status 114 109 task.exit default 110 echo "failure for phase0imfile.pl: $options:0" 115 111 queuepush Phase0PendingImfiles -replace -key 1 "FAIL $options:0" 116 112 end … … 118 114 # operation times out? 119 115 task.exit timeout 120 queuepush Phase0PendingImfiles -replace -key 1 "FAIL $options:0" 116 echo "timeout for phase0imfile.pl: $options:0" 117 queuepush Phase0PendingImfiles -replace -key 1 "TIMEOUT $options:0" 121 118 end 122 119 end … … 139 136 stdout phase0.exp.log 140 137 stderr phase0.exp.log 141 142 task.exec143 break144 end145 138 146 139 # success … … 196 189 197 190 # do something better with this output target 198 stdout $word:1.log 199 stderr $word:1.log 200 201 # specify choice of remote host: 202 # 'anyhost' specifies random remote host 203 # if we needed to specify a host explicitly, use a command like 204 # one of the following. the -required forces execution on the 205 # named host, and blocks the task until the host is available 206 # host kiawe 207 # host alala -required 208 ## XXX need to determine the appropriate host 209 host local 210 # host anyhost 191 stdout $word:0.log 192 stderr $word:0.log 193 194 # specify choice of remote host:(need to choose based on chips) 195 if ($parallel) 196 host anyhost 197 else 198 host local 199 end 211 200 212 201 # create the command line 213 202 options "$line" 214 command phase0exp.pl $word:1 203 echo command phase0exp.pl $word:0 204 command phase0exp.pl $word:0 215 205 end 216 206 … … 228 218 # operation times out? 229 219 task.exit timeout 230 queuepush Phase0PendingExposures -replace -key 1 "FAIL $options:0" 231 end 232 end 220 queuepush Phase0PendingExposures -replace -key 1 "TIMEOUT $options:0" 221 end 222 end 223 224 ## XXX add a global path to output files
Note:
See TracChangeset
for help on using the changeset viewer.
