From 56bd86e4e10eab5475203c9a176b37e5b829fff8 Mon Sep 17 00:00:00 2001 From: Michael Tupek Date: Fri, 30 Aug 2024 08:39:39 -0700 Subject: [PATCH] Turn off petsc hijacking of signal handling. --- src/serac/infrastructure/initialize.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/serac/infrastructure/initialize.cpp b/src/serac/infrastructure/initialize.cpp index 207fd7af1..9f4622b80 100644 --- a/src/serac/infrastructure/initialize.cpp +++ b/src/serac/infrastructure/initialize.cpp @@ -63,14 +63,14 @@ std::pair initialize(int argc, char* argv[], MPI_Comm comm) #endif #ifdef SERAC_USE_PETSC - #ifdef SERAC_USE_SLEPC mfem::MFEMInitializeSlepc(&argc, &argv); #else mfem::MFEMInitializePetsc(&argc, &argv); #endif - + PetscPopSignalHandler(); #endif + // Initialize GPU (no-op if not enabled/available) // TODO for some reason this causes errors on Lassen. We need to look into this ASAP. // accelerator::initializeDevice();