Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{2023.06}[system,sapphire_rapids] EasyBuild 4.8.2, 4.9.0, 4.9.1, 4.9.2, 4.9.3, 4.9.4 #851

Merged
Show file tree
Hide file tree
Changes from all commits
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
5 changes: 3 additions & 2 deletions EESSI-install-software.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,9 @@ else
# Make sure EESSI_PREFIX and EESSI_OS_TYPE are set
source $TOPDIR/init/minimal_eessi_env

# make sure directory exists (since it's expected by init/eessi_environment_variables when using archdetect)
mkdir -p ${EESSI_PREFIX}/software/${EESSI_OS_TYPE}/${EESSI_SOFTWARE_SUBDIR_OVERRIDE}
# make sure the the software and modules directory exist
# (since it's expected by init/eessi_environment_variables when using archdetect and by the EESSI module)
mkdir -p ${EESSI_PREFIX}/software/${EESSI_OS_TYPE}/${EESSI_SOFTWARE_SUBDIR_OVERRIDE}/{modules,software}
)
fi

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
easyconfigs:
- EasyBuild-4.8.2.eb
- EasyBuild-4.9.0.eb
- EasyBuild-4.9.1.eb
- EasyBuild-4.9.2.eb
- EasyBuild-4.9.3.eb
- EasyBuild-4.9.4.eb:
options:
# see https://github.com/easybuilders/easybuild-easyconfigs/pull/21465
from-commit: 39cdebd7bd2cb4a9c170ee22439401316b2e7a25
11 changes: 9 additions & 2 deletions load_eessi_extend_module.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,19 @@ else
echo ">> Final installation in ${EASYBUILD_INSTALLPATH}..."
export PATH=${EB_TMPDIR}/bin:${PATH}
export PYTHONPATH=$(ls -d ${EB_TMPDIR}/lib/python*/site-packages):${PYTHONPATH}
# EESSI-extend also needs EasyBuild to be installed as a module, so install the latest release
eb_install_out=${TMPDIR}/eb_install.out
ok_msg="Latest EasyBuild installed, let's go!"
fail_msg="Installing latest EasyBuild failed, that's not good... (output: ${eb_install_out})"
${EB} --install-latest-eb-release 2>&1 | tee ${eb_install_out}
check_exit_code $? "${ok_msg}" "${fail_msg}"
# Now install EESSI-extend
eessi_install_out=${TMPDIR}/eessi_install.out
ok_msg="EESSI-extend/${EESSI_EXTEND_VERSION} installed, let's go!"
fail_msg="Installing EESSI-extend/${EESSI_EXTEND_VERSION} failed, that's not good... (output: ${eb_install_out})"
fail_msg="Installing EESSI-extend/${EESSI_EXTEND_VERSION} failed, that's not good... (output: ${eessi_install_out})"
# while always adding --try-amend=keep... may do no harm, we could make
# an attempt to figure out if it is needed, e.g., when we are rebuilding
${EB} "EESSI-extend-easybuild.eb" --try-amend=keeppreviousinstall=True 2>&1 | tee ${eb_install_out}
${EB} "EESSI-extend-easybuild.eb" --try-amend=keeppreviousinstall=True 2>&1 | tee ${eessi_install_out}
check_exit_code $? "${ok_msg}" "${fail_msg}"
)

Expand Down