mfem: add hipblas dependency for superlu-dist (#40981)

This commit is contained in:
Satish Balay 2023-11-09 13:19:48 -06:00 committed by GitHub
parent b5e2f23b6c
commit b17d7cd0e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -967,6 +967,9 @@ def find_optional_library(name, prefix):
if "^rocthrust" in spec and not spec["hip"].external: if "^rocthrust" in spec and not spec["hip"].external:
# petsc+rocm needs the rocthrust header path # petsc+rocm needs the rocthrust header path
hip_headers += spec["rocthrust"].headers 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: if "%cce" in spec:
# We assume the proper Cray CCE module (cce) is loaded: # We assume the proper Cray CCE module (cce) is loaded:
craylibs_path = env["CRAYLIBS_" + machine().upper()] craylibs_path = env["CRAYLIBS_" + machine().upper()]