<div class="gmail_quote">On Thu, Feb 23, 2012 at 18:58, Francis Poulin <span dir="ltr"><<a href="mailto:fpoulin@uwaterloo.ca">fpoulin@uwaterloo.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":10e">I can do it for each of them if that helps but I suspect the method is the same so I'm sending the information for the first 3, n = 2, 4, 8. In the mean time I will figure out how to change the number of levels..<br>
</div></blockquote></div><br><div>There are only three levels. The coarsest level has 32k degrees of freedom, which is very expensive to solve (redundantly) with a direct solver.</div><div><br></div><div>Run this, it's higher resolution and will be much faster than what you had.</div>
<div><br></div><div>mpiexec -n 2 ./ex22 -da_grid_x 5 -da_grid_y 5 -da_grid_z 5 -dmmg_nlevels 6 -ksp_monitor -mg_levels_ksp_type richardson -mg_levels_pc_type sor -log_summary</div><div><br></div><div><br></div><div>Also, please switch to a more recent release of PETSc as soon as possible and do not develop new code using DMMG since that component has been removed (and its functionality incorporated into SNES and KSP).</div>