[Dune] istl with scotch-parmetis

Markus Blatt markus at dr-blatt.de
Mon Apr 28 17:34:17 CEST 2014


On Fri, Mar 28, 2014 at 05:27:52PM +0100, Christian Engwer wrote:
> which are pushed, now everything compiles, but I get a linker error
> when trying compile matrixredisttest:
>

Me, too.

> /home/christi/Uni/Dune/istl/dune/istl/repartition.hh:1348: undefined reference to `ParMETIS_V3_PartKway(int const*, int*, int*, int*, int*, int const*, int const*, int const*, int const*, float const*, float const*, int const*, int*, int*, ompi_communicator_t**)'
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> 
> Does anybody have a clue? I tried the usual tricks with lib order etc,
> but without success. Does anybody successfully use scotch-parmetis?
> 
> The strange thing is that the configure check tests for exactly the
> same symbol and doesn't fail...

Thanks for this hint. Actually it tests for the lowercase name
(parmetis_v3_partkway). If I use that one in repartition.hh, then it
works. The reason why this worked with METIS/ParMETIS is that they
detect C++ and use extern "C" in the header, while scotch does not do
that. I will fix it.

-- 
Do you need more support with DUNE or HPC in general? 

Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany
Tel.: +49 (0) 160 97590858
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20140428/8ce847ef/attachment.sig>


More information about the Dune mailing list