From: Matthias Maier Date: Wed, 13 May 2020 00:49:44 +0000 (-0500) Subject: remove test mpi/p4est_bug X-Git-Tag: v9.2.0-rc1~4^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10170%2Fhead;p=dealii.git remove test mpi/p4est_bug This test will actually make it past the expect=run stage if p4est is not compiled with debug asserts. This is unfortunately independent of whether deal.II is in release or debug mode. --- diff --git a/tests/mpi/p4est_bug_01.cc b/tests/mpi/p4est_bug_01.cc deleted file mode 100644 index bf9ea3dfb5..0000000000 --- a/tests/mpi/p4est_bug_01.cc +++ /dev/null @@ -1,68 +0,0 @@ -// --------------------------------------------------------------------- -// -// Copyright (C) 2009 - 2018 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.output b/tests/mpi/p4est_bug_01.with_p4est=true.expect=run.output deleted file mode 100644 index e69de29bb2..0000000000