Changeset 42452 for trunk/tools/eam/rawfix.20230221/src/rawfix.fixchip.pt
- Timestamp:
- Apr 21, 2023, 10:36:27 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/eam/rawfix.20230221/src/rawfix.fixchip.pt
r42451 r42452 12 12 $RAWFIX_FIXCHIP_INIT = 1 13 13 end 14 15 $MAX_FIXHOST = 2 14 16 15 17 # select nights in state fixchip.new … … 97 99 # convert the stdout 'queue' to entries in a book 98 100 # fields in the table will become words in the page 99 queueprint stdout101 # queueprint stdout 100 102 queuesize stdout -var Nhosts 101 103 queue2book -raw-columns -key dateobs:chipID -uniq -setword pantaskState INIT stdout fixhost.book 102 104 book setword fixchip.book $options:0 NHOST {$Nhosts - 1} 103 105 book setword fixchip.book $options:0 NDONE 0 104 book list105 book listbook fixchip.book106 # book list 107 # book listbook fixchip.book 106 108 # use the queuesize (Nhosts) to track how many jobs are done / to be done 107 109 end … … 163 165 $host:$FIXHOST = 0 164 166 end 165 if ( not($host:$FIXHOST))167 if ($host:$FIXHOST < $MAX_FIXHOST) 166 168 control host add $FIXHOST 167 $host:$FIXHOST = 1169 $host:$FIXHOST ++ 168 170 end 169 171
Note:
See TracChangeset
for help on using the changeset viewer.
