I am using the MUMPS to solve a nonlinear variational problem:
mysolver.parameters("newton_solver")["linear_solver"] = "mumps";
mysolver.solve();
and I got the following error:
Solving nonlinear variational problem.
Newton iteration 0: r (abs) = -nan (tol = 1.000e-10) r (rel) = -nan (tol = 1.000e-09)
ERROR 1 during ass_niv1 112 118
[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
[0]PETSC ERROR: Error in external library
[0]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFO(1)=-8, INFO(2)=236
[0]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for trouble shooting.
[0]PETSC ERROR: Petsc Release Version 3.5.2, Sep, 08, 2014
[0]PETSC ERROR: Unknown Name on a arch-linux2-c-opt named stark by haibo Thu May 21 17:15:34 2015
[0]PETSC ERROR: Configure options --prefix=/local/1/haibo/.hashdist/bld/petsc/l4exi7lv55gh COPTFLAGS=-O2 --with-shared-libraries=1 --with-debugging=0 --with-ssl=0 --with-blas-lapack-lib=/local/1/haibo/.hashdist/bld/lapack/vwdn72phzwm3/lib/libopenblas.so --with-metis-dir=/local/1/haibo/.hashdist/bld/parmetis/hbifmb4gf2ps --with-parmetis-dir=/local/1/haibo/.hashdist/bld/parmetis/hbifmb4gf2ps --with-scotch-dir=/local/1/haibo/.hashdist/bld/scotch/qaholoekwukv --with-ptscotch-dir=/local/1/haibo/.hashdist/bld/scotch/qaholoekwukv --with-suitesparse=1 --with-suitesparse-include=/local/1/haibo/.hashdist/bld/suitesparse/fnd3oyibysp3/include/suitesparse --with-suitesparse-lib="[/local/1/haibo/.hashdist/bld/suitesparse/fnd3oyibysp3/lib/libumfpack.a,libklu.a,libcholmod.a,libbtf.a,libccolamd.a,libcolamd.a,libcamd.a,libamd.a,libsuitesparseconfig.a]" --with-hypre=1 --with-hypre-include=/local/1/haibo/.hashdist/bld/hypre/kh4vd5dptalu/include --with-hypre-lib=/local/1/haibo/.hashdist/bld/hypre/kh4vd5dptalu/lib/libHYPRE.so --with-mpi-compilers CC=/local/1/haibo/.hashdist/bld/mpi/gmkx3ftk3tz2/bin/mpicc CXX=/local/1/haibo/.hashdist/bld/mpi/gmkx3ftk3tz2/bin/mpic++ F77=/local/1/haibo/.hashdist/bld/mpi/gmkx3ftk3tz2/bin/mpif77 F90=/local/1/haibo/.hashdist/bld/mpi/gmkx3ftk3tz2/bin/mpif90 FC=/local/1/haibo/.hashdist/bld/mpi/gmkx3ftk3tz2/bin/mpif90 --with-patchelf-dir=/local/1/haibo/.hashdist/bld/patchelf/k3rloj265ogt --with-python-dir=/local/1/haibo/.hashdist/bld/python/776xxfzzhuod --with-superlu_dist-dir=/local/1/haibo/.hashdist/bld/superlu_dist/a4rm3yj4ip7l --download-mumps=1 --download-scalapack=1 --download-blacs=1 --download-ml=1
[0]PETSC ERROR: #1 MatFactorNumeric_MUMPS() line 744 in /local/1/haibo/.hashdist/tmp/petsc-l4exi7lv55gh/src/mat/impls/aij/mpi/mumps/mumps.c
[0]PETSC ERROR: #2 MatLUFactorNumeric() line 2894 in /local/1/haibo/.hashdist/tmp/petsc-l4exi7lv55gh/src/mat/interface/matrix.c
[0]PETSC ERROR: #3 PCSetUp_LU() line 152 in /local/1/haibo/.hashdist/tmp/petsc-l4exi7lv55gh/src/ksp/pc/impls/factor/lu/lu.c
[0]PETSC ERROR: #4 PCSetUp() line 902 in /local/1/haibo/.hashdist/tmp/petsc-l4exi7lv55gh/src/ksp/pc/interface/precon.c
[0]PETSC ERROR: #5 KSPSetUp() line 305 in /local/1/haibo/.hashdist/tmp/petsc-l4exi7lv55gh/src/ksp/ksp/interface/itfunc.c
[0]PETSC ERROR: #6 KSPSolve() line 417 in /local/1/haibo/.hashdist/tmp/petsc-l4exi7lv55gh/src/ksp/ksp/interface/itfunc.c
terminate called after throwing an instance of 'std::runtime_error'
what():
*** -------------------------------------------------------------------------
*** DOLFIN encountered an error. If you are not able to resolve this issue
*** using the information listed below, you can ask for help at
***
*** fenics@fenicsproject.org
***
*** Remember to include the error message listed below and, if possible,
*** include a *minimal* running example to reproduce the error.
***
*** -------------------------------------------------------------------------
*** Error: Unable to successfully call PETSc function 'KSPSolve'.
*** Reason: PETSc error code is: 76.
*** Where: This error was encountered inside /local/1/haibo/.hashdist/tmp/dolfin-qygqakw2jqmt/dolfin/la/PETScLUSolver.cpp.
*** Process: unknown
***
*** DOLFIN version: 1.5.0
*** Git changeset:
*** -------------------------------------------------------------------------
Aborted
I am quite confused with the error code of MUMPS and couldn't find a explanation to that.
Thank you for help!