[petsc-users] options for gmres w/ ilu precondioner for sparse
Michael E Henderson
mhender at us.ibm.com
Tue Feb 1 09:03:51 CST 2011
Good morning,
I'm trying to use gmres with an ilu preconditioner and having trouble
getting the options right. I figure it's got to be something simple, so
hope it's an easy question.
With options:
-ksp_type gmres
-pc_type ilu
-pc_factor_levels 10
-pc_factor_fill 10
-pc_factor_mat_solver_package spai
I get the message:
unknown: [1|MatGetFactor() line 3646 in src/mat/interface/matrix.c:
Matrix format mpiaij does not have a solver spai. Perhaps you must
config/configure.py with --download-spai
I checked the configuration output and spai was indeed configured and
built. I also tried spooles with a similar result.
The table
http://www.mcs.anl.gov/petsc/petsc-as/documentation/linearsolvertable.html
seems to be saying that only hypre/euclid can be used for ilu(k) w/ aij.
Is that true?
-pc_factor_mat_solver_package hypre
-pc_hypre_type euclid
also gives
unknown: [1MatGetFactor() line 3646 in src/mat/interface/matrix.c: Matrix
format mpiaij does not have a solver hypre. Perhaps you must
config/configure.py with --download-hypre
I'm using hypre as a preconditioer elsewhere, so I'm sure it's installed.
Am I doing something obviously wrong?
Thanks,
Mike Henderson
------------------------------------------------------------------------------------------------------------------------------------
Mathematical Sciences, TJ Watson Research Center
mhender at watson.ibm.com
http://www.research.ibm.com/people/h/henderson/
http://multifario.sourceforge.net/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110201/884f4605/attachment.htm>
More information about the petsc-users
mailing list