[Dune] Static SuperLU_DIST library and dune-istl
Benedikt Oswald
benedikt.oswald at psi.ch
Tue Nov 8 13:53:57 CET 2011
Hello Sacha, I do, but I include SuperLU Dist separately, just via
the usual CXX, CC, CPP and LDFLAGS. That works fine.
Greetings, Benedikt
On Nov 8, 2011, at 1:40 PM, Sascha Zelzer wrote:
> 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
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Benedikt Oswald, Dr. sc. techn., dipl. El. Ing. ETH, www.psi.ch, Computational Accelerator Scientist, http://amas.web.psi.ch
Paul Scherrer Institute (PSI), CH-5232 Villigen, Suisse, benedikt.oswald at psi.ch, +41(0)56 310 32 12
"Passion is required for any great work, and for the revolution passion and audacity are required in big doses.",
Ernesto 'Che' Guevara, Letter to his parents.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
More information about the Dune
mailing list