-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
enhancementNew feature or requestNew feature or request
Description
I tried to run the testsuite with a complex PETSc installation, and got
FAILED test_eps.py::test_eps_ghep_eigfuncs - ZeroDivisionError: float division by zero
FAILED test_ksp.py::test_ksp_preonly_lu - assert 0.5333333333319396 < 0.0001
FAILED test_ksp.py::test_ksp_cg_gamg - assert 0.5333333333319396 < 0.0001
FAILED test_pc.py::test_pc_gamg - assert 0.5333333333319396 < 0.0001
FAILED test_pc.py::test_pc_hiptmaier_xu_sor - netgen.libngpy._meshing.NgException: BaseVector::operator/=: division by zero
FAILED test_pc.py::test_pc_hiptmaier_xu_bjacobi - netgen.libngpy._meshing.NgException: BaseVector::operator/=: division by zero
FAILED test_snes.py::test_snes_toy_newtonls - assert -6 in [4, 3, 2]
plus one of the SNES tests getting stuck at
7822 SNES Function norm 8.626434292221e-01
7823 SNES Function norm 8.626434292221e-01
7824 SNES Function norm 8.626434292221e-01
7825 SNES Function norm 8.626434292221e-01
7826 SNES Function norm 8.626434292221e-01
7827 SNES Function norm 8.626434292221e-01
7828 SNES Function norm 8.626434292221e-01
7829 SNES Function norm 8.626434292221e-01
7830 SNES Function norm 8.626434292221e-01
7831 SNES Function norm 8.626434292221e-01
7832 SNES Function norm 8.626434292221e-01
7833 SNES Function norm 8.626434292221e-01
7834 SNES Function norm 8.626434292221e-01
and forcing me to interrupt the test session.
I do realize that I may sound like a fool trying to use a complex PETSc since (to my limited understanding) ngsolve only uses real numbers. However, I am doing that because ngsPETSc is also employed as a dependency of other libraries (firedrake and FEniCSx), which may legitimately employ PETSc in complex mode.
Possible course of actions:
- support complex
PETSc, or - clarify which parts of
ngsPETScare supposed to work with complexPETSc(I guess, all parts interfacingfiredrakeandFEniCSx), and which parts are not supposed to work (I guess, those interfacingngsolve).
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request