]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Disable sc_init 6380/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sat, 28 Apr 2018 20:33:44 +0000 (22:33 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sat, 28 Apr 2018 20:39:34 +0000 (22:39 +0200)
source/base/mpi.cc

index 5d0a06e9a271ab07c3370671f0aa5eba1e528484..a5ba1c84d885dbcddb327b2d4f89b4386fa39486 100644 (file)
@@ -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
 

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.