Skip to content

Commit

Permalink
Turn off petsc hijacking of signal handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
tupek2 committed Aug 30, 2024
1 parent 770e678 commit 56bd86e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/serac/infrastructure/initialize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@ std::pair<int, int> 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();
Expand Down

0 comments on commit 56bd86e

Please sign in to comment.