MueLu: unit tests ETI needs to guard kokkos code for Epetra only
Created by: lucbv
f46f6dbf is adding kokkos::initialize and kokkos::finalize to the unit test ETI macro, but this seems wrong in the case of Epetra only instantiation. I think that these should be guarded as something like:
#ifdef HAVE_MUELU_TPETRA kokkos::initialize() #endif ... #ifdef HAVE_MUELU_TPETRA kokkos::finalize() #endif
or are there some cases where
Tpetra might be on but we still do not want
I will add these guard and build with Epetra only to check that it fixes things...