[petsc-users] How to call MUMPS for general symmetric matrix?
Barry Smith
bsmith at petsc.dev
Thu Mar 10 20:05:26 CST 2022
If you call the Cholesky matrix factorization it treats the matrix as general symmetric, if you call MatSetOption(mat,MAT_SPD,PETSC_TRUE); on the PETSc matrix before using it with MUMPS it will treat it as positive definite.
> On Mar 10, 2022, at 6:27 PM, Sam Guo <sam.guo at cd-adapco.com> wrote:
>
> Dear PETSc dev team,
> I have a general symmetric matrix which I want to call MUMPS symbolic to get memory estimate. I see MatLUFactorSymbolic and MatCholeskyFactor but there is no API for general symmetric. In MUMPS there are three types SYM: 0 unsymmetric; 1: symmetric positive definite; 2: general symmetric. I am wondering if PETSc API is missing or if I am missing something.
>
> Thanks,
> Sam
More information about the petsc-users
mailing list