Open balos1 opened 11 months ago
It seems issue is related to the Ifpack interface to Hypre
n file included from /tmp/balos1/spack-stage/spack-stage-trilinos-14.4.0-l5k3rhfwmx4poriyak2aevhkbk626x7r/spack-build-l5k3rhf/packages/stokhos/src/Ifpack2_Hypre_MP_Vector_16_Serial.cpp:51:
/tmp/balos1/spack-stage/spack-stage-trilinos-14.4.0-l5k3rhfwmx4poriyak2aevhkbk626x7r/spack-src/packages/ifpack2/src/Ifpack2_Hypre_def.hpp:480:19: error: no matching function for call to 'HYPRE_IJVectorSetValues'
IFPACK2_CHK_ERR(HYPRE_IJVectorSetValues(xHypre_,NumEntries,indices,xPtr));
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/balos1/spack-stage/spack-stage-trilinos-14.4.0-l5k3rhfwmx4poriyak2aevhkbk626x7r/spack-build-l5k3rhf/packages/stokhos/src/Ifpack2_Hypre_MP_Vector_16_Serial.cpp:55:44: note: in instantiation of member function 'Ifpack2::Hypre<Tpetra::RowMatrix<Sacado::MP::Vector<Stokhos::StaticFixedStorage<int, double, 16, Kokkos::Serial>>, int, int, Tpetra::KokkosCompat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace>>>::SetCoordinates' requested here
INSTANTIATE_TPETRA_MP_VECTOR_WRAPPER_NODES(IFPACK2_HYPRE_INSTANT)
@cgcgcg Here is an issue on Frontier.
@balos1 Do you still have the build directory? Can you get us the file packages/ifpack2/Ifpack2_HypreParameterMap.hpp that gets generated during CMake configure?
Ah shoot, this isn't one of the automatically wrapped Hypre functions. I think what's happening here is that Stokhos is enabled but Hypre cannot support AD types. So we'd need some logic in Ifpack2 that disables the Hypre adapter.
Looks like a duplicate of https://github.com/xsdk-project/xsdk-issues/issues/238
Unfortunately it is not. I'm working on a fix.
Should be fixed by https://github.com/trilinos/Trilinos/pull/12518
The spack output file is too big for github, so here it is on Google drive spack-build-out.txt