Closed balay closed 11 months ago
Hi, @balay I've changed it to #include <hipblas/hipblas.h> in the latest commit https://github.com/xiaoyeli/superlu_dist/commit/ed54da1c316e27880085ef4c7093609b5154df92
Can you give it a try again?
@balay Can you please confirm that this issue is resolved? Thanks.
Trying this build with the following change:
diff --git a/var/spack/repos/builtin/packages/xsdk/package.py b/var/spack/repos/builtin/packages/xsdk/package.py
index 102b1fb3b3..98c8efbbc0 100644
--- a/var/spack/repos/builtin/packages/xsdk/package.py
+++ b/var/spack/repos/builtin/packages/xsdk/package.py
@@ -146,7 +146,7 @@ class Xsdk(BundlePackage, CudaPackage, ROCmPackage):
)
xsdk_depends_on("superlu-dist@develop", when="@develop")
- xsdk_depends_on("superlu-dist@8.2.0", when="@1.0.0")
+ xsdk_depends_on("superlu-dist@8.2.0", when="@1.0.0", cuda_var="cuda", rocm_var="rocm")
xsdk_depends_on("superlu-dist@8.1.2", when="@0.8.0")
xsdk_depends_on("superlu-dist@7.1.1", when="@0.7.0")
xsdk_depends_on(
ref:
balay@petsc-gpu-02:/scratch/balay/spack$ ./bin/spack install -j64 xsdk@1.0.0+rocm amdgpu_target=gfx90a
PETSc build does go through now - with this change. Thanks!
So gpu_wrapper.h needs to use
#include <hipblas/hipblas.h>
as the warning suggests.Or better yet - it would be great if the hip includes can be excluded from the superlu-dist public includes
ref: https://github.com/xsdk-project/xsdk-issues/issues/227#issuecomment-1762177418