From efca78c291c4ff0b6ef3004205ddbc3d5c84b64c Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Thu, 6 Jul 2017 10:35:32 +0200 Subject: [PATCH] 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. --- source/base/mpi.cc | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.5