[petsc-users] SLEPc Eigenvalue problem - Zero Pivot

venkatesh g venkateshgk.j at gmail.com
Fri May 15 05:34:14 CDT 2015


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




On Thu, May 14, 2015 at 11:13 PM, Jose E. Roman <jroman at dsic.upv.es> wrote:

>
> El 14/05/2015, a las 19:34, venkatesh g escribió:
>
> > Actually krylovschur it is giving excellent results when my B matrix is
> not singular.
> >
> > This time my B matrix is large with very little non-zero entries. There
> are entire rows and columns with zeros.
> > So other than MUMPS, which I will try now, is there another way ?
> >
> > Venkatesh
> >
>
> This line:
>
> $ ./ex7 -f1 A1 -f2 B1 -st_type sinvert -eps_target 0.5
>
> will factor A-sigma*B for sigma=0.5 if command line arguments are
> processed correctly. So even if B has many zeros, the factorization should
> not fail. You could try tweaking PETSc's LU factorization parameters, or
> use an external LU library such as MUMPS or UMFPACK, to see if that helps.
> This has nothing to do with the (outer) solver used for the eigenvalues.
>
> Jose
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150515/3d94042b/attachment-0001.html>


More information about the petsc-users mailing list