From a38f6599e6b7e0dce968eb6076aeec9208207002 Mon Sep 17 00:00:00 2001 From: David Wells Date: Tue, 28 Jun 2016 15:23:38 -0400 Subject: [PATCH] Do not use mpi_initlog where initlog will do. Since these tests are run without mpi (i.e., without mpirun) mpi_initlog is not necessary. This also fixes the tests in the case where deal.II is configured without support for MPI. --- tests/base/cell_data_storage_01.cc | 4 ++-- tests/base/cell_data_storage_02.cc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/base/cell_data_storage_01.cc b/tests/base/cell_data_storage_01.cc index 3e4ad199ca..683bbfec5a 100644 --- a/tests/base/cell_data_storage_01.cc +++ b/tests/base/cell_data_storage_01.cc @@ -156,7 +156,7 @@ void test() int main(int argc, char *argv[]) { Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1); - mpi_initlog(); + initlog(); test<2>(); } @@ -165,7 +165,7 @@ int main(int argc, char *argv[]) int main(int argc, char *argv[]) { Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1); - mpi_initlog(); + initlog(); deallog << "Ok" << std::endl; } #endif diff --git a/tests/base/cell_data_storage_02.cc b/tests/base/cell_data_storage_02.cc index 9962a78c55..8c0f2a84a8 100644 --- a/tests/base/cell_data_storage_02.cc +++ b/tests/base/cell_data_storage_02.cc @@ -137,7 +137,7 @@ void test() int main(int argc, char *argv[]) { Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1); - mpi_initlog(); + initlog(); test<2>(); } @@ -146,7 +146,7 @@ int main(int argc, char *argv[]) int main(int argc, char *argv[]) { Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1); - mpi_initlog(); + initlog(); deallog << "Ok" << std::endl; } #endif -- 2.39.5