Skip to content

Commit

Permalink
DM-40603 date panda.lsst.io documents for USDF
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoyu committed Sep 15, 2023
1 parent 2a8b385 commit 694a3c7
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 694a3c7

Please sign in to comment.