<div class="gmail_quote">On Mon, Aug 29, 2011 at 16:47, Mark F. Adams <span dir="ltr"><<a href="mailto:mark.adams@columbia.edu">mark.adams@columbia.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
-pc_mg_log is not working for me. I call PCSetFromOptions_MG in PCSetUp_GAMG and it I use -options_left and see that it is being used, but I get no stages for each level with -log_summary, as I expect.</blockquote></div>
<br><div>Can you confirm that</div><div><br></div><div><font face="'courier new', monospace">./ex5 -da_grid_x 17 -da_grid_y 17 -pc_type mg -pc_mg_levels 4 -log_summary -pc_mg_log</font></div><div><br></div><div>shows what you expect? I see</div>
<div><br></div><div><div><font face="'courier new', monospace">MGSetup Level 0 5 1.0 1.7831e-03 1.0 3.30e+01 1.0 0.0e+00 0.0e+00 2.2e+01 3 0 0 0 1 3 0 0 0 1 0</font></div><div><font face="'courier new', monospace">MGSmooth Level 0 24 1.0 8.7690e-04 1.0 2.23e+03 1.0 0.0e+00 0.0e+00 9.6e+01 2 0 0 0 5 2 0 0 0 5 3</font></div>
<div><font face="'courier new', monospace">MGSetup Level 1 5 1.0 2.0506e-03 1.0 9.70e+01 1.0 0.0e+00 0.0e+00 2.8e+01 4 0 0 0 1 4 0 0 0 1 0</font></div><div><font face="'courier new', monospace">MGSmooth Level 1 48 1.0 5.6577e-03 1.0 5.46e+04 1.0 0.0e+00 0.0e+00 3.6e+02 10 4 0 0 18 10 4 0 0 18 10</font></div>
<div><font face="'courier new', monospace">MGResid Level 1 24 1.0 1.5497e-04 1.0 5.04e+03 1.0 0.0e+00 0.0e+00 2.4e+01 0 0 0 0 1 0 0 0 0 1 33</font></div><div><font face="'courier new', monospace">MGInterp Level 1 48 1.0 2.6584e-04 1.0 4.70e+03 1.0 0.0e+00 0.0e+00 2.4e+01 0 0 0 0 1 0 0 0 0 1 18</font></div>
<div><font face="'courier new', monospace">MGSetup Level 2 5 1.0 2.1467e-03 1.0 4.73e+02 1.0 0.0e+00 0.0e+00 2.8e+01 4 0 0 0 1 4 0 0 0 1 0</font></div><div><font face="'courier new', monospace">MGSmooth Level 2 48 1.0 6.5029e-03 1.0 1.88e+05 1.0 0.0e+00 0.0e+00 3.6e+02 12 14 0 0 18 12 14 0 0 18 29</font></div>
<div><font face="'courier new', monospace">MGResid Level 2 24 1.0 2.5296e-04 1.0 1.77e+04 1.0 0.0e+00 0.0e+00 2.4e+01 0 1 0 0 1 0 1 0 0 1 70</font></div><div><font face="'courier new', monospace">MGInterp Level 2 48 1.0 3.7360e-04 1.0 1.62e+04 1.0 0.0e+00 0.0e+00 2.4e+01 1 1 0 0 1 1 1 0 0 1 43</font></div>
<div><font face="'courier new', monospace">MGSetup Level 3 5 1.0 1.1511e-03 1.0 2.09e+03 1.0 0.0e+00 0.0e+00 1.3e+01 2 0 0 0 1 2 0 0 0 1 2</font></div><div><font face="'courier new', monospace">MGSmooth Level 3 48 1.0 9.8042e-03 1.0 6.95e+05 1.0 0.0e+00 0.0e+00 3.6e+02 17 53 0 0 18 18 53 0 0 18 71</font></div>
<div><font face="'courier new', monospace">MGResid Level 3 24 1.0 5.8794e-04 1.0 6.61e+04 1.0 0.0e+00 0.0e+00 2.4e+01 1 5 0 0 1 1 5 0 0 1 112</font></div><div><font face="'courier new', monospace">MGInterp Level 3 48 1.0 7.8011e-04 1.0 6.00e+04 1.0 0.0e+00 0.0e+00 2.4e+01 1 5 0 0 1 1 5 0 0 1 77</font></div>
</div><div><br></div><div><br></div><div>I would expect that your PCSetUp_GAMG eventually calls PCSetUp_MG, but if it doesn't you might need to add the logging lines there.</div>