Moertel: Undeclared Kokkos requirement
Created by: mhoemmen
When I enable Teuchos, disable Kokkos, and enable downstream packages, the Moertel package gets enabled. However, this results in a build error:
In file included from .../Trilinos/packages/moertel/src/mortar/mrtr_segment.cpp:47:0:
.../Trilinos/packages/moertel/src/mortar/Moertel_ExplicitTemplateInstantiation.hpp:55:25: error: ‘KokkosDeviceWrapperNode’ in namespace ‘Kokkos::Compat’ does not name a template type
typedef Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> KokkosNode;
Trilinos/packages/moertel/cmake/Dependencies.cmake
declares an optional dependency on Kokkos, so the issue appears to be that no one has ever tested Moertel with Kokkos disabled.
@trilinos/moertel
Possible Solution
Hide the typedef when Kokkos is disabled.
Related Issues
- Blocks #2273 (closed) (I need to test downstream packages with Teuchos enabled and Kokkos disabled)