Skip to content

Commit

Permalink
disable using x86_64/amd/zen3 when x86_64/amd/zen4 in EESSI/2023.06 m…
Browse files Browse the repository at this point in the history
…odule
  • Loading branch information
boegel committed Jan 25, 2025
1 parent 1dd1d1f commit 9116904
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions init/modules/EESSI/2023.06.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,6 @@ function archdetect_cpu()
-- We loop over the list, and return the highest matching arch for which a directory exists for this EESSI version
for archdetect_filter_cpu in string.gmatch(archdetect_options, "([^" .. ":" .. "]+)") do
if isDir(pathJoin(eessi_prefix, "software", eessi_os_type, archdetect_filter_cpu, "software")) then
-- use x86_64/amd/zen3 for now when AMD Genoa (Zen4) CPU is detected,
-- since optimized software installations for Zen4 are a work-in-progress,
-- see https://gitlab.com/eessi/support/-/issues/37
if (archdetect_filter_cpu == "x86_64/amd/zen4" and not os.getenv("EESSI_SOFTWARE_SUBDIR_OVERRIDE") == "x86_64/amd/zen4") then
archdetect_filter_cpu = "x86_64/amd/zen3"
if mode() == "load" then
LmodMessage("Sticking to " .. archdetect_filter_cpu .. " for now, since optimized installations for AMD Genoa (Zen4) are a work in progress.")
end
end
eessiDebug("Selected archdetect CPU: " .. archdetect_filter_cpu)
return archdetect_filter_cpu
end
Expand Down

0 comments on commit 9116904

Please sign in to comment.