From 7e23e424934e984d22fffd0d3afa0b3edb773ac0 Mon Sep 17 00:00:00 2001 From: Caspar van Leeuwen Date: Thu, 23 Apr 2026 02:00:38 +0200 Subject: [PATCH] Account for possibility that we have an AMD instead of NVIDIA accelerator, and in that case ALSO define the installpath including the accelerator subdir --- EESSI-extend-easybuild.eb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EESSI-extend-easybuild.eb b/EESSI-extend-easybuild.eb index 977dbe0a..4658d2a8 100644 --- a/EESSI-extend-easybuild.eb +++ b/EESSI-extend-easybuild.eb @@ -134,7 +134,7 @@ if eessi_cvmfs_install then end easybuild_installpath = os.getenv("EESSI_SOFTWARE_PATH") -- enforce accelerator subdirectory usage for CVMFS installs (only if an accelerator install is requested) - if (eessi_accelerator_target ~= nil) and (cuda_compute_capability ~= nil) and (os.getenv("EESSI_ACCELERATOR_INSTALL") ~= nil) then + if (eessi_accelerator_target ~= nil) and (cuda_compute_capability ~= nil or amd_compute_capability ~= nil) and (os.getenv("EESSI_ACCELERATOR_INSTALL") ~= nil) then easybuild_installpath = pathJoin(easybuild_installpath, eessi_accelerator_target) end elseif eessi_site_install then