Changeset 10638 for trunk/ippTasks/phase0.pro
- Timestamp:
- Dec 11, 2006, 4:15:02 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/phase0.pro (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/phase0.pro
r10542 r10638 15 15 end 16 16 17 macro test.p0 18 list testlist -x "p0tool -pendingimfile -simple" 19 echo $testlist:n 20 for i 0 $testlist:n 21 queuepush stdout "$testlist:$i" 22 end 23 echo Done pushing. 24 queuesize stdout -var Nqueue 25 for i 0 $Nqueue 26 queuepop stdout -var line 27 list word -split $line 28 $EXP_TAG = $word:0 29 $CLASS = $word:1 30 $CLASS_ID = $word:2 31 $URI = $word:3 32 queuepush Phase0Imfiles -uniq -key 1 "NEW $EXP_TAG $CLASS $CLASS_ID $URI" 33 end 34 end 35 17 36 # select images ready for phase0 analysis 18 37 # new entries are added to queue Phase0Imfiles 19 38 # compare the new list with the ones already selected 20 39 task phase0.imfile.load 21 command p0tool -pendingimfile -simple 40 # command p0tool -pendingimfile -simple 41 command /home/price/ipp/ippTasks/p0tool.sh 22 42 host local 23 43 24 44 periods -poll $loadpoll 25 periods -exec $loadexec45 periods -exec 30 26 46 periods -timeout 30 27 47 … … 38 58 # only add entries which don't exist in queue 39 59 queuesize stdout -var Nqueue 40 for i 0 $Nqueue60 for i 0 {$Nqueue << 20} 41 61 queuepop stdout -var line 62 echo $line 42 63 list word -split $line 43 64 $EXP_TAG = $word:0 … … 98 119 end 99 120 100 $LOG_DIR = `dirname $URI` 101 stdout $WORKDIR/$LOG_DIR/$EXP_TAG.$CLASS_ID.log 102 stderr $WORKDIR/$LOG_DIR/$EXP_TAG.$CLASS_ID.log 121 stdout $WORKDIR/$EXP_TAG.$CLASS_ID.log 122 stderr $WORKDIR/$EXP_TAG.$CLASS_ID.log 103 123 104 124 # create the command line … … 205 225 $EXP_TAG = $word:0 206 226 207 # XXX add $WORKDIR/$LOG_DIR 208 stdout $EXP_TAG.log 209 stderr $EXP_TAG.log 227 stdout $WORKDIR/$EXP_TAG.log 228 stderr $WORKDIR/$EXP_TAG.log 210 229 211 230 # specify choice of remote host:(need to choose based on chips)
Note:
See TracChangeset
for help on using the changeset viewer.
