Skip to content
Draft
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
2 changes: 2 additions & 0 deletions EESSI-install-software.sh
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,8 @@ else
# load EasyBuild module (will be installed if it's not available yet)
source ${TOPDIR}/load_easybuild_module.sh ${eb_version}

export EASYBUILD_HOOKS=$TOPDIR/eb_hooks.py

${EB} --show-config

echo_green "All set, let's start installing some software with EasyBuild v${eb_version} in ${EASYBUILD_INSTALLPATH}..."
Expand Down
6 changes: 6 additions & 0 deletions eb_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -2021,6 +2021,12 @@ def set_maximum(parallel, max_value):
'*': (divide_by_factor, 2),
CPU_TARGET_A64FX: (set_maximum, 1),
},
'PyTorch': {
CPU_TARGET_AARCH64_GENERIC: (divide_by_factor, 2),
CPU_TARGET_A64FX: (set_maximum, 8),
CPU_TARGET_NEOVERSE_N1: (divide_by_factor, 2),
CPU_TARGET_NEOVERSE_V1: (divide_by_factor, 2),
},
'QuantumESPRESSO': {
CPU_TARGET_A64FX: (set_maximum, 6),
},
Expand Down
Loading