Xpetra: many tests fail when Epetra, Tpetra, and OpenMP enabled
Created by: mhoemmen
@trilinos/xpetra
When Epetra is enabled, Xpetra uses Kokkos::Compat::KokkosSerialWrapperNode
as its Node type. (This corresponds to the Kokkos::Serial
execution space.) There would be nothing particularly wrong with that, except that if Tpetra is also enabled, Xpetra then tries to instantiate Tpetra for that Node type. This is a problem because Tpetra does not necessarily enable that Node type. For example, if OpenMP is enabled (Trilinos_ENABLE_OpenMP=ON
), Tpetra only enables the OpenMP Node type (Kokkos::Compat::KokkosOpenMPWrapperNode
) by default.
My recent commit fixed the MPI_DEBUG build due to the above issue:
https://github.com/trilinos/Trilinos/commit/64c7185b0b60411f65757ad3abc1c333470bdf83
but it does NOT fix several failing tests. My guess is that the test failures are related.