summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSatish Balay <balay@mcs.anl.gov>2023-11-09 13:19:48 -0600
committerGitHub <noreply@github.com>2023-11-09 11:19:48 -0800
commitb17d7cd0e671a06b8ccc9ccc3cf1bfab39593d43 (patch)
treecd0792e04aa98659b12fae1b96b7efb6e17333ae
parentb5e2f23b6cfbb37cbeb5b600b2ff188271e3601f (diff)
downloadspack-b17d7cd0e671a06b8ccc9ccc3cf1bfab39593d43.tar.gz
spack-b17d7cd0e671a06b8ccc9ccc3cf1bfab39593d43.tar.bz2
spack-b17d7cd0e671a06b8ccc9ccc3cf1bfab39593d43.tar.xz
spack-b17d7cd0e671a06b8ccc9ccc3cf1bfab39593d43.zip
mfem: add hipblas dependency for superlu-dist (#40981)
-rw-r--r--var/spack/repos/builtin/packages/mfem/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mfem/package.py b/var/spack/repos/builtin/packages/mfem/package.py
index f4821e63c2..75eeda7b1f 100644
--- a/var/spack/repos/builtin/packages/mfem/package.py
+++ b/var/spack/repos/builtin/packages/mfem/package.py
@@ -967,6 +967,9 @@ class Mfem(Package, CudaPackage, ROCmPackage):
if "^rocthrust" in spec and not spec["hip"].external:
# petsc+rocm needs the rocthrust header path
hip_headers += spec["rocthrust"].headers
+ if "^hipblas" in spec and not spec["hip"].external:
+ # superlu-dist+rocm needs the hipblas header path
+ hip_headers += spec["hipblas"].headers
if "%cce" in spec:
# We assume the proper Cray CCE module (cce) is loaded:
craylibs_path = env["CRAYLIBS_" + machine().upper()]