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

Longmin RAN longmin.ran at gmail.com
Tue May 31 02:41:55 CDT 2011

Thank you guys for the tips.


On Tue, May 31, 2011 at 1:38 AM, Jed Brown <jed at 59a2.org> wrote:

> 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/b7579d70/attachment.htm>

More information about the petsc-users mailing list