<div dir="ltr">Hi, <div><br></div><div><font face="arial, sans-serif">Hope this email finds you well. </font><span style="font-family:arial,sans-serif">I am using firedrake to solve linear problems, which use SNES with KSPONLY. </span></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">I found that the solution did not update when the `ksp` failed with <span style="white-space:pre-wrap">DIVERGED_ITS. The macro <span style="background-color:rgb(255,255,255)"><font color="#000000">`</font></span></span><span style="background-color:rgb(255,255,255)"><font color="#000000">SNESCheckKSPSolve` called in `SNESSolve_KSPONLY` make it return before the solution is updated. </font></span></font></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000" face="arial, sans-serif"><br></font></span></div><div><font face="arial, sans-serif"><font color="#000000" style=""><span style="background-color:rgb(255,255,255)">Is this behavior as expected? </span></font></font><font color="#000000" style="font-family:arial,sans-serif">Can I just increase the value of `</font><span style="font-family:arial,sans-serif;font-size:14px;white-space:pre"><font color="#000000">maxLinearSolveFailures` to make the solution updated without introducing other side effects?</font></span></div><div><font face="arial, sans-serif"><span style="font-size:14px;white-space:pre;background-color:rgb(255,255,255)"><font color="#000000" style=""></font></span></font></div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Best wishes,<div>Zongze</div></div></div></div></div></div>