<div class="gmail_quote">On Fri, Dec 30, 2011 at 08:39, Dominik Szczerba <span dir="ltr">&lt;<a href="mailto:dominik@itis.ethz.ch">dominik@itis.ethz.ch</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":1qv">I am getting the below error with fgmres. I was wondering how to start<br>
debugging the problem. All the values in the matrix and rhs seem fine.<br>
Any suggestions are very welcome.</div></blockquote></div><br><div>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.</div>