From: Timo Heister Date: Thu, 6 Jul 2017 08:35:32 +0000 (+0200) Subject: Disable PETSc exception handling X-Git-Tag: v9.0.0-rc1~1449^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4575%2Fhead;p=dealii.git Disable PETSc exception handling Disable PETSc exception handling. This just prints a large wall of text that is not particularly helpful for what we do. --- diff --git a/source/base/mpi.cc b/source/base/mpi.cc index 6363a2fbed..cdf04cf3b3 100644 --- a/source/base/mpi.cc +++ b/source/base/mpi.cc @@ -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