[petsc-users] SPAI preconditioner in PETSc

Danesh Daroui danesh.daroui at ltu.se
Tue May 10 07:30:51 CDT 2011

I just tried to configure PETSc with SPAI as you said but it says that
it is not possible to use SPAI with complex numbers. I use complex
numbers in my equations, so is there any other alternatives or solution
for this?



On Tue, 2011-05-10 at 14:21 +0200, Jed Brown wrote:
> On Tue, May 10, 2011 at 14:18, Danesh Daroui <danesh.daroui at ltu.se>
> wrote:
>         Thanks Jed. Can I have both implementations of SPAI and use
>         each of them
>         whenever I want or I just can have one at time?
> Absolutely. You can install PETSc with every external package you
> might possibly ever want to use, then choose which one you use on any
> particular run (or per-object if your code solves multiple systems) at
> run-time with options like -pc_type.

More information about the petsc-users mailing list