<div dir="ltr">The solver stagnates; you can try to diagnose what's going on using the tips from:<div><br></div><div><a href="http://www.mcs.anl.gov/petsc/documentation/faq.html#kspdiverged">http://www.mcs.anl.gov/petsc/documentation/faq.html#kspdiverged</a><br>
</div><div><br></div><div>- Peter</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 16, 2014 at 11:38 AM, Que Cat <span dir="ltr"><<a href="mailto:quecat001@gmail.com" target="_blank">quecat001@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Jed and Peter,<div><br></div><div>Please see the attached file for the output. Thank you for your help. </div>
<span class="HOEnZb"><font color="#888888"><div><br></div><div>Que</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 16, 2014 at 10:05 AM, Jed Brown <span dir="ltr"><<a href="mailto:jed@jedbrown.org" target="_blank">jed@jedbrown.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Que Cat <<a href="mailto:quecat001@gmail.com" target="_blank">quecat001@gmail.com</a>> writes:<br>

<br>
> Dear Petsc-Users,<br>
><br>
> I call the nonliner solver snes in my code and it said that "SNES Failed!<br>
> Reason -3". I testes with "-pc_type lu" and it passed. I have checked the<br>
> hand-coded Jacobian, ant it looks fine. Could you suggest any possible<br>
> sources of the errors?<br>
<br>
</div></div>Run with -snes_converged_reason -ksp_converged_reason -ksp_monitor_true_residual -snes_view and send the output.<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>