Skip to content

Commit

Permalink
Turn on sasquatch dispatch for all steps
Browse files Browse the repository at this point in the history
  • Loading branch information
eigerx committed May 30, 2024
1 parent bedb55e commit 99bf039
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/hsc_rc2_subset_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ source $EXAMPLES/common_setup.sh
config="hsc_rc2_subset.yaml"
config_name="hsc_rc2_subset"
p_name="HSC_rc2_subset"
lsst_version="w_2024_03"
lsst_version="w_2024_20"
c_name="${lsst_version}_sasquatch_test"
fullname="${p_name}/${c_name}"
db_path="output/cm_${p_name}_${c_name}.db"
Expand Down
8 changes: 4 additions & 4 deletions examples/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@ read -p "Which config would you like to use? (HSC-RC2, rc2_subset, DC2_test-med-
while [ $valid_config = false ]; do
if [ $CONFIG = 'HSC-RC2' ]
then
butler_repo='/sdf/group/rubin/repo/main'
butler_repo='/repo/main+sasquatch_dev'
source $EXAMPLES/hsc_weekly_setup.sh
valid_config=true
daemon_options="--max-running 10 --sleep-time 300"
elif [ $CONFIG = 'rc2_subset' ]
then
butler_repo='/repo/main.sasquatch_dev.yaml'
butler_repo='/repo/main+sasquatch_dev'
source $EXAMPLES/hsc_rc2_subset_setup.sh
valid_config=true
elif [ $CONFIG = 'DC2_test-med-1' ]
then
butler_repo='/sdf/group/rubin/repo/dc2'
butler_repo='/repo/dc2+sasquatch_dev'
source $EXAMPLES/dc2_test-med-1_setup.sh
valid_config=true
daemon_options="--max-running 10 --sleep-time 300"
elif [ $CONFIG = 'micro' ]
then
butler_repo='/sdf/group/rubin/repo/main'
butler_repo='/repo/main+sasquatch_dev'
source $EXAMPLES/hsc_rc2_singleframe_micro_setup.sh
valid_config=true
daemon_options="--max-running 10 --sleep-time 30"
Expand Down
2 changes: 1 addition & 1 deletion src/lsst/cm/prod/configs/DC2/test/dc2_bps_template.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env -S -i CM_PROD_DIR="${CM_PROD_DIR}" HOME="${HOME}" bash
#!/usr/bin/env -S -i CM_PROD_DIR="${CM_PROD_DIR}" HOME="${HOME}" DAF_BUTLER_REPOSITORY_INDEX=/sdf/group/rubin/shared/data-repos.yaml bash

# The shebang lines above are needed b/c setup lsst_distrib in putting
# the lsst python _after_ the virtual env python in the PATH, which
Expand Down
4 changes: 4 additions & 0 deletions src/lsst/cm/prod/configs/DC2/test/dc2_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,7 @@ finalJob:
numberOfRetries: 3

priority: 1000

extraQgraphOptions: >-
-c parameters:sasquatch_dataset_identifier=DC2/TestMed1
-c parameters:sasquatch_timestamp_version=reference_package_timestamp
4 changes: 4 additions & 0 deletions src/lsst/cm/prod/configs/HSC/test/hsc_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,7 @@ finalJob:
--register-dataset-types
priority: 1000

extraQgraphOptions: >-
-c parameters:sasquatch_dataset_identifier=HSC/RC2
-c parameters:sasquatch_timestamp_version=reference_package_timestamp

0 comments on commit 99bf039

Please sign in to comment.