[petsc-users] How to use PETSc preconditioners in SLEPc?
Jose E. Roman
jroman at dsic.upv.es
Tue May 21 11:22:42 CDT 2013
El 21/05/2013, a las 18:17, Heikki Virtanen escribió:
> Hi, I try to solve eigenvalue problem using EPS object
> and Krylov-Schur solver. Everything goes well and I
> can solve the problems that I want.
>
> Anyway, I want to use other preconditioners than the
> default preconditioner. It is a little bit unclear for
> me how to do this. For example, I have installed
> PETSc with Hypre. How can use BoomerAMG preconditioner
> instead of ILU? ( SLEPc chooses this by default )
>
> -Heikki
Have a look at section 3.4.1 of SLEPc's users guide. For instance, you can try something like this:
$ ./program -st_ksp_type bcgs -st_pc_type hypre -st_pc_hypre_type boomeramg
Jose
More information about the petsc-users
mailing list