-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from lsst/tickets/DM-36413
Update default bps configuration for S3DF
- Loading branch information
Showing
3 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
# To setup PanDA: source setup_panda.sh w_2022_32 | ||
# If using SDF: source setup_panda.sh w_2022_32 sdf | ||
|
||
latest=$(ls -td /cvmfs/sw.lsst.eu/linux-x86_64/panda_env/v* | head -1) | ||
|
||
usdf_cluster=$2 | ||
if [ "$usdf_cluster" == "sdf" ]; then | ||
setupScript=${latest}/setup_panda.sh | ||
echo "Working on cluster: " $usdf_cluster | ||
else | ||
setupScript=${latest}/setup_panda_s3df.sh | ||
fi | ||
echo "setup from:" $setupScript | ||
|
||
source $setupScript $1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# An example bps submission yaml | ||
# Need to setup USDF before submitting the yaml | ||
# source setupUSDF.sh | ||
|
||
LSST_VERSION: w_2022_32 | ||
|
||
includeConfigs: | ||
- ${CTRL_BPS_PANDA_DIR}/config/bps_usdf.yaml | ||
|
||
queue: "SLAC_Rubin_SDF" | ||
|
||
executionButler: | ||
requestMemory: 4000 | ||
queue: "SLAC_Rubin_SDF" | ||
|
||
pipelineYaml: "${DRP_PIPE_DIR}/pipelines/HSC/DRP-RC2.yaml#isr" | ||
|
||
payload: | ||
payloadName: testUSDF_sdf | ||
inCollection: "HSC/RC2/defaults" | ||
dataQuery: "exposure = 34342 AND detector = 10" |