Re: [petsc-users] Convergence issues for SNES NASM

2022-05-11 Thread Jed Brown
Can you add -snes_linesearch_monitor -sub_snes_linesearch_monitor -ksp_converged_reason and send the output?? "Takahashi, Tadanaga" writes: > Hello, > > We are working on a finite difference solver for a 2D nonlinear PDE with > Dirichlet Boundary conditions on a rectangular domain. Our goal is

Re: [petsc-users] MatColoring

2022-05-11 Thread Barry Smith
It is unlikely that the true number of colors is much less than 230 so I don't think you can save by reducing the number of colors more. Are you using IS_COLORING_LOCAL it eliminates much parallel communication so you would definitely benefit by using this, depending on how your

Re: [petsc-users] MatColoring

2022-05-11 Thread Jorti, Zakariae via petsc-users
Hello, I have used the -mat_coloring_view and -mat_fd_coloring_view flags as you suggested and it turns out that the coloring used was MATCOLORINGSL. I have also tried other methods and obtained the following numbers of function evaluations per Jacobian building: - MATCOLORINGJP : 593 -