<div class="gmail_quote">On Tue, May 10, 2011 at 14:30, Danesh Daroui <span dir="ltr"><<a href="mailto:danesh.daroui@ltu.se">danesh.daroui@ltu.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":2v">I just tried to configure PETSc with SPAI as you said but it says that<br>
it is not possible to use SPAI with complex numbers. I use complex<br>
numbers in my equations, so is there any other alternatives or solution<br>
for this?</div></blockquote></div><br><div>SPAI and ParaSails (Hypre) do not support complex. I do not know of a sparse approximate inverse implementation that does. (Unless you have seen a paper saying that it works well for a problem close to yours, I wouldn't worry too much. I have yet to run into a problem for which sparse approximate inverse was the best preconditioner.)</div>