firedrakeproject / firedrake

Firedrake is an automated system for the portable solution of partial differential equations using the finite element method (FEM)
https://firedrakeproject.org
Other
517 stars 160 forks source link

Fixes for updated PETSc #3853

Closed connorjward closed 1 week ago

connorjward commented 2 weeks ago

Description

Goes with https://github.com/firedrakeproject/petsc/pull/23

Key change here is the petsc4py error handler is now different and so we need a new approach for catching errors that are triggered inside a PETSc callback.

The fixture approach I use here is a bit iffy but the inability to have shared functions in pytest is a known limitation.

github-actions[bot] commented 2 weeks ago
TestsPassed ✅Skipped ⏭️Failed ❌
Firedrake complex8090 ran6503 passed1583 skipped4 failed
github-actions[bot] commented 2 weeks ago
TestsPassed ✅Skipped ⏭️Failed ❌
Firedrake real8096 ran7309 passed786 skipped1 failed