Changeset 42531 for branches/eam_branches/ipp-20230313/tools/eam/rawfix.20230221/src/rawfix.ckchip.pt
- Timestamp:
- Aug 17, 2023, 4:41:34 PM (3 years ago)
- Location:
- branches/eam_branches/ipp-20230313/tools
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
eam/rawfix.20230221/src/rawfix.ckchip.pt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20230313/tools
- Property svn:mergeinfo changed
/trunk/tools (added) merged: 42411,42415-42417,42429-42430,42440-42447,42449-42455,42457-42460,42462,42464-42465,42467-42468,42485
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20230313/tools/eam/rawfix.20230221/src/rawfix.ckchip.pt
r42406 r42531 30 30 end 31 31 32 # need to delete DONE entries here so the book is not repopulated 33 # by already-running load tasks 32 34 task.exit 0 33 35 # convert the stdout 'queue' to entries in a book 34 36 # fields in the table will become words in the page 35 37 queue2book -raw-columns -key dateobs -uniq -setword pantaskState INIT -setword pantasksQuality OK stdout ckchip.book 38 book delpage ckchip.book -key pantaskState DONE 36 39 end 37 40 … … 52 55 53 56 task nights.ckchip.run 54 55 57 periods -poll $RPOLL 56 58 periods -exec $REXEC 57 59 periods -timeout 60 58 npending 1 59 60 stdout $LOGDIR/ckchip.run.stdout.log 61 stderr $LOGDIR/ckchip.run.stderr.log 60 host -required $HOST_CKCHIP 61 npending 2 62 62 63 63 task.exec … … 75 75 book setword ckchip.book $pageName pantaskState RUN 76 76 book getword ckchip.book $pageName dateobs -var DATEOBS 77 book getword ckchip.book $pageName iter -var ITER 77 78 option $pageName 78 79 … … 81 82 substr $DATEOBS 6 2 DAY 82 83 84 # this is the first place in the proces that this location is known 85 mkdir $mypath/$YEAR/$DATEOBS 86 stdout $mypath/$YEAR/$DATEOBS/log.ckchip.runhosts.v$ITER 87 stderr $mypath/$YEAR/$DATEOBS/log.ckchip.runhosts.v$ITER 88 83 89 sprintf FULLDATE "%s/%s/%s" $YEAR $MONTH $DAY 84 90 85 command check_chip_locations.pl --dateobs $FULLDATE --chiplist gpc1.chips.txt 91 # this command accesses the Nebulous and GPC databases, so it must run at ITC. 92 command check_chip_locations.pl --topdir $mypath --dateobs $FULLDATE --chiplist gpc1.chips.txt --stage $ITER 86 93 end 87 94 88 # # XX delete the page from the book if done?95 # mark the entry done, will be deleted above in .load 89 96 task.exit 0 90 # convert the stdout 'queue' to entries in a book 91 # fields in the table will become words in the page 92 # use the queuesize (Nhosts) to track how many jobs are done / to be done 97 book setword ckchip.book $options:0 pantaskState DONE 93 98 exec update.rawfix.sh $options:0 ckchip.done 94 book delpage ckchip.book $options:095 99 end 96 100 … … 116 120 end 117 121 122 # option for writing stdout / stderr to a file 123 # queuepush stdout "------- end of stdout ---------" 124 # queuesave stdout $options:0/log.ckchip.v$ITER 125 # queuepush stderr "------- end of stderr ---------" 126 # queuesave stderr $options:0/log.ckchip.v$ITER
Note:
See TracChangeset
for help on using the changeset viewer.
