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

add easystacks arg and bootstrap improvements #801

Open
wants to merge 1 commit into
base: 2023.06-software.eessi.io
Choose a base branch
from

Conversation

trz42
Copy link
Collaborator

@trz42 trz42 commented Oct 30, 2024

Adds command line arg --easystacks to install script EESSI-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 as

export EESSI_SOFTWARE_SUBDIR_OVERRIDE=aarch64/neoverse_v2
./run_in_compat_layer_env.sh \
  EESSI-install-software.sh \
    --easystacks ${HOME}/es/eessi-2023.06-eb-4.9.4-001-system.yml,${HOME}/es/eessi-2023.06-eb-4.9.4-2023b.yml

provided /cvmfs/software.eessi.io is writable as when running eessi_container.sh --access rw.

Also improves bootstrapping of a new architecture:

  • adds software directory to ${EESSI_PREFIX}/software/${EESSI_OS_TYPE}/${EESSI_SOFTWARE_SUBDIR_OVERRIDE} as its existence is tested by the EESSI/2023.06 module
  • checks if the module EESSI-extend/${EESSI_VERSION}-easybuild exists
    • if so, it loads it
    • if not, it doesn't load it but sets both ${EASYBUILD_INSTALLPATH} and ${EASYBUILD_EXPERIMENTAL} which are needed to install EasyBuild/SOME_VERSION and EESSI-extend/${EESSI_VERSION}-easybuild

@trz42 trz42 added enhancement New feature or request 2023.06-software.eessi.io 2023.06 version of software.eessi.io labels Oct 30, 2024
Copy link

eessi-bot bot commented Oct 30, 2024

Instance eessi-bot-mc-aws is configured to build for:

  • architectures: x86_64/generic, x86_64/intel/haswell, x86_64/intel/skylake_avx512, x86_64/amd/zen2, x86_64/amd/zen3, aarch64/generic, aarch64/neoverse_n1, aarch64/neoverse_v1
  • repositories: eessi.io-2023.06-compat, eessi-hpc.org-2023.06-software, eessi-hpc.org-2023.06-compat, eessi.io-2023.06-software

Copy link

eessi-bot bot commented Oct 30, 2024

Instance eessi-bot-mc-azure is configured to build for:

  • architectures: x86_64/amd/zen4
  • repositories: eessi-hpc.org-2023.06-software, eessi-hpc.org-2023.06-compat, eessi.io-2023.06-software, eessi.io-2023.06-compat

Comment on lines +285 to +291
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
Copy link
Member

@ocaisa ocaisa Oct 31, 2024

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

Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2023.06-software.eessi.io 2023.06 version of software.eessi.io enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants