[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using hypre through petsc



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@xxxxxxxx> 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