From: David Wells Date: Tue, 28 Jun 2016 19:23:38 +0000 (-0400) Subject: Do not use mpi_initlog where initlog will do. X-Git-Tag: v8.5.0-rc1~942^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2729%2Fhead;p=dealii.git 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. --- 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