<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">MUMPS errors are documented in section 8 of <a href="https://mumps-solver.org/doc/userguide_5.6.1.pdf">https://mumps-solver.org/doc/userguide_5.6.1.pdf</a><div><br></div><div>Thanks,</div><div>Pierre<br><div><br><blockquote type="cite"><div>On 27 Jul 2023, at 3:50 PM, maitri ksh <maitri.ksh@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><div dir="ltr">I am using 'MatMumpsGetInverse()' to get the inverse of a sparse matrix. I am using parts of <a href="https://gitlab.com/petsc/petsc/-/blob/8372926a7ae049f36f382da6b36410caecb0415f/src/mat/examples/tests/ex214.c">ex214.c</a> code to get the inverse, but I get an error that seems to be coming from MUMPS-library. Any suggestions?<div><br><div>ERROR:</div><div>[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<br>[0]PETSC ERROR: Error in external library<br>[0]PETSC ERROR: Error reported by MUMPS in solve phase: INFOG(1)=-3 INFO(2)=3<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.19.3, unknown<br>[0]PETSC ERROR: ./MatInv_MUMPS on a arch-linux-c-debug named LAPTOP-0CP4FI1T by maitri Thu Jul 27 16:35:02 2023<br>[0]PETSC ERROR: Configure options --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --download-mpich --download-fblaslapack --with-matlab --with-matlab-dir=/usr/local/MATLAB/R2022a --download-hdf5 --with-hdf5=1 --download-mumps --download-scalapack --download-parmetis --download-metis --download-ptscotch --download-bison --download-cmake<br>[0]PETSC ERROR: #1 MatMumpsGetInverse_MUMPS() at /home/maitri/petsc/src/mat/impls/aij/mpi/mumps/mumps.c:2720<br>[0]PETSC ERROR: #2 MatMumpsGetInverse() at /home/maitri/petsc/src/mat/impls/aij/mpi/mumps/mumps.c:2753<br>[0]PETSC ERROR: #3 main() at MatInv_MUMPS.c:74<br>[0]PETSC ERROR: No PETSc Option Table entries<br>[0]PETSC ERROR: ----------------End of Error Message -------send entire error message to petsc-maint@mcs.anl.gov----------<br>application called MPI_Abort(MPI_COMM_SELF, 76) - process 0<br>[unset]: PMIU_write error; fd=-1 buf=:cmd=abort exitcode=76 message=application called MPI_Abort(MPI_COMM_SELF, 76) - process 0<br>:<br>system msg for write_line failure : Bad file descriptor<br></div></div><div><br></div><div><br></div><div>Maitri</div></div>
<span id="cid:f_lkl7fgx60"><ERROR.txt></span><span id="cid:f_lkl7g16y1"><MatInv_MUMPS.c></span></div></blockquote></div><br></div></body></html>