Thank you guys for the tips.

Longmmin

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>

Reply via email to