Skip to content

Commit

Permalink
Update ctrl_bps_panda/config/bps_usdf.yaml to allow for local custom …
Browse files Browse the repository at this point in the history
…setup
  • Loading branch information
zhaoyu committed Feb 28, 2023
1 parent eaf9ea1 commit f8afffe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/bps_usdf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,18 @@ computeSite: SLAC
requestMemory: 2048
# PanDA does the scheduling based on memory request


custom_lsst_setup: ""
setupLSSTEnv: >
source /cvmfs/sw.lsst.eu/linux-x86_64/lsst_distrib/{LSST_VERSION}/loadLSST.bash;
pwd; ls -al;
setup lsst_distrib;
{custom_lsst_setup}
# To override the IDF runnerCommand. It can be dropped when a universal runnerCommand is available in bps_panda.yaml
runnerCommand: >
unset PYTHONPATH;
{setupLSSTEnv}
pwd; ls -al;
python3 ${CTRL_BPS_PANDA_DIR}/python/lsst/ctrl/bps/panda/edgenode/cmd_line_decoder.py _cmd_line_ & pJob=$!;
prmon -i 5
-f memory_monitor_output.txt
Expand Down
1 change: 1 addition & 0 deletions doc/changes/DM-38142.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update ctrl_bps_panda/config/bps_usdf.yaml to allow for local custom setup

0 comments on commit f8afffe

Please sign in to comment.