<div dir="ltr"><div><div><div><div><div>Hi, <br></div>I configured and installed MUMPS along with PETSc and installed SLEPc. <br><br></div>Now I am trying to make the executable for ex7.c from SLEPc examples.<br><br></div>I am getting following errors while doing make: <br><br>../../petsc-3.3-p7/linux-gnu-intel-cmplx-batch/lib//libpetsc.a(mumps.c.o): In function `MatDestroy_MUMPS':<br>/cluster/share/venkatesh/petsc-3.3-p7/src/mat/impls/aij/mpi/mumps/mumps.c:493: undefined reference to `zmumps_c'<br>../../petsc-3.3-p7/linux-gnu-intel-cmplx-batch/lib//libpetsc.a(mumps.c.o): In function `MatSolve_MUMPS':<br>/cluster/share/venkatesh/petsc-3.3-p7/src/mat/impls/aij/mpi/mumps/mumps.c:546: undefined reference to `zmumps_c'<br>../../petsc-3.3-p7/linux-gnu-intel-cmplx-batch/lib//libpetsc.a(mumps.c.o): In function `MatFactorNumeric_MUMPS':<br>/cluster/share/venkatesh/petsc-3.3-p7/src/mat/impls/aij/mpi/mumps/mumps.c:664: undefined reference to `zmumps_c'<br>../../petsc-3.3-p7/linux-gnu-intel-cmplx-batch/lib//libpetsc.a(mumps.c.o): In function `PetscInitializeMUMPS':<br>/cluster/share/venkatesh/petsc-3.3-p7/src/mat/impls/aij/mpi/mumps/mumps.c:799: undefined reference to `zmumps_c'<br>../../petsc-3.3-p7/linux-gnu-intel-cmplx-batch/lib//libpetsc.a(mumps.c.o): In function `MatLUFactorSymbolic_AIJMUMPS':<br>/cluster/share/venkatesh/petsc-3.3-p7/src/mat/impls/aij/mpi/mumps/mumps.c:896: undefined reference to `zmumps_c'<br>../../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<br>../../petsc-3.3-p7/linux-gnu-intel-cmplx-batch/lib//libpetsc.a(pmetis.c.o): In function `MatPartitioningApply_Parmetis':<br>/cluster/share/venkatesh/petsc-3.3-p7/src/mat/partition/impls/pmetis/pmetis.c:101: undefined reference to `ParMETIS_V3_PartKway'<br>../../petsc-3.3-p7/linux-gnu-intel-cmplx-batch/lib//libpetsc.a(pmetis.c.o): In function `MatMeshToCellGraph':<br>/cluster/share/venkatesh/petsc-3.3-p7/src/mat/partition/impls/pmetis/pmetis.c:360: undefined reference to `ParMETIS_V3_Mesh2Dual'<br>collect2: ld returned 1 exit status<br>make: *** [ex7] Error 1<br><br></div>Pls let me know what to do ?<br><br></div>Venkatesh<br><div><div><br><br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 14, 2015 at 11:13 PM, Jose E. Roman <span dir="ltr"><<a href="mailto:jroman@dsic.upv.es" target="_blank">jroman@dsic.upv.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
El 14/05/2015, a las 19:34, venkatesh g escribió:<br>
<br>
> Actually krylovschur it is giving excellent results when my B matrix is not singular.<br>
><br>
> This time my B matrix is large with very little non-zero entries. There are entire rows and columns with zeros.<br>
> So other than MUMPS, which I will try now, is there another way ?<br>
><br>
> Venkatesh<br>
><br>
<br>
</span>This line:<br>
<br>
$ ./ex7 -f1 A1 -f2 B1 -st_type sinvert -eps_target 0.5<br>
<br>
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.<br>
<span class="HOEnZb"><font color="#888888"><br>
Jose<br>
<br>
</font></span></blockquote></div><br></div>