<div dir="ltr">I know that all I actually see when I get that message is the DIVERGING part. Then I turn on other monitors to figure out what is happening in my code. My guess is that most expert users do the same, perhaps the link to steps or suggests for debugging would be better:<div>
<br></div><div><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13.333333969116211px">TSStep has failed due to DIVERGED_NONLINEAR_SOLVE, see <page> for suggestions on diagnosis</span><br></div>
<div><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13.333333969116211px"><br></span></div><div><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13.333333969116211px">Nate</span></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Oct 22, 2013 at 2:46 PM, Barry Smith <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"><div class="im"><br>
On Oct 22, 2013, at 11:58 AM, Jed Brown <<a href="mailto:jedbrown@mcs.anl.gov">jedbrown@mcs.anl.gov</a>> wrote:<br>
<br>
> Barry Smith <<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>> writes:<br>
><br>
>> Begin forwarded message:<br>
>><br>
>>> From: Christophe Ortiz <<a href="mailto:christophe.ortiz@ciemat.es">christophe.ortiz@ciemat.es</a>><br>
>>><br>
>>> [0]PETSC ERROR:   !<br>
>>> [0]PETSC ERROR: TSStep has failed due to DIVERGED_NONLINEAR_SOLVE, increase -ts_max_snes_failures or make negative to attempt recovery!<br>
>>><br>
>><br>
>>   Do we really want this as a our "helpful message" here? Usually the<br>
>>   problem is a bad Jacobian etc which the person needs to track<br>
>>   down. It would be better if this instead listed an FAQ question<br>
>>   with information (and links there) to all possible causes of the<br>
>>   problem and how to track it down.  Just allowing failure here is<br>
>>   not the first step one should take I think.<br>
><br>
> Hmm, this is not uncommon if solving a strongly nonlinear problem,<br>
> especially when using crude error tolerance.  So for the expert user,<br>
> this error is usually offering the right guidance.<br>
<br>
</div>    What expert users do we have ?  90+% of all failures of Newton are due to bad Jacobians so the suggestion here is useful less than 10% of the time and sends all non-experts down the wrong road.<br>
<br>
   BTW: we need to finish up the refactorization of -snes_type test to the continuous test that runs for all solves. We have two competing fragments that need merging.<br>
<span class="HOEnZb"><font color="#888888"><br>
   Barry<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
>  To accommodate the<br>
> error-prone user, it would be fine to use a link to a web page<br>
> explaining the steps to debug.<br>
<br>
</div></div></blockquote></div><br></div>