Re: [petsc-users] CG fails to converge in parallel

2023-04-20 Thread Bojan Niceno
Thanks a lot Pierre, I use PCGAMG as I type this answer. Not only that it works, but converges much faster than PCASM :-) Have a great day, Bojan On Thu, Apr 20, 2023 at 8:07 AM Pierre Jolivet wrote: > > > On 20 Apr 2023, at 7:53 AM, Bojan Niceno < > bojan.niceno.scient...@gmail.com>

Re: [petsc-users] CG fails to converge in parallel

2023-04-20 Thread Pierre Jolivet
> On 20 Apr 2023, at 7:53 AM, Bojan Niceno > wrote: > > Dear all, > > > I am solving a Laplace equation with finite volume method on an unstructured > grid with a Fortran code I have developed, and PETSc 3.19 library. > > I first used cg solver with asm preconditioner, which converges

[petsc-users] CG fails to converge in parallel

2023-04-19 Thread Bojan Niceno
Dear all, I am solving a Laplace equation with finite volume method on an unstructured grid with a Fortran code I have developed, and PETSc 3.19 library. I first used cg solver with asm preconditioner, which converges nicely when executed sequentially, but fails for MPI parallel version. I