]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Disable PETSc exception handling 4575/head
authorTimo Heister <timo.heister@gmail.com>
Thu, 6 Jul 2017 08:35:32 +0000 (10:35 +0200)
committerTimo Heister <timo.heister@gmail.com>
Thu, 6 Jul 2017 08:35:32 +0000 (10:35 +0200)
Disable PETSc exception handling. This just prints a large wall
of text that is not particularly helpful for what we do.

source/base/mpi.cc

index 6363a2fbedfc6a4e0de62feb43f6634a5e560de6..cdf04cf3b3e792bd5cec1026b55dad60f8ed5fe5 100644 (file)
@@ -345,6 +345,10 @@ namespace Utilities
       ierr = PetscInitialize(&argc, &argv, nullptr, nullptr);
       AssertThrow (ierr == 0, ExcPETScError(ierr));
 #  endif
+
+      // Disable PETSc exception handling. This just prints a large wall
+      // of text that is not particularly helpful for what we do:
+      PetscPopSignalHandler();
 #endif
 
 #ifdef DEAL_II_WITH_P4EST

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.