[petsc-users] Infinite or not-a-number generated in norm!

Jed Brown jedbrown at mcs.anl.gov
Fri Dec 30 08:52:21 CST 2011


On Fri, Dec 30, 2011 at 08:39, Dominik Szczerba <dominik at itis.ethz.ch>wrote:

> I am getting the below error with fgmres. I was wondering how to start
> debugging the problem. All the values in the matrix and rhs seem fine.
> Any suggestions are very welcome.
>

I suspect your custom preconditioner is computing NaN for the call to the
inner solver. Run with -fp_trap -start_in_debugger to see where NaN was
first generated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111230/599490e0/attachment.htm>


More information about the petsc-users mailing list