]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Do not use mpi_initlog where initlog will do. 2729/head
authorDavid Wells <wellsd2@rpi.edu>
Tue, 28 Jun 2016 19:23:38 +0000 (15:23 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Tue, 28 Jun 2016 19:43:39 +0000 (15:43 -0400)
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
tests/base/cell_data_storage_02.cc

index 3e4ad199ca2ab488c8aee095336aa693b58ee1fa..683bbfec5a30d9b1efb15b5c95a8f07b5278af4e 100644 (file)
@@ -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
index 9962a78c55f2120bdb718aee41c470e1fefc955c..8c0f2a84a844a1149aa4300600c4095b945d9a0b 100644 (file)
@@ -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

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.