[petsc-users] with hypre

Barry Smith bsmith at mcs.anl.gov
Fri Aug 3 14:36:10 CDT 2012


On Aug 3, 2012, at 2:31 PM, Amneet Bhalla <mail2amneet at gmail.com> wrote:

> I see... Do I need to have some external package for gamg? I am getting this error 
> 
> Unable to find requested PC type gamg!
> 
> Also its not listed in -pc_type options when I do -help

    You should be using PTESc 3.3 or petsc-dev 

  Barry

> 
> 
> On Fri, Aug 3, 2012 at 2:21 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
> 
> On Aug 3, 2012, at 1:34 PM, Amneet Bhalla <mail2amneet at gmail.com> wrote:
> 
> > Thanks Matt for pointing to Makefile manual. I just included these lines
> >
> > include $(PETSC_DIR)/conf/variables
> > LIBS = $(PETSC_LIB)
> >
> > in the hypre's makefile and it is now working. This issue is resolved. I will try to write preconditioner using hypre's multigrid solvers.
> >
> > Example files which you pointed for AMG and ML are for non-linear solvers and distributed arrays. The
> > equation I am solving is linear for which I have a sparse matrix MPIAIJ. Is it possible to use multigrid solvers
> > in PETSc without going through the process of again creating new arrays/matrices?
> 
>    Yup, that is exactly what the hyper BoomerAMG, Trilinos ML and PETSc gang solvers are for.
> 
>     Barry
> 
> >
> >
> 
> 
> 
> 
> -- 
> Amneet 
> 
> 
> 
> 



More information about the petsc-users mailing list