[petsc-users] Parallel direct solver
Barry Smith
bsmith at mcs.anl.gov
Wed Jan 12 17:02:23 CST 2011
SuperLU_dist uses parmetis, it looks like in your makefile you are not linking against the parametis libraries. If you used the PETSc makefiles it would automatically link against all needed files.
Barry
On Jan 12, 2011, at 4:36 PM, Patrice Goulet wrote:
> 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
More information about the petsc-users
mailing list