<div dir="ltr">Hello,<div><br></div><div><br></div><div>I tried to adopt METIS option in MUMPS by usingĀ <br>' PetscCall(MatMumpsSetIcntl(Mat, 7, 5));'</div><div><br></div><div>However, there is an error as follows</div><div><br></div><div>[0]PETSC ERROR: Object is in wrong state<br>[0]PETSC ERROR: Only for factored matrix<br>[0]PETSC ERROR: See <a href="https://petsc.org/release/faq/">https://petsc.org/release/faq/</a> for trouble shooting.<br>[0]PETSC ERROR: Petsc Release Version 3.18.1, unknown <br>[0]PETSC ERROR: ./app on a arch-linux-c-debug named ubuntu by ksi2443 Tue Nov 29 21:12:41 2022<br>[0]PETSC ERROR: Configure options -download-mumps -download-scalapack -download-parmetis -download-metis<br>[0]PETSC ERROR: #1 MatMumpsSetIcntl() at /home/ksi2443/petsc/src/mat/impls/aij/mpi/mumps/mumps.c:2478<br>[0]PETSC ERROR: #2 main() at /home/ksi2443/Downloads/coding/a1.c:149<br>[0]PETSC ERROR: No PETSc Option Table entries<br></div><div><br></div><div>How can I fix this error?</div><div><br></div><div>Thank you for your help.</div><div><br></div><div><br></div><div>Hyung Kim</div></div>