<div dir="ltr"><div dir="ltr"><div>Hi I am getting an error using MUMPS. <br></div><div>How I run it:<br></div><div>bash-4.2$ mpiexec -n 16 ./solveCSys -ksp_type richardson -pc_type lu -pc_factor_mat_solver_type mumps -ksp_max_it 1 -ksp_monitor_true_residual -log_view -ksp_error_if_not_converged</div><div><br></div><div>The error output: <br>[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<br>[0]PETSC ERROR: Error in external library<br>[0]PETSC ERROR: [1]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<br>[1]PETSC ERROR: Error in external library<br>[1]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFOG(1)=-13, INFO(2)=0<br><br>[1]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html">http://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.<br>[6]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<br>[6]PETSC ERROR: Error in external library<br>[6]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFOG(1)=-13, INFO(2)=0<br><br>[6]PETSC ERROR: [8]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<br>[8]PETSC ERROR: Error in external library<br>[8]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFOG(1)=-13, INFO(2)=0<br><br>[8]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html">http://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.<br>[8]PETSC ERROR: Petsc Release Version 3.10.2, unknown <br>[8]PETSC ERROR: [9]PETSC ERROR: [15]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<br>[15]PETSC ERROR: Error in external library<br>[15]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFOG(1)=-13, INFO(2)=-36536<br><br>[15]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html">http://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.<br>[15]PETSC ERROR: Petsc Release Version 3.10.2, unknown <br>[15]PETSC ERROR: ./solveCSys on a linux-opt named r02g03 by vef002 Wed Dec 12 10:44:13 2018<br>[15]PETSC ERROR: Configure options PETSC_ARCH=linux-opt --with-cc=gcc --with-fc=gfortran --with-cxx=g++ --with-clanguage=cxx --download-superlu_dist --download-mumps --with-scalar-type=complex --with-debugging=no --download-scalapack --download-superlu --download-mpich --download-fblaslapack=1 --download-cmake<br>[15]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFOG(1)=-13, INFO(2)=-81813<br><br>[0]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html">http://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.<br>[0]PETSC ERROR: Petsc Release Version 3.10.2, unknown <br>[1]PETSC ERROR: Petsc Release Version 3.10.2, unknown <br>[1]PETSC ERROR: ./solveCSys on a linux-opt named r02g03 by vef002 Wed Dec 12 10:44:13 2018<br>[1]PETSC ERROR: Configure options PETSC_ARCH=linux-opt --with-cc=gcc --with-fc=gfortran --with-cxx=g++ --with-clanguage=cxx --download-superlu_dist --download-mumps --with-scalar-type=complex --with-debugging=no --download-scalapack --download-superlu --download-mpich --download-fblaslapack=1 --download-cmake<br>[1]PETSC ERROR: [2]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<br>[2]PETSC ERROR: Error in external library<br>[2]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFOG(1)=-13, INFO(2)=0<br><br>[2]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html">http://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.<br>[2]PETSC ERROR: Petsc Release Version 3.10.2, unknown <br>[2]PETSC ERROR: ./solveCSys on a linux-opt named r02g03 by vef002 Wed Dec 12 10:44:13 2018<br>[2]PETSC ERROR: Configure options PETSC_ARCH=linux-opt --with-cc=gcc --with-fc=gfortran --with-cxx=g++ --with-clanguage=cxx --download-superlu_dist --download-mumps --with-scalar-type=complex --with-debugging=no --download-scalapack --download-superlu --download-mpich --download-fblaslapack=1 --download-cmake<br>[2]PETSC ERROR: [3]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<br>[3]PETSC ERROR: Error in external library<br>[3]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFOG(1)=-13, INFO(2)=-28194<br><br>[3]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html">http://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.<br>[3]PETSC ERROR: Petsc Release Version 3.10.2, unknown <br>[3]PETSC ERROR: ./solveCSys on a linux-opt named r02g03 by vef002 Wed Dec 12 10:44:13 2018<br>[3]PETSC ERROR: Configure options PETSC_ARCH=linux-opt --with-cc=gcc --with-fc=gfortran --with-cxx=g++ --with-clanguage=cxx --download-superlu_dist --download-mumps --with-scalar-type=complex --with-debugging=no --download-scalapack --download-superlu --download-mpich --download-fblaslapack=1 --download-cmake<br>[3]PETSC ERROR: [4]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<br>[4]PETSC ERROR: Error in external library<br>[4]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFOG(1)=-13, INFO(2)=0<br><br>[4]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html">http://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.<br>[4]PETSC ERROR: Petsc Release Version 3.10.2, unknown <br>[4]PETSC ERROR: ./solveCSys on a linux-opt named r02g03 by vef002 Wed Dec 12 10:44:13 2018<br>[4]PETSC ERROR: Configure options PETSC_ARCH=linux-opt --with-cc=gcc --with-fc=gfortran --with-cxx=g++ --with-clanguage=cxx --download-superlu_dist --download-mumps --with-scalar-type=complex --with-debugging=no --download-scalapack --download-superlu --download-mpich --download-fblaslapack=1 --download-cmake<br>[5]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<br>[5]PETSC ERROR: Error in external library<br>[5]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFOG(1)=-13, INFO(2)=-27685<br><br>[5]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html">http://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.<br>[5]PETSC ERROR: Petsc Release Version 3.10.2, unknown <br>[5]PETSC ERROR: ./solveCSys on a linux-opt named r02g03 by vef002 Wed Dec 12 10:44:13 2018<br>[5]PETSC ERROR: Configure options PETSC_ARCH=linux-opt --with-cc=gcc --with-fc=gfortran --with-cxx=g++ --with-clanguage=cxx --download-superlu_dist --download-mumps --with-scalar-type=complex --with-debugging=no --download-scalapack --download-superlu --download-mpich --download-fblaslapack=1 --download-cmake<br>[5]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html">http://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.<br>[6]PETSC ERROR: Petsc Release Version 3.10.2, unknown <br>[6]PETSC ERROR: ./solveCSys on a linux-opt named r02g03 by vef002 Wed Dec 12 10:44:13 2018<br>[6]PETSC ERROR: Configure options PETSC_ARCH=linux-opt --with-cc=gcc --with-fc=gfortran --with-cxx=g++ --with-clanguage=cxx --download-superlu_dist --download-mumps --with-scalar-type=complex --with-debugging=no --download-scalapack --download-superlu --download-mpich --download-fblaslapack=1 --download-cmake<br>[6]PETSC ERROR: #1 MatFactorNumeric_MUMPS() line 1230 in /lustre/home/vef002/petsc/src/mat/impls/aij/mpi/mumps/mumps.c<br>[6]PETSC ERROR: [7]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<br>[7]PETSC ERROR: Error in external library<br>[7]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFOG(1)=-13, INFO(2)=0<br><br>[7]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html">http://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.<br>[7]PETSC ERROR: Petsc Release Version 3.10.2, unknown <br>[7]PETSC ERROR: ./solveCSys on a linux-opt named r02g03 by vef002 Wed Dec 12 10:44:13 2018<br>[7]PETSC ERROR: Configure options PETSC_ARCH=linux-opt --with-cc=gcc --with-fc=gfortran --with-cxx=g++ --with-clanguage=cxx --download-superlu_dist --download-mumps --with-scalar-type=complex --with-debugging=no --download-scalapack --download-superlu --download-mpich --download-fblaslapack=1 --download-cmake<br>[7]PETSC ERROR: #1 MatFactorNumeric_MUMPS() line 1230 in /lustre/home/vef002/petsc/src/mat/impls/aij/mpi/mumps/mumps.c<br>[7]PETSC ERROR: #2 MatLUFactorNumeric() line 3065 in /lustre/home/vef002/petsc/src/mat/interface/matrix.c<br>./solveCSys on a linux-opt named r02g03 by vef002 Wed Dec 12 10:44:13 2018<br>[8]PETSC ERROR: Configure options PETSC_ARCH=linux-opt --with-cc=gcc --with-fc=gfortran --with-cxx=g++ --with-clanguage=cxx --download-superlu_dist --download-mumps --with-scalar-type=complex --with-debugging=no --download-scalapack --download-superlu --download-mpich --download-fblaslapack=1 --download-cmake<br>[8]PETSC ERROR: #1 MatFactorNumeric_MUMPS() line 1230 in /lustre/home/vef002/petsc/src/mat/impls/aij/mpi/mumps/mumps.c<br>[8]PETSC ERROR: #2 MatLUFactorNumeric() line 3065 in /lustre/home/vef002/petsc/src/mat/interface/matrix.c<br>[8]PETSC ERROR: #3 PCSetUp_LU() line 131 in /lustre/home/vef002/petsc/src/ksp/pc/impls/factor/lu/lu.c<br>[10]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<br>[10]PETSC ERROR: Error in external library<br>[10]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFOG(1)=-13, INFO(2)=0<br><br>[10]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html">http://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.<br>[10]PETSC ERROR: Petsc Release Version 3.10.2, unknown <br>[10]PETSC ERROR: ./solveCSys on a linux-opt named r02g03 by vef002 Wed Dec 12 10:44:13 2018<br>[10]PETSC ERROR: Configure options PETSC_ARCH=linux-opt --with-cc=gcc --with-fc=gfortran --with-cxx=g++ --with-clanguage=cxx --download-superlu_dist --download-mumps --with-scalar-type=complex --with-debugging=no --download-scalapack --download-superlu --download-mpich --download-fblaslapack=1 --download-cmake<br>[10]PETSC ERROR: [11]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<br>[11]PETSC ERROR: Error in external library<br>[11]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFOG(1)=-13, INFO(2)=-30519<br><br>[11]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html">http://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.<br>[11]PETSC ERROR: Petsc Release Version 3.10.2, unknown <br>[11]PETSC ERROR: ./solveCSys on a linux-opt named r02g03 by vef002 Wed Dec 12 10:44:13 2018<br>[11]PETSC ERROR: Configure options PETSC_ARCH=linux-opt --with-cc=gcc --with-fc=gfortran --with-cxx=g++ --with-clanguage=cxx --download-superlu_dist --download-mumps --with-scalar-type=complex --with-debugging=no --download-scalapack --download-superlu --download-mpich --download-fblaslapack=1 --download-cmake<br>[11]PETSC ERROR: #1 MatFactorNumeric_MUMPS() line 1230 in /lustre/home/vef002/petsc/src/mat/impls/aij/mpi/mumps/mumps.c<br>[11]PETSC ERROR: [12]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<br>[12]PETSC ERROR: Error in external library<br>[12]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFOG(1)=-13, INFO(2)=-28435<br><br>[12]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html">http://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.<br>[12]PETSC ERROR: Petsc Release Version 3.10.2, unknown <br>[12]PETSC ERROR: ./solveCSys on a linux-opt named r02g03 by vef002 Wed Dec 12 10:44:13 2018<br>[12]PETSC ERROR: Configure options PETSC_ARCH=linux-opt --with-cc=gcc --with-fc=gfortran --with-cxx=g++ --with-clanguage=cxx --download-superlu_dist --download-mumps --with-scalar-type=complex --with-debugging=no --download-scalapack --download-superlu --download-mpich --download-fblaslapack=1 --download-cmake<br>[12]PETSC ERROR: #1 MatFactorNumeric_MUMPS() line 1230 in /lustre/home/vef002/petsc/src/mat/impls/aij/mpi/mumps/mumps.c<br>[12]PETSC ERROR: [13]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<br>[13]PETSC ERROR: Error in external library<br>[13]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFOG(1)=-13, INFO(2)=-30110<br><br>[13]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html">http://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.<br>[13]PETSC ERROR: Petsc Release Version 3.10.2, unknown <br>[13]PETSC ERROR: ./solveCSys on a linux-opt named r02g03 by vef002 Wed Dec 12 10:44:13 2018<br>[13]PETSC ERROR: Configure options PETSC_ARCH=linux-opt --with-cc=gcc --with-fc=gfortran --with-cxx=g++ --with-clanguage=cxx --download-superlu_dist --download-mumps --with-scalar-type=complex --with-debugging=no --download-scalapack --download-superlu --download-mpich --download-fblaslapack=1 --download-cmake<br>[13]PETSC ERROR: #1 MatFactorNumeric_MUMPS() line 1230 in /lustre/home/vef002/petsc/src/mat/impls/aij/mpi/mumps/mumps.c<br>[13]PETSC ERROR: [14]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<br>[14]PETSC ERROR: Error in external library<br>[14]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFOG(1)=-13, INFO(2)=0<br><br>[14]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html">http://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.<br>[14]PETSC ERROR: Petsc Release Version 3.10.2, unknown <br>[14]PETSC ERROR: ./solveCSys on a linux-opt named r02g03 by vef002 Wed Dec 12 10:44:13 2018<br>[14]PETSC ERROR: Configure options PETSC_ARCH=linux-opt --with-cc=gcc --with-fc=gfortran --with-cxx=g++ --with-clanguage=cxx --download-superlu_dist --download-mumps --with-scalar-type=complex --with-debugging=no --download-scalapack --download-superlu --download-mpich --download-fblaslapack=1 --download-cmake<br>[14]PETSC ERROR: #1 MatFactorNumeric_MUMPS() line 1230 in /lustre/home/vef002/petsc/src/mat/impls/aij/mpi/mumps/mumps.c<br>[14]PETSC ERROR: #2 MatLUFactorNumeric() line 3065 in /lustre/home/vef002/petsc/src/mat/interface/matrix.c<br>#1 MatFactorNumeric_MUMPS() line 1230 in /lustre/home/vef002/petsc/src/mat/impls/aij/mpi/mumps/mumps.c<br>[15]PETSC ERROR: #2 MatLUFactorNumeric() line 3065 in /lustre/home/vef002/petsc/src/mat/interface/matrix.c<br>[15]PETSC ERROR: #3 PCSetUp_LU() line 131 in /lustre/home/vef002/petsc/src/ksp/pc/impls/factor/lu/lu.c<br>[15]PETSC ERROR: #4 PCSetUp() line 932 in /lustre/home/vef002/petsc/src/ksp/pc/interface/precon.c<br>[15]PETSC ERROR: #5 KSPSetUp() line 391 in /lustre/home/vef002/petsc/src/ksp/ksp/interface/itfunc.c<br>[15]PETSC ERROR: #6 main() line 68 in /lustre/home/vef002/tests/solveCmplxLinearSys.cpp<br>[15]PETSC ERROR: PETSc Option Table entries:<br>[15]PETSC ERROR: -ksp_error_if_not_converged<br>[15]PETSC ERROR: -ksp_max_it 1<br>[15]PETSC ERROR: -ksp_monitor_true_residual<br>[15]PETSC ERROR: -ksp_type richardson<br>[15]PETSC ERROR: -log_view<br>[15]PETSC ERROR: -pc_factor_mat_solver_type mumps<br>[15]PETSC ERROR: -pc_type lu<br>[15]PETSC ERROR: ----------------End of Error Message -------send entire error message to petsc-maint@mcs.anl.gov----------</div><div><br></div><div>From the MUMPS manual it seems
INFOG(1)=-13, INFO(2)=0
:</div><div>
<div style="font-size:14.944px;font-family:sans-serif">Problem of workspace allocation of size INFO(2) during the factorization or solve steps. The size that the package tried to allocate with a Fortran ALLOCATE statement is available in INFO(2). If INFO(2) is negative, then the size that the package requested is obtained by multiplying the absolute value of INFO(2) by 1 million. In general, the unit for INFO(2) is the number of scalar entries of the type of the input matrix (real, complex, single or double precision).</div><div style="font-size:14.944px;font-family:sans-serif"><br></div><div style="font-size:14.944px;font-family:sans-serif">Not quite sure what to make of it as the first error indicates size INFO(2)= 0?. Would I need to make use of -mat_mumps_icntl_14?</div><div style="font-size:14.944px;font-family:sans-serif"><br></div>Thanks
</div></div></div>