On Mon, Aug 29, 2011 at 16:47, Mark F. Adams <mark.adams at columbia.edu>wrote:
> -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. Can you confirm that ./ex5 -da_grid_x 17 -da_grid_y 17 -pc_type mg -pc_mg_levels 4 -log_summary -pc_mg_log shows what you expect? I see 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110829/10bfd15d/attachment.html>