Bug#1042000: python3-dolfin: test_snes_set_from_options fails with PETSc 3.19
Drew Parsons
dparsons at debian.org
Tue Jul 25 15:11:17 BST 2023
Package: python3-dolfin
Version: 2019.2.0~legacy20230609.8b85e9d.ar-3
Severity: normal
Control: forwarded -1 https://bitbucket.org/fenics-project/dolfin/issues/1138/
Building dolfin 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 at 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).
More information about the debian-science-maintainers
mailing list