File tree 3 files changed +8
-3
lines changed
3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 50
50
export SINGULARITY_BIND=" $SINGULARITY_BIND ,$BIND_PATHS "
51
51
fi
52
52
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
54
57
55
58
# set environment variables for fuse mounts in Singularity container
56
59
export 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
14
14
export EASYBUILD_RPATH=1
15
15
export EASYBUILD_FILTER_ENV_VARS=LD_LIBRARY_PATH
16
16
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)
18
20
# make sure hooks are available, so we can produce a clear error message
19
21
if [ ! -f $EASYBUILD_HOOKS ]; then
20
22
fatal_error "$EASYBUILD_HOOKS does not exist!"
Original file line number Diff line number Diff line change 1
1
# define minimal EESSI environment, without relying on external scripts
2
2
3
3
export 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} "
5
5
export EESSI_PREFIX=$EESSI_CVMFS_REPO/versions/$EESSI_PILOT_VERSION
6
6
7
7
if [[ $(uname -s) == 'Linux' ]]; then
You can’t perform that action at this time.
0 commit comments