Changeset 42933 for branches/eam_branches/ipp-20250626/tools/eam/burntool.20250520/src/bt.getchip.pt
- Timestamp:
- Nov 8, 2025, 11:18:50 AM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20250626/tools/eam/burntool.20250520/src/bt.getchip.pt
r42912 r42933 1 1 2 # the master book btChipNights lists all ofCHIPNIGHT books2 # btChipNights : bookw with list of all CHIPNIGHT books 3 3 # CHIPNIGHT books are named after the nights and chips, e.g. 20250704.XY01 4 4 5 if (not($BT_CHIPNIGHT_NSEQ)) set BT_CHIPNIGHT_NSEQ = 0 5 # Design Concept: We have a collection of nights to process. Each night has a collection of 6 # exposures, each with a number of chips. The books in this pantasks file 7 # list the complete set of chip/exposures for a given night. 8 9 # a given chip/exposure goes throught the following set of steps: 10 # INIT : the ChipNight book is populated with the list of chip/exposures based on queries to the db 11 # PREP : a job is active to determine the chip/exposure basic info (paths, etc) 12 # DONEPREP : after the chip/exposure has been prepped, it waits to be run 13 # 14 15 if (not($BT_CHIPNIGHT_ITER)) set BT_CHIPNIGHT_ITER = 0 6 16 7 17 # get the next available chip (one chip from an exposure for a single night) … … 24 34 25 35 # if we have reached the end, restart the loop over chip hosts 26 if ($BT_CHIPNIGHT_ NSEQ>= $Nnights)27 $BT_CHIPNIGHT_ NSEQ= 036 if ($BT_CHIPNIGHT_ITER >= $Nnights) 37 $BT_CHIPNIGHT_ITER = 0 28 38 echo "restart loop" 29 39 break … … 31 41 32 42 # grab info for this CHIPNIGHT 33 book getpage btChipNights $BT_CHIPNIGHT_ NSEQ-var BT_CHIPNIGHT_PAGE43 book getpage btChipNights $BT_CHIPNIGHT_ITER -var BT_CHIPNIGHT_PAGE 34 44 book getword btChipNights $BT_CHIPNIGHT_PAGE CHIPNIGHT -var BT_CHIPNIGHT_BOOK 35 45 book getword btChipNights $BT_CHIPNIGHT_PAGE STATE -var BT_CHIPNIGHT_STATE … … 43 53 # is this chip/night ready to go? 44 54 if (("$BT_CHIPNIGHT_STATE" == "RUN") || ("$BT_CHIPNIGHT_STATE" == "FAIL")) 45 $BT_CHIPNIGHT_ NSEQ++55 $BT_CHIPNIGHT_ITER ++ 46 56 periods -exec 0.05 47 57 break … … 56 66 if ($BT_CHIPNIGHT_ENTRY >= $BT_CHIPNIGHT_NCHIP) 57 67 echo "done with chip/night $BT_CHIPNIGHT_BOOK" 58 $BT_CHIPNIGHT_ NSEQ++68 $BT_CHIPNIGHT_ITER ++ 59 69 periods -exec 0.05 60 70 break
Note:
See TracChangeset
for help on using the changeset viewer.
