Amesos2 fails to build with Tpetra_INST_INT_INT=OFF & Amesos2_ENABLE_Epetra=OFF
Created by: mhoemmen
@micahahoward reports:
CUDA is still failing for me. I think this is because we have Tpetra_INST_INT_INT turned off now. See this:
.../Trilinos/.../libamesos2.a(Amesos2_Superludist.cpp.o): In function `Amesos2::ConcreteMatrixAdapter<Tpetra::CrsMatrix<double, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > >::get_impl(Teuchos::Ptr<Tpetra::Map<int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > const>, Amesos2::EDistribution) const'
Amesos2 used to build (and should build) just fine a week or two ago, with Tpetra_INST_INT_INT=OFF
and Amesos2_ENABLE_Epetra=OFF
. (See #2548 discussion.)
@trilinos/amesos2 @trilinos/tpetra @tcfisher
Expectations
All Trilinos packages that use Tpetra should respect what Tpetra enables and disables.
Motivation and Context
SPARC needs Amesos2 to build with these options set, because otherwise the linker fails (static libraries get too large when we set Tpetra_INST_INT_INT=ON
).
Related Issues
- Blocks #2548