[petsc-users] command line option for external packages
Jed Brown
jed at 59A2.org
Thu Jan 7 02:39:19 CST 2010
On 06 Jan 2010 15:07:18 -0600, hxie at umn.edu wrote:
> Hi,
>
> If I want to use hypre, should the runtime option be
> "-pc_type hypre -pc_type_hypre boomeramg -ksp_type gmres"? And I do not
^^^^^^^^^^^^^
should be
-pc_hypre_type boomeramg
(BoomerAMG is the default for Hypre from PETSc-3.0.0 onward). You can
always run with
-pc_type hypre -help |grep pc_hypre
to find all Hypre-related options (similarly with ML and other PCs,
KSPs, etc).
Jed
More information about the petsc-users
mailing list