Skip to content

Commit

Permalink
Merge pull request EESSI#573 from EESSI/ocaisa-patch-2
Browse files Browse the repository at this point in the history
Only correct the Zen4 software subdirectory if it has not been overridden
  • Loading branch information
boegel authored May 16, 2024
2 parents 2dd2015 + 363d3ad commit 158ad00
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions init/eessi_environment_variables
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,10 @@ if [ -d $EESSI_PREFIX ]; then
# since optimized software installations for Zen4 are a work-in-progress,
# see https://gitlab.com/eessi/support/-/issues/37
if [[ "${EESSI_SOFTWARE_SUBDIR}" == "x86_64/amd/zen4" ]]; then
export EESSI_SOFTWARE_SUBDIR="x86_64/amd/zen3"
echo -e "\e[33mSticking to ${EESSI_SOFTWARE_SUBDIR} for now, since optimized installations for AMD Genoa (Zen4) are a work in progress, see https://gitlab.com/eessi/support/-/issues/37 for more information\e[0m"
if [ -z $EESSI_SOFTWARE_SUBDIR_OVERRIDE ]; then
export EESSI_SOFTWARE_SUBDIR="x86_64/amd/zen3"
echo -e "\e[33mSticking to ${EESSI_SOFTWARE_SUBDIR} for now, since optimized installations for AMD Genoa (Zen4) are a work in progress, see https://gitlab.com/eessi/support/-/issues/37 for more information\e[0m"
fi
fi

show_msg "Using ${EESSI_SOFTWARE_SUBDIR} as software subdirectory."
Expand Down

0 comments on commit 158ad00

Please sign in to comment.