-
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 #55 from lsst/tickets/DM-40603
DM-40603 date panda.lsst.io documents for USDF
- Loading branch information
Showing
2 changed files
with
19 additions
and
16 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
python/lsst/ctrl/bps/panda/conf_example/setup_lsst_panda.sh
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,19 @@ | ||
#!/bin/bash | ||
# To setup PanDA at USDF: source setup_lsst_panda.sh w_2023_38 | ||
# If using PanDA at CERN: source setup_lsst_panda.sh w_2023_38 cern | ||
|
||
latest=$(ls -td /cvmfs/sw.lsst.eu/linux-x86_64/panda_env/v* | head -1) | ||
|
||
weekly=$1 | ||
panda_ins=$2 | ||
|
||
if [ "$panda_ins" == "cern" ]; then | ||
setupScript=${latest}/setup_panda_cern.sh | ||
echo "Submission to PanDA at: " $panda_ins | ||
else | ||
setupScript=${latest}/setup_panda_usdf.sh | ||
fi | ||
|
||
source ${latest}/setup_lsst.sh $weekly | ||
echo "setup from:" $setupScript | ||
source $setupScript |
This file was deleted.
Oops, something went wrong.