From c7eb5830475a32e530b641f5bd8f2d0d530a43ec Mon Sep 17 00:00:00 2001 From: Bruno Turcksin Date: Fri, 3 Feb 2023 09:58:55 -0500 Subject: [PATCH] Remove Kokkos::initialize and finalize --- tests/mpi/parallel_partitioner_device_06.cc | 4 +--- tests/mpi/parallel_partitioner_device_07.cc | 4 +--- tests/mpi/parallel_partitioner_device_08.cc | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/tests/mpi/parallel_partitioner_device_06.cc b/tests/mpi/parallel_partitioner_device_06.cc index 67da810cd6..7a35215cdb 100644 --- a/tests/mpi/parallel_partitioner_device_06.cc +++ b/tests/mpi/parallel_partitioner_device_06.cc @@ -199,8 +199,6 @@ int main(int argc, char **argv) { Utilities::MPI::MPI_InitFinalize mpi(argc, argv); - Kokkos::initialize(); - MPILogInitAll log; + MPILogInitAll log; test(); - Kokkos::finalize(); } diff --git a/tests/mpi/parallel_partitioner_device_07.cc b/tests/mpi/parallel_partitioner_device_07.cc index d812e9dd34..3c2c593369 100644 --- a/tests/mpi/parallel_partitioner_device_07.cc +++ b/tests/mpi/parallel_partitioner_device_07.cc @@ -229,8 +229,6 @@ int main(int argc, char **argv) { Utilities::MPI::MPI_InitFinalize mpi(argc, argv); - Kokkos::initialize(); - MPILogInitAll log; + MPILogInitAll log; test(); - Kokkos::finalize(); } diff --git a/tests/mpi/parallel_partitioner_device_08.cc b/tests/mpi/parallel_partitioner_device_08.cc index 3429cd7f7f..177a84966c 100644 --- a/tests/mpi/parallel_partitioner_device_08.cc +++ b/tests/mpi/parallel_partitioner_device_08.cc @@ -177,11 +177,9 @@ main(int argc, char **argv) using namespace dealii; Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1); - Kokkos::initialize(); - MPILogInitAll log; + MPILogInitAll log; test(); - Kokkos::finalize(); return 0; } -- 2.39.5