using hypre through petsc

Yaron Kretchmer yaronkretchmer at gmail.com
Tue Sep 19 18:05:14 CDT 2006


Hi Matt
You can start experimenting by using
-pc_type hypre -pc_hypre_type boomeramg -help
which will give you all the boomeramg options.

When I use it I get intermittent segfaults, which I couldn't resolve with
the Hypre guys, so good luck.

Yaron


On 9/19/06, Matt Funk <mafunk at nmsu.edu> wrote:
>
> Hi,
>
> i am trying to use boomeramg from hypre in petsc. What i am doing right
> now is
> simply do:
>
> m_ierr = PCSetType(m_pc,PCHYPRE);//CHKERRQ(ierr)
> m_ierr = PCHYPRESetType(m_pc,"boomeramg");
>
> then i do my kspsetup etc...
>
> i was wondering what other things i need to configure/set to properly use
> the
> hypre preconditioner with petsc. This is new to me, so i am not really
> experienced with this (that is using external packages through petsc).
> Also,
> these are the only hypre calls i found in the manual pages.
>
> Maybe somebody with more experience can share some of their wisdom ..., or
> point to a place where i can read up on it?
>
>
> thanks
> mat
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20060919/3d024681/attachment.htm>


More information about the petsc-users mailing list