-
Notifications
You must be signed in to change notification settings - Fork 49
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
add easystacks arg and bootstrap improvements #801
base: 2023.06-software.eessi.io
Are you sure you want to change the base?
add easystacks arg and bootstrap improvements #801
Conversation
Instance
|
Instance
|
if [ ${ec} -eq 0 ]; then | ||
module load ${eessi_extend_module} | ||
else | ||
echo "Did not find ${eessi_extend_module} module; setting EASYBUILD_INSTALLPATH and EASYBUILD_EXPERIMENTAL manually" | ||
export EASYBUILD_INSTALLPATH=${EESSI_PREFIX}/software/${EESSI_OS_TYPE}/${EESSI_SOFTWARE_SUBDIR_OVERRIDE} | ||
export EASYBUILD_EXPERIMENTAL=1 | ||
fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This creates an alternative installation setup that is dependent on whether the ${eessi_extend_module}
is available or not. Rather than do that we should just have a script that ensures this module is in place (something we already have for EasyBuild itself, https://github.com/EESSI/software-layer/blob/2023.06-software.eessi.io/load_easybuild_module.sh).
I'll look into extending the existing script to also/alternatively install EESSI-extend
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion for this in trz42#76
Adds command line arg
--easystacks
to install scriptEESSI-install-software.sh
. This can be used for interactively building software using one or multiple easystack files (comma-separated). Starting builds for a new architecture could be as simple asprovided
/cvmfs/software.eessi.io
is writable as when runningeessi_container.sh --access rw
.Also improves bootstrapping of a new architecture:
software
directory to${EESSI_PREFIX}/software/${EESSI_OS_TYPE}/${EESSI_SOFTWARE_SUBDIR_OVERRIDE}
as its existence is tested by theEESSI/2023.06
moduleEESSI-extend/${EESSI_VERSION}-easybuild
exists${EASYBUILD_INSTALLPATH}
and${EASYBUILD_EXPERIMENTAL}
which are needed to installEasyBuild/SOME_VERSION
andEESSI-extend/${EESSI_VERSION}-easybuild