[petsc-users] KSP_DIVERGED_INDEFINITE_PC message even with PCFactorSetShiftType

Hong hzhang at mcs.anl.gov
Mon Sep 29 10:17:12 CDT 2014


Evan :

> PCFactorSetMatSolverPackage(pc_fetd_dt, MATSOLVERMUMPS);
You use mumps' Cholesky.

> PCFactorSetShiftType(pc_fetd_dt,MAT_SHIFT_POSITIVE_DEFINITE);
This option only works for PETSc Cholesky, not mumps.
I'm not aware of any option in mumps to add a shift to zero pivot.
I'll send a request to mumps developer about it.

Hong


More information about the petsc-users mailing list