Open balay opened 4 days ago
BTW: I get similar failure with hip@5.7.1
ref: /bin/spack install -j64 xsdk@1.1.0+rocm~heffte+phist amdgpu_target=gfx90a ^hip@5.7.1 ^hipfft@5.7.1
also cc: @MarcelKoch
For now, using:
diff --git a/var/spack/repos/builtin/packages/xsdk/package.py b/var/spack/repos/builtin/packages/xsdk/package.py
index ee9fd7e90e..ba981ef7d4 100644
--- a/var/spack/repos/builtin/packages/xsdk/package.py
+++ b/var/spack/repos/builtin/packages/xsdk/package.py
@@ -218,7 +218,7 @@ class Xsdk(BundlePackage, CudaPackage, ROCmPackage):
xsdk_depends_on("alquimia@1.0.10", when="@0.8.0 +alquimia")
xsdk_depends_on("sundials +trilinos", when="+trilinos")
- xsdk_depends_on("sundials +ginkgo", when="+ginkgo @0.8.0:")
+ xsdk_depends_on("sundials +ginkgo", when="+ginkgo @0.8.0: ~rocm")
xsdk_depends_on("sundials +sycl cxxstd=17", when="@1.0.0: +sycl")
xsdk_depends_on(
"sundials@7.2.0~int64+hypre+petsc+superlu-dist",
@balay this seems to be an error on the sundials side. The following line is missing a ;
at the end: https://github.com/LLNL/sundials/blob/4e60ad61ec6492764fb92d2cbd55b35c60fd7760/examples/sunmatrix/ginkgo/test_sunmatrix_ginkgo.cpp#L107.
@MarcelKoch thanks for finding the issue! My build goes through with this fix.
Perhaps you might consider creating a PR directly to sundials with this fix. [or @balos1 can hopefully add this in]
Since this is a 1-line fix, it might be faster if @balos1 just adds this.
Fix is here: https://github.com/LLNL/sundials/pull/573.
This is using the following for sundials, and with ginkgo@1.8.0 (and hip@6.2.0):
spack-build-out.txt
ref:
./bin/spack install -j64 xsdk@1.1.0+rocm~heffte+phist amdgpu_target=gfx90a