Skip to content

Commit

Permalink
Allow overriding to use Zen4
Browse files Browse the repository at this point in the history
  • Loading branch information
ocaisa committed Oct 16, 2024
1 parent b8c311d commit fe6a7de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init/modules/EESSI/2023.06.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function archdetect_cpu()
-- 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" then
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.")
Expand Down

0 comments on commit fe6a7de

Please sign in to comment.