Xpetra: EpetraNode typedef definition should check Kokkos macros too
Created by: mhoemmen
Xpetra's "serial node" type means Xpetra::EpetraNode, which is a typedef in xpetra/src/Map/Xpetra_Map.hpp. It is either Kokkos::Compat::KokkosOpenMPWrapperNode or Kokkos::Compat::KokkosSerialWrapperNode, depending on configuration options.
Currently, those options check the EPETRA_HAVE_OMP macro to decide whether to use KokkosOpenMPWrapperNode as EpetraNode. They should also check the Kokkos macros KOKKOS_HAVE_OPENMP and KOKKOS_HAVE_SERIAL. It is entirely possible for either or both to be disabled Kokkos, yet for Epetra to be enabled.