Skip to content

Commit

Permalink
Merge pull request #55 from lsst/tickets/DM-40603
Browse files Browse the repository at this point in the history
DM-40603 date panda.lsst.io documents for USDF
  • Loading branch information
zhaoyuyoung authored Sep 15, 2023
2 parents 2a8b385 + 694a3c7 commit cb68d0d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 16 deletions.
19 changes: 19 additions & 0 deletions python/lsst/ctrl/bps/panda/conf_example/setup_lsst_panda.sh
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
16 changes: 0 additions & 16 deletions python/lsst/ctrl/bps/panda/conf_example/setup_panda.sh

This file was deleted.

0 comments on commit cb68d0d

Please sign in to comment.