Re: [petsc-users] Finding NullSpaces of Jacobian and TransposeJacobian

2018-04-12 Thread Smith, Barry F.
Please run a case that breaks with LSQR using the option -ksp_view_mat binary -ksp_view_rhs binary and email to petsc-ma...@mcs.anl.gov the file called binaryoutput Barry > On Apr 12, 2018, at 2:50 PM, Ali Berk Kahraman > wrote: > > In the very first

Re: [petsc-users] Finding NullSpaces of Jacobian and TransposeJacobian

2018-04-12 Thread Smith, Barry F.
Unfortunately I don't have a good answer for you. The manual page for KSPCGNE says one should use KSPLSQR for least squares problems. This one hopefully has the correct convergence test for inconsistent systems built in. Please try this solver and let us know how it goes. Barry > On

Re: [petsc-users] Finding NullSpaces of Jacobian and TransposeJacobian

2018-04-12 Thread Smith, Barry F.
> On Apr 12, 2018, at 10:56 AM, Ali Berk Kahraman > wrote: > > How do I tell that to the KSP object? Is there a direct command or a function? Tell the KSP object what? What happens when you run with -ksp_monitor_true_residual ? We may not have a good