I'm upgrading an old FEniCS code where sometime I solve systems with the mass matrix
solve(
a3 == L3, u1,
bcs=u_bcs,
solver_parameters={
'linear_solver': 'iterative',
'symmetric': True,
'preconditioner': 'jacobi',
'krylov_solver': {
'relative_tolerance': tol,
'absolute_tolerance': 0.0,
'maximum_iterations': 100,
'monitor_convergence': verbose
}
}
)
Now, the 'jacobi'
preconditioner is gone.
*** Error: Unable to solve linear system.
*** Reason: Unknown preconditioner method "jacobi". Use list_krylov_solver_preconditioners() to list available methods.
How do you solve your mass-matrix systems?