<div dir="ltr"><div class="gmail_extra">That works, thanks!</div><div class="gmail_extra"><br>David</div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 28, 2017 at 10:44 AM, Smith, Barry F. <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
  Run with something like   -snes_divergence_tolerance 1e20<br>
<span class="m_7535854708371113411HOEnZb"><font color="#888888"><br>
  Barry<br>
</font></span><div class="m_7535854708371113411HOEnZb"><div class="m_7535854708371113411h5"><br>
<br>
<br>
<br>
<br>
<br>
<br>
> On Oct 28, 2017, at 9:31 AM, David Knezevic <<a href="mailto:david.knezevic@akselos.com" target="_blank">david.knezevic@akselos.com</a>> wrote:<br>
><br>
> Hi all,<br>
><br>
> I updated to the head of the maint branch (b5b0337). Previously (with version 3.7), I had a SNES test case that converged like this:<br>
><br>
>   NL step  0, |residual|_2 = 9.074962e-03<br>
>   NL step  1, |residual|_2 = 5.516783e+03<br>
>   NL step  2, |residual|_2 = 1.370884e-12<br>
> Number of nonlinear iterations: 2<br>
> Nonlinear solver convergence/divergence reason: CONVERGED_FNORM_RELATIVE<br>
><br>
> and now I get the following behavior:<br>
><br>
>   NL step  0, |residual|_2 = 9.074962e-03<br>
>   NL step  1, |residual|_2 = 5.516783e+03<br>
> Number of nonlinear iterations: 1<br>
> Nonlinear solver convergence/divergence reason: DIVERGED_DTOL<br>
><br>
> I didn't change anything in my code, so I guess the default DTOL options in SNES have changed? If someone could suggest how I can recover the old behavior, that'd be great.<br>
><br>
> (Note that this is a contact problem using an augmented Lagrangian penalty method, so the convergence is pretty nasty and it's hard to avoid these large jumps in the residual, so I don't want to get the DIVERGED_DTOL error in this case.)<br>
><br>
> Thanks,<br>
> David<br>
<br>
</div></div></blockquote></div><br></div></div>