]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: Use default Kokkos' DefaultNodeType in Tpetra test 13974/head
authorMatthias Maier <tamiko@43-1.org>
Tue, 14 Jun 2022 04:17:00 +0000 (23:17 -0500)
committerMatthias Maier <tamiko@43-1.org>
Tue, 14 Jun 2022 04:17:54 +0000 (23:17 -0500)
cmake/configure/configure_20_trilinos.cmake

index 8a9a4a0796f5c3734be9766a8082633d68f5e25f..1d48f7abf65bb0eae853980a5ebd3169e9ae3072 100644 (file)
@@ -231,10 +231,9 @@ MACRO(FEATURE_TRILINOS_FIND_EXTERNAL var)
         {
           using LO       = int;
           using GO       = unsigned int;
-          using Node     = Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial>;
-          using map_type = Tpetra::Map<LO, GO, Node>;
-          Teuchos::RCP<const map_type>         dummy_map = Teuchos::rcp(new map_type());
-          Tpetra::Vector<double, LO, GO, Node> dummy_vector(dummy_map);
+          using map_type = Tpetra::Map<LO, GO>;
+          Teuchos::RCP<const map_type>   dummy_map = Teuchos::rcp(new map_type());
+          Tpetra::Vector<double, LO, GO> dummy_vector(dummy_map);
           (void)dummy_vector;
           return 0;
         }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.