On Fri, Sep 14, 2012 at 5:40 PM, Zhenglun (Alan) Wei <span dir="ltr"><<a href="mailto:zhenglun.wei@gmail.com" target="_blank">zhenglun.wei@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Dear folks,<br>
I did some test with -pc_type gamg with
/src/ksp/ksp/example/tutorial/ex45.c. It is not as good as default
-pc_type when my mesh (Cartisian) is 100*50*50; while it is a
little bit better than the default one when the mesh is
200*100*100. Therefore, I guess this type of pc is good for larger
problem. Is that ture? or is there any rule of thumb for this type
of preconditioner? BTW, I tested it with 8 processes. <br></div></div></blockquote><div><br></div><div>When asking questions about convergence, always always ALWAYS send the output of -ksp_monitor -ksp_view. If</div>
<div>you don't, we are just guessing blindly.</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
<div>
thanks,<br>
Alan<br>
On 9/14/2012 9:38 AM, Mark F. Adams wrote:<br>
</div>
<blockquote type="cite">
<br>
<div>
<div>On Sep 14, 2012, at 8:47 AM, Jed Brown <<a href="mailto:jedbrown@mcs.anl.gov" target="_blank">jedbrown@mcs.anl.gov</a>>
wrote:</div>
<br>
<blockquote type="cite">
<div class="gmail_quote">On Fri, Sep 14, 2012 at 3:47 AM, TAY
wee-beng <span dir="ltr"><<a href="mailto:zonexo@gmail.com" target="_blank">zonexo@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I need to solve the Poisson eqn on my win7 machine. I'm
currently using BCGS without preconditioner. I can't use
HYPRE since I'm using Fortran and win7. It's rather slow.<br>
<br>
Is there a recommended solver and preconditioner to solve
the Poisson eqn to get me started?<br>
</blockquote>
<div><br>
</div>
<div>What discretization?</div>
<div><br>
</div>
<div>Run with -pc_type gamg to start.</div>
</div>
</blockquote>
<br>
</div>
<div>and </div>
<div><br>
</div>
<div>-pc_gamg_agg_nsmooths 1</div>
<div><br>
</div>
<div>(I should make this the default)</div>
<div><br>
</div>
<div>Mark</div>
<br>
</blockquote>
<br>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener<br>