]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Test mpi/p4est_bug_01: remove test 15487/head
authorMatthias Maier <tamiko@43-1.org>
Mon, 26 Jun 2023 15:00:03 +0000 (10:00 -0500)
committerMatthias Maier <tamiko@43-1.org>
Mon, 26 Jun 2023 15:02:48 +0000 (10:02 -0500)
This test needs an external p4est library built with debug symbols,
otherwise it "fails" because we do not error out while running the test
"expect=run".

Let's remove this test for now.

The long standing bug it documents is reported in
  https://github.com/dealii/dealii/issues/7428

See also
  https://github.com/dealii/dealii/issues/9047

tests/mpi/p4est_bug_01.cc [deleted file]
tests/mpi/p4est_bug_01.with_p4est=true.expect=run.debug.output [deleted file]

diff --git a/tests/mpi/p4est_bug_01.cc b/tests/mpi/p4est_bug_01.cc
deleted file mode 100644 (file)
index 9bda992..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-// ---------------------------------------------------------------------
-//
-// Copyright (C) 2009 - 2020 by the deal.II authors
-//
-// This file is part of the deal.II library.
-//
-// The deal.II library is free software; you can use it, redistribute
-// it, and/or modify it under the terms of the GNU Lesser General
-// Public License as published by the Free Software Foundation; either
-// version 2.1 of the License, or (at your option) any later version.
-// The full text of the license can be found in the file LICENSE.md at
-// the top level directory of deal.II.
-//
-// ---------------------------------------------------------------------
-
-
-
-// quarter_hyper_ball is currently broken with p4est:
-
-/**
-Abort: Assertion 'edge_trees == (p4est_topidx_t) ta->elem_count + distinct'
-Abort: /ssd/candi-v9.0.1-r6/tmp/unpack/p4est-2.0/src/p8est_connectivity.c:1167
- */
-
-#include <deal.II/base/tensor.h>
-#include <deal.II/base/utilities.h>
-
-#include <deal.II/distributed/tria.h>
-
-#include <deal.II/grid/grid_generator.h>
-#include <deal.II/grid/grid_out.h>
-#include <deal.II/grid/grid_tools.h>
-#include <deal.II/grid/tria.h>
-#include <deal.II/grid/tria_accessor.h>
-
-#include "../tests.h"
-
-
-
-template <int dim>
-void
-test()
-{
-  parallel::distributed::Triangulation<dim> triangulation(
-    MPI_COMM_WORLD,
-    Triangulation<dim>::limit_level_difference_at_vertices,
-    parallel::distributed::Triangulation<dim>::construct_multigrid_hierarchy);
-
-  // Generate the mesh for a quarter of a ball
-  GridGenerator::quarter_hyper_ball(triangulation);
-
-  triangulation.refine_global();
-
-  unsigned int myid = Utilities::MPI::this_mpi_process(MPI_COMM_WORLD);
-  if (myid == 0)
-    deallog << "OK, #cells = " << triangulation.n_global_active_cells()
-            << std::endl;
-}
-
-int
-main(int argc, char *argv[])
-{
-  Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
-  MPILogInitAll                    all;
-
-  test<2>(); // works
-  test<3>(); // crashes in the GridGenerator call
-}
diff --git a/tests/mpi/p4est_bug_01.with_p4est=true.expect=run.debug.output b/tests/mpi/p4est_bug_01.with_p4est=true.expect=run.debug.output
deleted file mode 100644 (file)
index e69de29..0000000

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.