[petsc-users] SLEPc Eigenvalue problem - Zero Pivot

Jose E. Roman jroman at dsic.upv.es
Fri May 15 05:42:40 CDT 2015


El 15/05/2015, a las 12:34, venkatesh g escribió:

> Hi, 
> I configured and installed MUMPS along with PETSc and installed SLEPc. 
> 
> Now I am trying to make the executable for ex7.c from SLEPc examples.
> 
> I am getting following errors while doing make: 
> 
> ../../petsc-3.3-p7/linux-gnu-intel-cmplx-batch/lib//libpetsc.a(mumps.c.o): In function `MatDestroy_MUMPS':
> /cluster/share/venkatesh/petsc-3.3-p7/src/mat/impls/aij/mpi/mumps/mumps.c:493: undefined reference to `zmumps_c'
> ../../petsc-3.3-p7/linux-gnu-intel-cmplx-batch/lib//libpetsc.a(mumps.c.o): In function `MatSolve_MUMPS':
> /cluster/share/venkatesh/petsc-3.3-p7/src/mat/impls/aij/mpi/mumps/mumps.c:546: undefined reference to `zmumps_c'
> ../../petsc-3.3-p7/linux-gnu-intel-cmplx-batch/lib//libpetsc.a(mumps.c.o): In function `MatFactorNumeric_MUMPS':
> /cluster/share/venkatesh/petsc-3.3-p7/src/mat/impls/aij/mpi/mumps/mumps.c:664: undefined reference to `zmumps_c'
> ../../petsc-3.3-p7/linux-gnu-intel-cmplx-batch/lib//libpetsc.a(mumps.c.o): In function `PetscInitializeMUMPS':
> /cluster/share/venkatesh/petsc-3.3-p7/src/mat/impls/aij/mpi/mumps/mumps.c:799: undefined reference to `zmumps_c'
> ../../petsc-3.3-p7/linux-gnu-intel-cmplx-batch/lib//libpetsc.a(mumps.c.o): In function `MatLUFactorSymbolic_AIJMUMPS':
> /cluster/share/venkatesh/petsc-3.3-p7/src/mat/impls/aij/mpi/mumps/mumps.c:896: undefined reference to `zmumps_c'
> ../../petsc-3.3-p7/linux-gnu-intel-cmplx-batch/lib//libpetsc.a(mumps.c.o):/cluster/share/venkatesh/petsc-3.3-p7/src/mat/impls/aij/mpi/mumps/mumps.c:974: more undefined references to `zmumps_c' follow
> ../../petsc-3.3-p7/linux-gnu-intel-cmplx-batch/lib//libpetsc.a(pmetis.c.o): In function `MatPartitioningApply_Parmetis':
> /cluster/share/venkatesh/petsc-3.3-p7/src/mat/partition/impls/pmetis/pmetis.c:101: undefined reference to `ParMETIS_V3_PartKway'
> ../../petsc-3.3-p7/linux-gnu-intel-cmplx-batch/lib//libpetsc.a(pmetis.c.o): In function `MatMeshToCellGraph':
> /cluster/share/venkatesh/petsc-3.3-p7/src/mat/partition/impls/pmetis/pmetis.c:360: undefined reference to `ParMETIS_V3_Mesh2Dual'
> collect2: ld returned 1 exit status
> make: *** [ex7] Error 1
> 
> Pls let me know what to do ?
> 
> Venkatesh
> 


Suggest upgrading to the latest PETSc/SLEPc, version 3.3 is almost 3-years old.

Did 'make test' on $PETSC_DIR work?

Did you install a standalone MUMPS yourself? Maybe it is better to let PETSc install it for you. In 3.5, run PETSc's configure with:  --download-mumps --download-metis --download-parmetis --download-scalapack

Jose



More information about the petsc-users mailing list