ksp_monitor and hypre/boomeramg

Matthew Knepley knepley at gmail.com
Wed Nov 12 11:45:50 CST 2008


Barry gave the correct answer after me. I was unaware that the behavior was
different in the release.

  Thanks,

    Matt

On Wed, Nov 12, 2008 at 11:44 AM, Shao-Ching Huang <schuang at ats.ucla.edu> wrote:
> Hi Matt:
>
> I tried "-ksp_converged_reason" you suggested. With "-ksp_monitor", it
> shows "due to CONVERGED_RTOL". Without "-ksp_monitor", it shows "due
> to CONVERGED_ITS".
>
> ------------------
> $ mpiexec -np 1 -machinefile mach ./ibm  -ksp_type richardson \
> -pc_type hypre -pc_hypre_type boomeramg  -ksp_monitor \
> -ksp_converged_reason | grep Linear
>
> Linear solve converged due to CONVERGED_RTOL iterations 5
>
> $ mpiexec -np 1 -machinefile mach ./ibm  -ksp_type richardson \
> -pc_type hypre -pc_hypre_type boomeramg  \
> -ksp_converged_reason | grep Linear
>
> Linear solve converged due to CONVERGED_ITS iterations 0
> ------------------
>
> Thanks,
>
> Shao-Ching
>
>
> On Tue, Nov 11, 2008 at 07:45:11PM -0600, Matthew Knepley wrote:
>>
>> Nothing should change. You can try -ksp_converged_reason to see why it
>> terminates. The best way is to put a breakpoint in KSPDefaultConverged()
>> and check the convergence test.
>>
>>   Matt
>>
>
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which
their experiments lead.
-- Norbert Wiener




More information about the petsc-users mailing list