1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/PC/PCHMPI.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>PCHMPI</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<div id="version" align=right><b>petsc-3.4.2 2013-07-02</b></div>
<A NAME="PCHMPI"><H1>PCHMPI</H1></A>
Runs a preconditioner for a single process matrix across several MPI processes
<pre>
This will usually be run with -pc_type hmpi -ksp_type preonly
</pre>
<pre>
solver options are set with -hmpi_ksp_... and -hmpi_pc_... for example
</pre>
<pre>
-hmpi_ksp_type cg would use cg as the Krylov method or -hmpi_ksp_monitor or
</pre>
<pre>
-hmpi_pc_type hypre -hmpi_pc_hypre_type boomeramg
</pre>
<P>
Always run with -ksp_view (or -snes_view) to see what solver is actually being used.
<P>
Currently the solver options INSIDE the HMPI preconditioner can ONLY be set via the
options database.
<P>
<P>
See <A HREF="../Sys/PetscHMPIMerge.html#PetscHMPIMerge">PetscHMPIMerge</A>() and <A HREF="../Sys/PetscHMPISpawn.html#PetscHMPISpawn">PetscHMPISpawn</A>() for two ways to start up MPI for use with this preconditioner
<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
<A HREF="../PC/PCCreate.html#PCCreate">PCCreate</A>(), <A HREF="../PC/PCSetType.html#PCSetType">PCSetType</A>(), <A HREF="../PC/PCType.html#PCType">PCType</A> (for list of available types)
<BR>
<P>
<P><B><P><B><FONT COLOR="#CC3333">Level:</FONT></B>intermediate
<BR><FONT COLOR="#CC3333">Location:</FONT></B><A HREF="../../../src/ksp/pc/impls/openmp/hpc.c.html#PCHMPI">src/ksp/pc/impls/openmp/hpc.c</A>
<BR><A HREF="./index.html">Index of all PC routines</A>
<BR><A HREF="../../index.html">Table of Contents for all manual pages</A>
<BR><A HREF="../singleindex.html">Index of all manual pages</A>
</BODY></HTML>
|