test_snes_set_from_options fails with PETSc 3.19
Issue #1138
new
Building dolfin (debian source, similar to current master) against PETSc 3.19 passes all tests except one, from python/test/unit/nls/test_PETScSNES_solver.py:
__________________________ test_snes_set_from_options __________________________
@skip_if_not_PETSc
def test_snes_set_from_options():
solver = PETScSNESSolver()
PETScOptions.set("snes_atol", 1e-12)
> solver.set_from_options()
E RuntimeError:
E
E *** -------------------------------------------------------------------------
E *** DOLFIN encountered an error. If you are not able to resolve this issue
E *** using the information listed below, you can ask for help at
E ***
E *** fenics-support@googlegroups.com
E ***
E *** Remember to include the error message listed below and, if possible,
E *** include a *minimal* running example to reproduce the error.
E ***
E *** -------------------------------------------------------------------------
E *** Error: Unable to successfully call PETSc function 'SNESSetFromOptions'.
E *** Reason: PETSc error code is: 75 (Arguments are incompatible).
E *** Where: This error was encountered inside ./dolfin/nls/PETScSNESSolver.cpp.
E *** Process: 0
E ***
E *** DOLFIN version: 2019.2.0.13.dev0
E *** Git changeset: 90c16477f1b09f1f0ada59a5ce6719489db08a07
E *** -------------------------------------------------------------------------
python/test/unit/nls/test_PETScSNES_solver.py:272: RuntimeError
All C++ tests pass (both unit tests and demos).
Comments (1)
-
reporter - Log in to comment
cf. https://github.com/FEniCS/dolfinx/issues/2736 for PETSC 3.19 errors in dolfinx