]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix simplex test failure 10956/head
authorPeter Munch <peterrmuench@gmail.com>
Wed, 23 Sep 2020 17:21:06 +0000 (19:21 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Wed, 23 Sep 2020 17:21:06 +0000 (19:21 +0200)
tests/simplex/data_out_write_hdf5_01.cc
tests/simplex/data_out_write_hdf5_01.with_simplex_support=on.mpirun=1.with_hdf5=on.output [moved from tests/simplex/data_out_write_hdf5_01.with_simplex_support=on.with_hdf5=on.output with 100% similarity]

index 6decd2d490864852edd34cd3742a77e4d7a212ae..2c9b1b93c71e5d082e9f78b81500c17ef958619f 100644 (file)
@@ -17,6 +17,8 @@
 
 // Test DataOut with HDF5 for simplex meshes.
 
+#include <deal.II/base/mpi.h>
+
 #include <deal.II/dofs/dof_handler.h>
 
 #include <deal.II/fe/fe_system.h>
@@ -118,6 +120,8 @@ main(int argc, char **argv)
 {
   initlog();
 
+  Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
+
   {
     const unsigned int dim = 2;
     test<dim>(Simplex::FE_P<dim>(2), 1);

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.