[petsc-users] what does it mean with "-1.#IND" in solution vector?

Jed Brown jed at 59A2.org
Mon May 30 18:38:31 CDT 2011


On Tue, May 31, 2011 at 01:31, Matthew Knepley <knepley at gmail.com> wrote:

> You generate  a NaN somewhere. I usually check for this using norms, since
> NaN propagate. Check the norm
> of the rhs, initial solution, matrix, etc.
>

You can also run with -fp_trap, possibly in a debugger, and it should break
at the first place the NaN was computed. This works better (on more
platforms) with petsc-dev.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110531/b7c4446d/attachment.htm>


More information about the petsc-users mailing list