[Dune] Problem linking parmetis with cmake

Markus Blatt markus at dr-blatt.de
Wed Nov 26 15:40:20 CET 2014


Hi,

On Wed, Nov 26, 2014 at 03:271;2802;0c:37PM +0100, Markus Blatt wrote:
> I have the strong suspicion that ParMetis is never searched for.
> You are using dune-alugrid and dune-grid with its dependencies.
> dune-alugrid should search for ParMETIS, but it seems like with CMake
> it never does.

Confirmed. dune-alugrid does not use ParMETIS. There even seems to a
bug in the cmake buildsystem as it does not search for METIS while
autotools do.

Ergo you have to put the following into
dune-curvilineargeometry/cmake/modules/DuneCurvilineargeometry.cmake: 

find_package(ParMETIS)

BTW: A few days ago I suggested another find_package call. Please make
sure that is in the same file, as then downstream module will issue
the find call automatically.

Cheers,

Markus
-- 
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/20141126/747530f8/attachment.sig>


More information about the Dune mailing list