Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Story Points:36
-
Epic Link:
-
Team:Data Release Production
-
Urgent?:No
Description
This ticket collects effort to set up a gen3 repo on the tiger2-sumire machine at Princeton. A recent HSC RC2 run will be ingested, containing all data from raws through to final coadd outputs.
Summary:
- Set up a PostgreSQL Server
- Create a butler repo and register the HSC instrument
- Register the skyMap
- Write curated calibrations
- Ingest reference catalogues
- Ingest raw HSC data
- Import Sky Frames
- Import yBackgrounds
- Import flats
- Import biases
- Import darks
- Import fringe data
- Set up 'HSC/calib' CHAINED collection
- Import brightObjectMask data
- Set up 'HSC/masks' CHAINED collection
- Import fgcmLookUpTable data
- Set up 'HSC/fgcmcal/lut/RC2' CHAINED collection
- Set up 'HSC/defaults' CHAINED collection
- Set up RC2 TAGGED collections
- Set up 'HSC/raw/RC2' CHAINED collection
- Set up 'HSC/RC2/defaults' CHAINED collection
- Define visits
- Run a small step 1 test run on the head node
- Run a small step 1 test run using BPS
- Run RC2 step 1
- Run RC2 step 2
- Run RC2 step 3
- Summary
This ticket is going on an PREOPS epic because it was work directly generated by the loss of our construction data facility and the USDF not being available for all project developers. Not all team members could get an account at the USDF because of their nationality, therefore we need an equivalent space at Princeton until SLAC can provide accounts for all project developers.
Attachments
Issue Links
- relates to
-
DM-36364 Modify Princeton site parsl walltime
- Done
-
DM-37044 Add ability to specify BPS computeSite on the command line
- Done
-
DM-37049 Reduce Princeton site mem_per_node
- Done
-
DM-39770 Generate RC2 run on tiger for w_2023_25
- Done
-
DM-40449 Create a miniature DC2 repository on a VM on google cloud
- In Review
Run RC2 step 2
source /projects/HSC/LSST/stack/loadLSST.sh
setup lsst_distrib -t w_2022_40
REPO=/projects/HSC/repo/main
GPFSDIR=/scratch/gpfs/$USER
LOGDIR=$GPFSDIR/logs
Step 2 submit:
cd $GPFSDIR; \
BPSYAML=/projects/HSC/LSST/bps/bps_01h_10cores.yaml; \
export OMP_NUM_THREADS=1; \
export NUMEXPR_MAX_THREADS=1; \
LOGFILE=$LOGDIR/hsc_runs_rc2_w_2022_40_DM-36151_step2.log; \
DATAQUERY="band != 'N921'"; \
date | tee -a $LOGFILE; \
$(which time) -f "Total runtime: %E" \
bps submit $BPSYAML \
-b $REPO \
-i HSC/RC2/defaults \
-o HSC/runs/RC2/w_2022_40/DM-36151 \
-p $DRP_PIPE_DIR/pipelines/HSC/DRP-RC2.yaml#step2 \
-d "instrument='HSC' AND $DATAQUERY" \
2>&1 | tee -a $LOGFILE; \
date | tee -a $LOGFILE
Incomplete step 2 results (Total runtime: 43:10:40):
$ ~lkelvin/software/task_times.py \
> /scratch/gpfs/lkelvin/submit/HSC/runs/RC2/w_2022_40/DM-36151/20221019T210526Z
Concatenating BPS log files... done!
QuantumGraph contains 1658 quanta for 10 tasks.
task time pass fail skip
--------------------------------------------------------------------------------
finalizeCharacterization 720085.71s (~65%) 267 0 0
skyCorr 371484.09s (~33%) 364 0 0
consolidateVisitSummary 14791.66s (~1%) 404 0 0
fgcmFitCycle 2909.72s (~0%) 1 0 0
consolidatePreSourceTable 2406.27s (~0%) 404 0 0
fgcmBuildStarsTable 1379.23s (~0%) 1 0 0
isolatedStarAssociation 680.98s (~0%) 37 0 0
fgcmOutputProducts 40.55s (~0%) 1 0 0
makeCcdVisitTable 39.55s (~0%) 1 0 0
makeVisitTable 31.26s (~0%) 1 0 0
--------------------------------------------------------------------------------
total 1113849.03s 1481 0 0
Executed 1481 quanta out of a total of 1658 quanta (~89%).
Step 2 afterburner:
LOGFILE=$LOGDIR/hsc_runs_rc2_w_2022_40_DM-36151_step2_afterburner.log; \
DATAQUERY="band != 'N921'"; \
date | tee -a $LOGFILE; \
$(which time) -f "Total runtime: %E" \
pipetask --long-log run --register-dataset-types -j 5 \
-b $REPO \
-i HSC/RC2/defaults,HSC/runs/RC2/w_2022_40/DM-36151 \
--output-run HSC/runs/RC2/w_2022_40/DM-36151/20221019T210526Z \
-p $DRP_PIPE_DIR/pipelines/HSC/DRP-RC2.yaml#step2 \
-d "instrument='HSC' AND $DATAQUERY" \
--skip-existing-in HSC/runs/RC2/w_2022_40/DM-36151 --extend-run --clobber-outputs \
2>&1 | tee -a $LOGFILE; \
date | tee -a $LOGFILE
Step 2 final results using task_check:
tasks expected completed missing
------------------------- -------- ------------- -------
skyCorr 404 404 (~100.0%) 0
consolidatePreSourceTable 404 404 (~100.0%) 0
consolidateVisitSummary 404 404 (~100.0%) 0
isolatedStarAssociation 37 37 (~100.0%) 0
makeCcdVisitTable 1 1 (~100.0%) 0
fgcmBuildStarsTable 1 1 (~100.0%) 0
makeVisitTable 1 1 (~100.0%) 0
finalizeCharacterization 404 404 (~100.0%) 0
fgcmFitCycle 1 1 (~100.0%) 0
fgcmOutputProducts 1 1 (~100.0%) 0