Run with -ksp_monitor_true_residual -ksp_converged_reason -ksp_view to see why it is stopping at 38 iterations.
Barry > On Jul 22, 2024, at 7:37 AM, Константин Мурусидзе > <[email protected]> wrote: > > This Message Is From an External Sender > This message came from outside your organization. > Good afternoon. I am a student at the Faculty of Mathematics and for my > course work I need to solve SLAE with a relative accuracy of 1e-8 or more. To > do this, I created the function PetscCall(KSPSetTolerances(ksp, 1.e-8, > PETSC_DEFAULT, PETSC_DEFAULT, 100000));. But in the end, only 38 iterations > were made and the relative norm ||Ax-b||/||b|| it turns out 4.54011. If you > reply to my email, I can give you more information about the solver settings.
