Changeset 42406
- Timestamp:
- Mar 9, 2023, 3:57:48 PM (3 years ago)
- Location:
- trunk/tools/eam/rawfix.20230221/src
- Files:
-
- 1 added
- 5 edited
-
check.rawfix.sh (modified) (1 diff)
-
check_chip_locations.pl (modified) (1 diff)
-
fix_chip_locations.pl (modified) (1 diff)
-
rawfix.ckchip.pt (modified) (4 diffs)
-
rawfix.fixchip.pt (added)
-
rawfix.pt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/eam/rawfix.20230221/src/check.rawfix.sh
r42404 r42406 66 66 if ($mystate == "md5sum.done") goto good_state 67 67 if ($mystate == "md5sum.fail") goto good_state 68 if ($mystate == "ckchip.new") goto good_state 69 if ($mystate == "ckchip.done") goto good_state 70 if ($mystate == "ckchip.fail") goto good_state 71 if ($mystate == "fixchip.new") goto good_state 72 if ($mystate == "fixchip.done") goto good_state 73 if ($mystate == "fixchip.fail") goto good_state 68 74 69 75 echo "ERROR: unknown mode $mystate" -
trunk/tools/eam/rawfix.20230221/src/check_chip_locations.pl
r42400 r42406 103 103 ### in order to use this, I need to choose the target volume 104 104 105 die "done"; 105 exit 0; 106 107 # die "done"; 106 108 107 109 sub vsystem { -
trunk/tools/eam/rawfix.20230221/src/fix_chip_locations.pl
r42404 r42406 99 99 print "Nxbck: $Nxbck\n"; 100 100 101 die "all done";101 exit 0; 102 102 103 103 sub get_new_instance { -
trunk/tools/eam/rawfix.20230221/src/rawfix.ckchip.pt
r42405 r42406 86 86 end 87 87 88 ## XX delete the page from the book if done? 88 89 task.exit 0 89 90 # convert the stdout 'queue' to entries in a book 90 91 # fields in the table will become words in the page 91 queuesize stdout -var Nhosts92 queue2book -raw-columns -key dateobs:md5host -uniq -setword pantaskState INIT stdout md5host.book93 book setword ckchip.book $options:0 NHOST {$Nhosts - 1}94 book setword ckchip.book $options:0 NDONE 095 92 # use the queuesize (Nhosts) to track how many jobs are done / to be done 93 exec update.rawfix.sh $options:0 ckchip.done 94 book delpage ckchip.book $options:0 96 95 end 97 96 … … 100 99 showcommand failure 101 100 book setword ckchip.book $options:0 pantasksQuality FAIL 101 exec update.rawfix.sh $options:0 ckchip.fail 102 102 end 103 103 … … 105 105 showcommand crash 106 106 book setword ckchip.book $options:0 pantasksQuality CRASH 107 exec update.rawfix.sh $options:0 ckchip.fail 107 108 end 108 109 … … 111 112 showcommand timeout 112 113 book setword ckchip.book $options:0 pantasksQuality TIMEOUT 114 exec update.rawfix.sh $options:0 ckchip.fail 113 115 end 114 116 end -
trunk/tools/eam/rawfix.20230221/src/rawfix.pt
r42405 r42406 1 1 ## pantasks scripts to manage the raw exposure data repair / cleanup 2 3 #### the scripts below take the input files (YYYYMMDD/*.inst.txt)4 #### and run get_md5s_instances.pl on the hosts associated with those lists5 #### the outputs are files (YYYYMMDD/*.md5s.txt)6 2 7 3 $TPOLL = 5 … … 20 16 end 21 17 22 input rawfix. setup.pt23 input rawfix.md5sum.pt18 input rawfix.ckchip.pt 19 # input rawfix.md5sum.pt 24 20 25 21 ######################### UTILITIES #################################
Note:
See TracChangeset
for help on using the changeset viewer.
