From e162866df1c6d1f14eccc6b63e13069f201fd876 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Sat, 28 Apr 2018 22:33:44 +0200 Subject: [PATCH] Disable sc_init --- source/base/mpi.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/base/mpi.cc b/source/base/mpi.cc index 5d0a06e9a2..a5ba1c84d8 100644 --- a/source/base/mpi.cc +++ b/source/base/mpi.cc @@ -363,7 +363,12 @@ namespace Utilities #ifdef DEAL_II_WITH_P4EST //Initialize p4est and libsc components +#if !(DEAL_II_P4EST_VERSION_GTE(2,0,0,0)) + // This feature is broken in version 2.0.0 for calls to + // MPI_Comm_create_group. Disabling it leads to more verbose + // p4est error messages which should be fine. sc_init(MPI_COMM_WORLD, 0, 0, nullptr, SC_LP_SILENT); +#endif p4est_init (nullptr, SC_LP_SILENT); #endif -- 2.39.5