[petsc-users] iteration count

Jed Brown jed at jedbrown.org
Fri Feb 14 09:01:29 CST 2014

Wadud.Miah at awe.co.uk writes:
> I am running PETSc to solve a system and the iteration count is
> zero. I suppose this is due to the initial guess vector being the
> solution within the tolerances.

Don't assume, use -ksp_converged_reason (or -snes_converged_reason (or
-ts_converged_reason)) to determine why it is exiting early.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140214/d061c5c7/attachment.pgp>

More information about the petsc-users mailing list