[Dune] Problem linking parmetis with cmake

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


Hi,

On Wed, Nov 26, 2014 at 02:17:48PM +0100, Carsten Gräser wrote:
> your option file relies on the autotools -> cmake
> translation of configure options and you should switch
> to passing cmake options directly.
> 

Still it should work with the old approach. At least if the package
depends on dune-istl (where the translation takes place, which is the
only core module that uses them. Maybe this is the wrong place if
FindParMETIS.cmake, and FindMETIS.cmake reside in dune-common. 

You can specify the ParMETIS location with
-DPARMETIS_ROOT=/full/path/to/parmetis in CMAKE_FLAGS.

or you can add the conversion rules to your module in a file called
<dune-module>/lib/<dunemodule>am2cmake.lib. See
e.g. dune-istl/lib/duneistlam2cmake.lib.


Anyway next time please send the output of dunecontrol as there is
line that tells you how cmake was called and the CMakeCache.txt file.

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/3a89d663/attachment.sig>


More information about the Dune mailing list