File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 5050 export SINGULARITY_BIND=" $SINGULARITY_BIND ,$BIND_PATHS "
5151fi
5252
53- export SINGULARITY_HOME=" $EESSI_TMPDIR /home:/home/$USER "
53+ # allow that SINGULARITY_HOME is defined before script is run
54+ if [ -z $SINGULARITY_HOME ]; then
55+ export SINGULARITY_HOME=" $EESSI_TMPDIR /home:/home/$USER "
56+ fi
5457
5558# set environment variables for fuse mounts in Singularity container
5659export EESSI_PILOT_READONLY=" container:cvmfs2 pilot.eessi-hpc.org /cvmfs_ro/pilot.eessi-hpc.org"
Original file line number Diff line number Diff line change @@ -14,7 +14,9 @@ export EASYBUILD_ZIP_LOGS=bzip2
1414export EASYBUILD_RPATH=1
1515export EASYBUILD_FILTER_ENV_VARS=LD_LIBRARY_PATH
1616
17- export EASYBUILD_HOOKS=$(realpath eb_hooks.py)
17+ # assume that eb_hooks.py is located in same directory as this script (configure_easybuild)
18+ TOPDIR=$(dirname $(realpath $BASH_SOURCE))
19+ export EASYBUILD_HOOKS=$(realpath ${TOPDIR}/eb_hooks.py)
1820# make sure hooks are available, so we can produce a clear error message
1921if [ ! -f $EASYBUILD_HOOKS ]; then
2022 fatal_error "$EASYBUILD_HOOKS does not exist!"
Original file line number Diff line number Diff line change 11# define minimal EESSI environment, without relying on external scripts
22
33export EESSI_CVMFS_REPO="/cvmfs/pilot.eessi-hpc.org"
4- export EESSI_PILOT_VERSION="2021.12"
4+ export EESSI_PILOT_VERSION="${EESSI_PILOT_VERSION_OVERRIDE:= 2021.12} "
55export EESSI_PREFIX=$EESSI_CVMFS_REPO/versions/$EESSI_PILOT_VERSION
66
77if [[ $(uname -s) == 'Linux' ]]; then
You can’t perform that action at this time.
0 commit comments