<div dir="ltr">Hi Developers,<div><br></div><div>I am trying to use the native LU in PETSc to compute a matrix (arising from a fluid-structure interaction problem). I encounter a zero pivot. The matrix gives the wrong Newton direction when using "-pc_factor_shift_type  nonzero -pc_factor_shift_amount 1".  I hence guess the matrix is singular.</div><div><br></div><div>Any easy way to detect if or not the matrix is singular??</div><div><br></div><div><br></div><div>Fande,</div></div>