[Dune] Static SuperLU_DIST library and dune-istl

Sascha Zelzer s.zelzer at dkfz-heidelberg.de
Tue Nov 8 13:40:41 CET 2011


Is anybody using the distributed SuperLU version with dune-istl?

Any recommendations for the configuration?

Thanks,
Sascha

On 11/04/2011 05:16 PM, Sascha Zelzer wrote:
> Hi,
>
> I am using the dune core modules (the release-2.1 branch) and try to
> configure dune-istl with SuperLU_DIST support.
>
> I have successfully built SuperLU_DIST version 3.0, with Metis and
> ParMetis support, which generated a static libsuperlu-mpi.a library.
> Configuring dune-istl with "--with-metis=... --with-parmetis=...
> --with-superlu-dist=<path-to-libsuperlu-mpi.a>" starts the configure
> test "checking for pdgssvx in -lsuperlu-mpi" which fails with:
>
> configure:31498: checking for pdgssvx in -lsuperlu-mpi
> configure:31539: gcc -o conftest -g -O2 -Wall
> -I/opt/mitk-builds/MBI-rfa-debug/DSuperLU-src/SRC
> -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -pthread
> -DMPIPP_H -DENABLE_MPI=1
> -L/opt/mitk-builds/MBI-rfa-debug/DSuperLU-src/  conftest.c
> -lsuperlu-mpi  -lblas -lm
> -L/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2
> -L/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/../../..
> -L/usr/lib/x86_64-linux-gnu -lgfortran -lm -pthread
> -L/usr/lib/openmpi/lib -lmpi -lopen-rte -lopen-pal -ldl
> -Wl,--export-dynamic -lnsl -lutil -lm -ldl>&5
> /opt/mitk-builds/MBI-rfa-debug/DSuperLU-src//libsuperlu-mpi.a(get_perm_c.o):
> In function `get_metis':
> get_perm_c.c:(.text+0x84): undefined reference to `METIS_NodeND'
> /opt/mitk-builds/MBI-rfa-debug/DSuperLU-src//libsuperlu-mpi.a(get_perm_c.o):
> In function `get_perm_c_dist':
> get_perm_c.c:(.text+0x1799): undefined reference to `METIS_NodeND'
> /opt/mitk-builds/MBI-rfa-debug/DSuperLU-src//libsuperlu-mpi.a(get_perm_c_parmetis.o):
> In function `get_perm_c_parmetis':
> get_perm_c_parmetis.c:(.text+0x1fc5): undefined reference to
> `ParMETIS_V3_NodeND'
> collect2: ld returned 1 exit status
>
>
> As far as I can tell, this is due to the missing static metis and
> parmetis libraries for the linker commands.
>
> How do people configure dune-istl with superlu-dist? Did I do something
> idiotic? Will the distributed superlu library be of advantage in
> dune-istl anyway?
>
> Thanks a lot,
>
> Sascha
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune





More information about the Dune mailing list