Calling hypre
Ben Tay
zonexo at gmail.com
Mon May 21 23:53:59 CDT 2007
Hi,
presently I am using ./a.out -pc_type hypre -pc_hypre_type boomeramg to use
hypre.
However, I have 2 matrix to solve and now I only want one of them to use
hypre, while the other use jacobi + bcgs.
for the solver using hypre,
initially it's just:
call PCSetType(pc,PCLU,ierr) - direct solver
I now changed to
call PCSetType(pc,hypre,ierr)
call PCHYPRESetType(pc,boomeramg,ierr)
However, I got the error msg:
fortcom: Error: petsc_sub.F, line 125: This name does not have a type, and
must have an explicit type. [HYPRE]
call PCSetType(pc,hypre,ierr)
Sorry I don't really understand the eg. hyppilut.c since my knowledge of the
c language is very basic.
So how should I set the options to use hypre?
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20070522/2bf60870/attachment.htm>
More information about the petsc-users
mailing list