[petsc-users] hypre support

Jed Brown jed at jedbrown.org
Fri May 16 10:50:11 CDT 2014


Dario Isola <dario.isola at newmerical.com> writes:

> Dear all,
>
> I am investigating the use of hypre+petsc. I was able to successfully 
> configure, install, compile petsc 3.3 with the external package for hypre.
>
> I tried to run it with the following options
>
>     -pc_type hypre -pc_type_hypre pilut -ksp_type richardson
>
> and, although he did not complain, it does not solve the system either.

There is no reason pilut (which is deprecated; Hypre recommends using
euclid) can be expected to create a contractive Richardson iteration.
You should probably use Krylov (perhaps GMRES, the default), which will
also fix the scaling.  Use -ksp_monitor_true_residual
-ksp_converged_reason while debugging/tuning the solver.

> To what extent is hypre supported by petsc? More specifically, what kind 
> of matrices? I am using a *baij*//matrix.

AIJ and BAIJ work with Hypre.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140516/fc1c9bf3/attachment.pgp>


More information about the petsc-users mailing list