This particular error "Petsc has generated inconsistent data" is a
catastrophic error (not, for example, simply failure to solve a system) so it
is not possible to by-pass the error. We would need to know exactly where in
the PETSc code the error was detected to to help you resolve the
Hi Aditya,
I wouldn't trust FEniCS' wrappers around PETSc. It might also depend on the
version of DOLFIN you're working with.
Shameless plug: Try using pfibs
https://github.com/NREL/pfibs
We wrote a slightly better PETSc interface to FEniCS. It does require
FEniCS 2018.1.0 or higher. This
Can you run in a debugger to get a stack trace? I believe Dolfin
swallows the stack trace to obstruct efforts to remove bugs; probably
paid off by the bug lobby.
aditya kumar via petsc-users writes:
> Hello,
>
> I am using PETSc with FEniCS project libraries to solve a nonlinear
> problem. I
Hello,
I am using PETSc with FEniCS project libraries to solve a nonlinear
problem. I am using PETSc Krylov solver with the following configuration
pc = PETScPreconditioner("petsc_amg")
PETScOptions.set("mg_levels_ksp_type", "chebyshev")
PETScOptions.set("mg_levels_pc_type", "jacobi")