[petsc-users] -pc_mg_monitor

Barry Smith bsmith at mcs.anl.gov
Thu Jun 11 13:53:58 CDT 2015


   Use -mg_levels_ksp_monitor  since mg_levels is the prefix for the levels this will turn monitor for each level and -mg_coarse_ksp_monitor (but note that if the coarse solver is a direct solver this won't have any affect).

   Barry


> On Jun 11, 2015, at 9:53 AM, David Scott <d.scott at ed.ac.uk> wrote:
> 
> Thanks for the replies. It seems that the reference to -pc_mg_monitor in
>   http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/PC/PCMG.html
> should be removed.
> 
> David
> 
> On 11/06/2015 15:44, Hong wrote:
>> David:
>> PETSc library does not have the option '-pc_mg_monitor'.
>> Hong
>> 
>> On Thu, Jun 11, 2015 at 6:48 AM, David Scott <d.scott at ed.ac.uk> wrote:
>> Hello,
>> 
>> I am using MINRES with GAMG and have supplied various options
>> 
>> #PETSc Option Table entries:
>> -ksp_max_it 500
>> -ksp_monitor_true_residual
>> -log_summary
>> -mg_levels_ksp_max_it 2
>> -mg_levels_ksp_type chebyshev
>> -mg_levels_pc_type sor
>> -options_left
>> -pc_gamg_agg_nsmooths 1
>> -pc_gamg_threshold 0.03
>> -pc_gamg_type agg
>> -pc_gamg_verbose 7
>> -pc_mg_monitor
>> #End of PETSc Option Table entries
>> There is one unused database option. It is:
>> Option left: name:-pc_mg_monitor (no value)
>> 
>> Does this mean that I should have supplied an integer value with -pc_mg_monitor or is it not applicable in this case? If I should have supplied a value what is the allowed range?
>> 
>> Thanks in advance,
>> 
>> David
>> 
>> 
>> -- 
>> The University of Edinburgh is a charitable body, registered in
>> Scotland, with registration number SC005336.
>> 
>> 
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.



More information about the petsc-users mailing list