Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions bot/inspect.sh
Original file line number Diff line number Diff line change
Expand Up @@ -382,15 +382,12 @@ else
fatal_error "Failed to initialize Lmod?! (see output in ${ml_version_out}"
fi

echo ">> Configuring EasyBuild..."
source $TOPDIR/configure_easybuild

echo ">> Setting up \$MODULEPATH..."
# make sure no modules are loaded
module --force purge
# ignore current $MODULEPATH entirely
module unuse $MODULEPATH
module use $EASYBUILD_INSTALLPATH/modules/all
module use $EESSI_SOFTWARE_PATH/modules/all
if [[ -z ${MODULEPATH} ]]; then
fatal_error "Failed to set up \$MODULEPATH?!"
else
Expand All @@ -405,14 +402,15 @@ echo " - job directory is $HOME (\$HOME), check for slurm-*.out file"
echo " - temporary data of the job is available at /tmp"
echo " - note, the prefix $EESSI_PREFIX is writable"
echo
echo "You may want to load an EasyBuild module. The inspect.sh script does not load"
echo "that automatically, because multiple versions might have been used by the job."
echo "You may want to load an EasyBuild/EESSI-extend modules. The inspect.sh script does not"
Comment thread
ocaisa marked this conversation as resolved.
Outdated
echo "load those automatically, because multiple versions might have been used by the job."
echo "Choose an EasyBuild version (see installed versions with 'module avail EasyBuild')"
echo "and simply run"
echo
echo "module load EasyBuild/_VERSION_"
echo "module load EEESSI-extend"
echo
echo "Replace _VERSION_ with the version you want to use."
echo "Replace _VERSION_ with the EasyBuild version you want/need to use."
echo

EOF
Expand Down
3 changes: 2 additions & 1 deletion check_missing_installations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ LOCAL_TMPDIR=$(mktemp -d)

source $TOPDIR/scripts/utils.sh

source $TOPDIR/configure_easybuild
# configure EasyBuild via EESSI-extend
module load EESSI-extend

echo ">> Active EasyBuild configuration when checking for missing installations:"
${EB:-eb} --show-config
Expand Down
65 changes: 0 additions & 65 deletions configure_easybuild

This file was deleted.

2 changes: 1 addition & 1 deletion load_eessi_extend_module.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ if [ "${install_eessi_extend}" = true ] || [ "${rebuild_eessi_extend}" = true ];
ORIG_PATH=${PATH}
ORIG_PYTHONPATH=${PYTHONPATH}

# source configure_easybuild to use correct eb settings
# minimally configure easybuild to get EESSI-extend in the right place
(
export EASYBUILD_PREFIX=${TMPDIR}/easybuild
export EASYBUILD_READ_ONLY_INSTALLDIR=1
Expand Down