[petsc-users] Parallel direct solver

Patrice Goulet Patrice.Goulet at gci.ulaval.ca
Wed Jan 12 16:36:46 CST 2011


Hi,

I'm trying to use the external package SuperLU_DIST_2.4-hg-v2 with petsc-3.1-p7 to be able to solve a linear system in parallel with a direct method. My code is written in C++, so here are the configuration options I use to compile PETSc.

--with-matlab=0 --with-dynamic=0 --with-debugging=0 --with-clanguage=C++ --with-shared=0 -PETSC_ARCH=linux-mpi --download-f-blas-lapack=1 --download-parmetis=1 --download-superlu_dist=1

Everything goes well to compile and test my PETSc installation.

When I try to compile my Solver, I get the following error:
petsc-3.1-p7/linux-mpi/lib/libsuperlu_dist_2.4.a(get_perm_c_parmetis.o): In function `get_perm_c_parmetis':
get_perm_c_parmetis.c:(.text+0x164d): undefined reference to `ParMETIS_V3_NodeND'
collect2: ld returned 1 exit status

Can you please help me to solve this problem?

Thanks

Patrice Goulet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110112/c865875e/attachment.htm>


More information about the petsc-users mailing list