<div dir="ltr"><div dir="ltr">On Wed, Oct 28, 2020 at 8:57 PM Sajid Ali <<a href="mailto:sajidsyed2021@u.northwestern.edu">sajidsyed2021@u.northwestern.edu</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div dir="ltr"><div>Hi Matt, <br><br></div>Thanks for the clarification. The <a href="https://gitlab.com/petsc/petsc/-/blob/master/src/snes/interface/snes.c#L3304" target="_blank">documentation</a> for SNESSetLagPreconditioner states "If -1 is used before the very first nonlinear solve the preconditioner is still built because there is no previous preconditioner to use" which was true prior to 3.14, is this statement no longer valid ?</div></div></div></div></blockquote><div><br></div><div>Sounds like it is not. Barry?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>What is the difference between having -snes_lag_preconditioner -2 and having -snes_lag_preconditioner_persists true ? <br></div></div></blockquote><div><br></div><div>Persists applies to multiple solves, whereas -2 only applies to the current one.</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div>PS : The man pages for SNESSetLagJacobianPersists should perhaps not state the lag preconditioner options database keys and vice versa for clarity.<br><div><div><div><br></div><div>Thank You,<br></div><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="font-size:12.8px">Sajid Ali | PhD Candidate<br></div><div style="font-size:12.8px">Applied Physics<br></div><div style="font-size:12.8px">Northwestern University</div><div style="font-size:12.8px"><a href="http://s-sajid-ali.github.io" target="_blank">s-sajid-ali.github.io</a></div></div></div></div></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>