Skip to content

Commit 0c2d7e2

Browse files
committed
add lxplus support
1 parent f32c8d2 commit 0c2d7e2

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ It is also possible to use the HTCondor Python bindings inside a container.
147147
This requires correctly specifying the HTCondor configuration.
148148
A simple approach is provided in [bind_condor.sh](./bind_condor.sh).
149149
150-
Support is currently provided for the cmslpc cluster at Fermilab, and the CMS Connect and OSG clusters hosted at UChicago.
150+
Support is currently provided for the cmslpc cluster at Fermilab, the lxplus cluster at CERN, and the CMS Connect and OSG clusters hosted at UChicago.
151151
152152
### Usage
153153

bind_condor.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,16 @@ fi
1414
OSG_CONDOR_CONFIG=/etc/condor/condor_config
1515
OSG_CONDOR_LOCAL=/usr/share/condor/config.d,/etc/condor/config.d
1616

17+
LXP_CONDOR_CONFIG=/etc/condor/condor_config
18+
LXP_CONDOR_LOCAL=/etc/condor/config.d,/usr/bin/myschedd.sh,/usr/bin/myschedd,/etc/myschedd
19+
1720
if [[ "$(uname -a)" == *cms*.fnal.gov* ]]; then
1821
export APPTAINER_BIND=${APPTAINER_BIND}${APPTAINER_BIND:+,}${LPC_CONDOR_CONFIG},${LPC_CONDOR_LOCAL}:${LPC_CONDOR_LOCAL}.orig,${COMMAND_PATH}:${LPC_CONDOR_LOCAL}
1922
export APPTAINERENV_CONDOR_CONFIG=${LPC_CONDOR_CONFIG}
2023
elif [[ "$(uname -a)" == *.uscms.org* ]] || [[ "$(uname -a)" == *.osg-htc.org* ]]; then
2124
export APPTAINER_BIND=${APPTAINER_BIND}${APPTAINER_BIND:+,}${OSG_CONDOR_CONFIG},${OSG_CONDOR_LOCAL}
2225
export APPTAINERENV_CONDOR_CONFIG=${OSG_CONDOR_CONFIG}
26+
elif [[ "$(uname -a)" == *lxplus*.cern.ch* ]]; then
27+
export APPTAINER_BIND=${APPTAINER_BIND}${APPTAINER_BIND:+,}${LXP_CONDOR_CONFIG},${LXP_CONDOR_LOCAL}
28+
export APPTAINERENV_CONDOR_CONFIG=${LXP_CONDOR_CONFIG}
2329
fi

0 commit comments

Comments
 (0)