Re: [petsc-users] strange error using fgmres

2019-05-05 Thread Dave May via petsc-users
On Mon, 6 May 2019 at 02:18, Smith, Barry F. via petsc-users < petsc-users@mcs.anl.gov> wrote: > > > Even if you don't get failures on the smaller version of a code it can > still be worth running with valgrind (when you can't run valgrind on the > massive problem) because often the problem is s

Re: [petsc-users] strange error using fgmres

2019-05-05 Thread Smith, Barry F. via petsc-users
Run with -ksp_error_if_not_converged -info this will provide more detail at locating the exact location the error occurred. Barry > On May 5, 2019, at 5:21 PM, Randall Mackie via petsc-users > wrote: > > In solving a nonlinear optimization problem, I was recently experimenting > with f

Re: [petsc-users] strange error using fgmres

2019-05-05 Thread Smith, Barry F. via petsc-users
Even if you don't get failures on the smaller version of a code it can still be worth running with valgrind (when you can't run valgrind on the massive problem) because often the problem is still there on the smaller problem, just less directly visible but valgrind can still find it. > [13

Re: [petsc-users] SLEPc: logpcg works but lanczos fails

2019-05-05 Thread Jose E. Roman via petsc-users
Is your B-matrix singular? Then the solver might be approximating an infinite eigenvalue even if you ask for smallest real eigenvalues. For Lanczos-type solvers, it is safer to run with -st_type sinvert -eps_target 0 if you know that eigenvalues are positive. Or instead of 0 use a target value

[petsc-users] Block Number of Grid; Domain Decomposit ion

2019-05-05 Thread tang hongwei via petsc-users
Dear Developers, Thanks for your work about PETSc. I am using PETSc (version 3.1) for CFD, but I get confused by some problems, hoping you can help me: 1. Could the block number of grid be more than 1 ? I use pointwise (http://www.pointwise.com) to draw grid. For