[petsc-users] MUMPS Error

Zhang, Junchao jczhang at mcs.anl.gov
Wed Dec 12 09:37:02 CST 2018



On Wed, Dec 12, 2018 at 7:14 AM Sal Am via petsc-users <petsc-users at mcs.anl.gov<mailto:petsc-users at mcs.anl.gov>> wrote:
Hi I am getting an error using MUMPS.
How I run it:
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

The error output:
[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
[0]PETSC ERROR: Error in external library
[0]PETSC ERROR: [1]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
[1]PETSC ERROR: Error in external library
[1]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFOG(1)=-13, INFO(2)=0

[1]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for trouble shooting.
[6]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
[6]PETSC ERROR: Error in external library
[6]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFOG(1)=-13, INFO(2)=0

[6]PETSC ERROR: [8]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
[8]PETSC ERROR: Error in external library
[8]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFOG(1)=-13, INFO(2)=0

[8]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for trouble shooting.
[8]PETSC ERROR: Petsc Release Version 3.10.2, unknown
[8]PETSC ERROR: [9]PETSC ERROR: [15]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
[15]PETSC ERROR: Error in external library
[15]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFOG(1)=-13, INFO(2)=-36536

[15]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for trouble shooting.
[15]PETSC ERROR: Petsc Release Version 3.10.2, unknown
[15]PETSC ERROR: ./solveCSys on a linux-opt named r02g03 by vef002 Wed Dec 12 10:44:13 2018
[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
[15]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFOG(1)=-13, INFO(2)=-81813

[0]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for trouble shooting.
[0]PETSC ERROR: Petsc Release Version 3.10.2, unknown
[1]PETSC ERROR: Petsc Release Version 3.10.2, unknown
[1]PETSC ERROR: ./solveCSys on a linux-opt named r02g03 by vef002 Wed Dec 12 10:44:13 2018
[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
[1]PETSC ERROR: [2]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
[2]PETSC ERROR: Error in external library
[2]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFOG(1)=-13, INFO(2)=0

[2]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for trouble shooting.
[2]PETSC ERROR: Petsc Release Version 3.10.2, unknown
[2]PETSC ERROR: ./solveCSys on a linux-opt named r02g03 by vef002 Wed Dec 12 10:44:13 2018
[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
[2]PETSC ERROR: [3]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
[3]PETSC ERROR: Error in external library
[3]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFOG(1)=-13, INFO(2)=-28194

[3]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for trouble shooting.
[3]PETSC ERROR: Petsc Release Version 3.10.2, unknown
[3]PETSC ERROR: ./solveCSys on a linux-opt named r02g03 by vef002 Wed Dec 12 10:44:13 2018
[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
[3]PETSC ERROR: [4]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
[4]PETSC ERROR: Error in external library
[4]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFOG(1)=-13, INFO(2)=0

[4]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for trouble shooting.
[4]PETSC ERROR: Petsc Release Version 3.10.2, unknown
[4]PETSC ERROR: ./solveCSys on a linux-opt named r02g03 by vef002 Wed Dec 12 10:44:13 2018
[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
[5]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
[5]PETSC ERROR: Error in external library
[5]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFOG(1)=-13, INFO(2)=-27685

[5]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for trouble shooting.
[5]PETSC ERROR: Petsc Release Version 3.10.2, unknown
[5]PETSC ERROR: ./solveCSys on a linux-opt named r02g03 by vef002 Wed Dec 12 10:44:13 2018
[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
[5]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for trouble shooting.
[6]PETSC ERROR: Petsc Release Version 3.10.2, unknown
[6]PETSC ERROR: ./solveCSys on a linux-opt named r02g03 by vef002 Wed Dec 12 10:44:13 2018
[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
[6]PETSC ERROR: #1 MatFactorNumeric_MUMPS() line 1230 in /lustre/home/vef002/petsc/src/mat/impls/aij/mpi/mumps/mumps.c
[6]PETSC ERROR: [7]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
[7]PETSC ERROR: Error in external library
[7]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFOG(1)=-13, INFO(2)=0

[7]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for trouble shooting.
[7]PETSC ERROR: Petsc Release Version 3.10.2, unknown
[7]PETSC ERROR: ./solveCSys on a linux-opt named r02g03 by vef002 Wed Dec 12 10:44:13 2018
[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
[7]PETSC ERROR: #1 MatFactorNumeric_MUMPS() line 1230 in /lustre/home/vef002/petsc/src/mat/impls/aij/mpi/mumps/mumps.c
[7]PETSC ERROR: #2 MatLUFactorNumeric() line 3065 in /lustre/home/vef002/petsc/src/mat/interface/matrix.c
./solveCSys on a linux-opt named r02g03 by vef002 Wed Dec 12 10:44:13 2018
[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
[8]PETSC ERROR: #1 MatFactorNumeric_MUMPS() line 1230 in /lustre/home/vef002/petsc/src/mat/impls/aij/mpi/mumps/mumps.c
[8]PETSC ERROR: #2 MatLUFactorNumeric() line 3065 in /lustre/home/vef002/petsc/src/mat/interface/matrix.c
[8]PETSC ERROR: #3 PCSetUp_LU() line 131 in /lustre/home/vef002/petsc/src/ksp/pc/impls/factor/lu/lu.c
[10]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
[10]PETSC ERROR: Error in external library
[10]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFOG(1)=-13, INFO(2)=0

[10]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for trouble shooting.
[10]PETSC ERROR: Petsc Release Version 3.10.2, unknown
[10]PETSC ERROR: ./solveCSys on a linux-opt named r02g03 by vef002 Wed Dec 12 10:44:13 2018
[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
[10]PETSC ERROR: [11]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
[11]PETSC ERROR: Error in external library
[11]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFOG(1)=-13, INFO(2)=-30519

[11]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for trouble shooting.
[11]PETSC ERROR: Petsc Release Version 3.10.2, unknown
[11]PETSC ERROR: ./solveCSys on a linux-opt named r02g03 by vef002 Wed Dec 12 10:44:13 2018
[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
[11]PETSC ERROR: #1 MatFactorNumeric_MUMPS() line 1230 in /lustre/home/vef002/petsc/src/mat/impls/aij/mpi/mumps/mumps.c
[11]PETSC ERROR: [12]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
[12]PETSC ERROR: Error in external library
[12]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFOG(1)=-13, INFO(2)=-28435

[12]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for trouble shooting.
[12]PETSC ERROR: Petsc Release Version 3.10.2, unknown
[12]PETSC ERROR: ./solveCSys on a linux-opt named r02g03 by vef002 Wed Dec 12 10:44:13 2018
[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
[12]PETSC ERROR: #1 MatFactorNumeric_MUMPS() line 1230 in /lustre/home/vef002/petsc/src/mat/impls/aij/mpi/mumps/mumps.c
[12]PETSC ERROR: [13]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
[13]PETSC ERROR: Error in external library
[13]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFOG(1)=-13, INFO(2)=-30110

[13]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for trouble shooting.
[13]PETSC ERROR: Petsc Release Version 3.10.2, unknown
[13]PETSC ERROR: ./solveCSys on a linux-opt named r02g03 by vef002 Wed Dec 12 10:44:13 2018
[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
[13]PETSC ERROR: #1 MatFactorNumeric_MUMPS() line 1230 in /lustre/home/vef002/petsc/src/mat/impls/aij/mpi/mumps/mumps.c
[13]PETSC ERROR: [14]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
[14]PETSC ERROR: Error in external library
[14]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFOG(1)=-13, INFO(2)=0

[14]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for trouble shooting.
[14]PETSC ERROR: Petsc Release Version 3.10.2, unknown
[14]PETSC ERROR: ./solveCSys on a linux-opt named r02g03 by vef002 Wed Dec 12 10:44:13 2018
[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
[14]PETSC ERROR: #1 MatFactorNumeric_MUMPS() line 1230 in /lustre/home/vef002/petsc/src/mat/impls/aij/mpi/mumps/mumps.c
[14]PETSC ERROR: #2 MatLUFactorNumeric() line 3065 in /lustre/home/vef002/petsc/src/mat/interface/matrix.c
#1 MatFactorNumeric_MUMPS() line 1230 in /lustre/home/vef002/petsc/src/mat/impls/aij/mpi/mumps/mumps.c
[15]PETSC ERROR: #2 MatLUFactorNumeric() line 3065 in /lustre/home/vef002/petsc/src/mat/interface/matrix.c
[15]PETSC ERROR: #3 PCSetUp_LU() line 131 in /lustre/home/vef002/petsc/src/ksp/pc/impls/factor/lu/lu.c
[15]PETSC ERROR: #4 PCSetUp() line 932 in /lustre/home/vef002/petsc/src/ksp/pc/interface/precon.c
[15]PETSC ERROR: #5 KSPSetUp() line 391 in /lustre/home/vef002/petsc/src/ksp/ksp/interface/itfunc.c
[15]PETSC ERROR: #6 main() line 68 in /lustre/home/vef002/tests/solveCmplxLinearSys.cpp
[15]PETSC ERROR: PETSc Option Table entries:
[15]PETSC ERROR: -ksp_error_if_not_converged
[15]PETSC ERROR: -ksp_max_it 1
[15]PETSC ERROR: -ksp_monitor_true_residual
[15]PETSC ERROR: -ksp_type richardson
[15]PETSC ERROR: -log_view
[15]PETSC ERROR: -pc_factor_mat_solver_type mumps
[15]PETSC ERROR: -pc_type lu
[15]PETSC ERROR: ----------------End of Error Message -------send entire error message to petsc-maint at mcs.anl.gov----------

From the MUMPS manual it seems INFOG(1)=-13, INFO(2)=0 :
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).

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?
But you can see there are processes with negative INFO(2). According to MUMPS manual, you can try to increase ICNTL(14).


Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20181212/3e0e7cd0/attachment-0001.html>


More information about the petsc-users mailing list