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.
int main(int argc, char *argv[])
{
Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
- mpi_initlog();
+ initlog();
test<2>();
}
int main(int argc, char *argv[])
{
Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
- mpi_initlog();
+ initlog();
deallog << "Ok" << std::endl;
}
#endif
int main(int argc, char *argv[])
{
Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
- mpi_initlog();
+ initlog();
test<2>();
}
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