From b17d7cd0e671a06b8ccc9ccc3cf1bfab39593d43 Mon Sep 17 00:00:00 2001 From: Satish Balay Date: Thu, 9 Nov 2023 13:19:48 -0600 Subject: mfem: add hipblas dependency for superlu-dist (#40981) --- var/spack/repos/builtin/packages/mfem/package.py | 3 +++ 1 file changed, 3 insertions(+) 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()] -- cgit v1.2.3-70-g09d2