[petsc-users] Simple KSP with known solution gives infinite solution

Smith, Barry F. bsmith at mcs.anl.gov
Wed May 23 12:59:05 CDT 2018


  Add -ksp_pc_side right



> On May 23, 2018, at 12:47 PM, zakaryah <zakaryah at gmail.com> wrote:
> 
> Additional weird behavior:
> 
> If I run with 
> 
> -ksp_monitor -ksp_monitor_true_residual -ksp_converged_reason -pc_type jacobi
> 
> I get:
> 
>   0 KSP Residual norm 1.389113910577e-03                                                                                                                                                                 
>   0 KSP preconditioned resid norm 1.389113910577e-03 true resid norm           -nan ||r(i)||/||b||           -nan                                                                                       
>   1 KSP Residual norm 2.214853823259e-19                                                                                                                                                                 
>   1 KSP preconditioned resid norm 2.214853823259e-19 true resid norm           -nan ||r(i)||/||b||           -nan                                                                                        
> Linear solve converged due to CONVERGED_RTOL iterations 1
> 
> 



More information about the petsc-users mailing list