From: Daniel Arndt Date: Sat, 28 Apr 2018 20:33:44 +0000 (+0200) Subject: Disable sc_init X-Git-Tag: v9.0.0-rc1~78^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e162866df1c6d1f14eccc6b63e13069f201fd876;p=dealii.git Disable sc_init --- 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