On Mon, May 30, 2011 at 7:51 AM, Longmin RAN <span dir="ltr"><<a href="mailto:longmin.ran@gmail.com">longmin.ran@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Dear all,<div><br></div><div>I'm using ksp with external superlu package to solve my linear systems. The system is sparse, real and symmetric, I'm expecting unique solution with normal values. However, the KSPSolve returned with error 0, but the norm of error is "1.#QNAN", and in the solution vector some values are "-1.#IND". What does this mean ? Any help is appreciated. Thanks.</div>
</blockquote><div><br></div><div>You generate a NaN somewhere. I usually check for this using norms, since NaN propagate. Check the norm</div><div>of the rhs, initial solution, matrix, etc.</div><div><br></div><div> Matt</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>Cheers,</div><div><br></div><font color="#888888"><div>Longmin </div>
</font></blockquote></div><br><br clear="all"><br>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener<br>