[petsc-users] Get Stuck in SNES

Jed Brown jedbrown at mcs.anl.gov
Mon Nov 21 07:47:35 CST 2011


On Mon, Nov 21, 2011 at 02:33, behzad baghapour
<behzad.baghapour at gmail.com>wrote:

> Dear Developers,
>
> I've finished programming with SNES. But when I run, SNES just do one
> Nonlinear iteration and comes out !!!
> I check that the residual evaluation is correct BUT the linear solver may
> not work while the number of linear iteration is "0". I also check that the
> jacobian routine is called during process but I don't know how to check the
> jacobian and preconditioner in SNES to ensure the correct values.
>

-snes_converged_reason -ksp_converged_reason


>
> Here I want to know what procedure I should do and where is the beginning
> point for debugging with SNES?
>

http://www.mcs.anl.gov/petsc/documentation/faq.html#newton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111121/43ef1bee/attachment.htm>


More information about the petsc-users mailing list