From: Matthias Maier Date: Mon, 26 Jun 2023 15:00:03 +0000 (-0500) Subject: Test mpi/p4est_bug_01: remove test X-Git-Tag: v9.5.0-rc1~16^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F15487%2Fhead;p=dealii.git Test mpi/p4est_bug_01: remove test 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 --- diff --git a/tests/mpi/p4est_bug_01.cc b/tests/mpi/p4est_bug_01.cc deleted file mode 100644 index 9bda992ed6..0000000000 --- a/tests/mpi/p4est_bug_01.cc +++ /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 -#include - -#include - -#include -#include -#include -#include -#include - -#include "../tests.h" - - - -template -void -test() -{ - parallel::distributed::Triangulation triangulation( - MPI_COMM_WORLD, - Triangulation::limit_level_difference_at_vertices, - parallel::distributed::Triangulation::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 index e69de29bb2..0000000000