MueLu: Link error when when compiling with CUDA
Created by: tjfulle
On ride, when configuring Trilinos with the following (OpenMP) options:
-D Trilinos_ENABLE_OpenMP:BOOL=ON \
-D Kokkos_ENABLE_OpenMP:BOOL=ON \
-D Tpetra_INST_OPENMP:BOOL=OFF \
I get the following @trilinos/muelu build error
collect2: error: ld returned 1 exit status
make[2]: *** [packages/muelu/test/paramlist/MueLu_paramlist.exe] Error 1
make[1]: *** [packages/muelu/test/paramlist/CMakeFiles/MueLu_paramlist.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
The actual error is:
../../src/libmuelu.so.12.13: undefined reference to `Tpetra::MultiVector<double, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP, Kokkos::HostSpace>, false>::scale(Teuchos::ArrayView<double const> const&)'