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
520 stars 160 forks source link

Erroneous code-gen for BDM on complex #2125

Open dham opened 3 years ago

dham commented 3 years ago

When running in the Firedrake-env container, complex Firedrake fails the following tests:

regression/test_l2pullbacks.py::test_firedrake_helmholtz_mixed_l2pullbacks_sphere[BDM-2-tri-1-False-1.9]
regression/test_l2pullbacks.py::test_firedrake_helmholtz_mixed_l2pullbacks_sphere[BDM-2-tri-1-True-1.9]

Setting PYOP2_DEBUG=1 causes them to pass, and the system matrix is observed to contain different values.

ReubenHill commented 3 years ago

Could this be linked to #2095 ?