[Dune] Check for METIS and ParMetis

Sascha Zelzer s.zelzer at dkfz-heidelberg.de
Sun Mar 4 13:05:14 CET 2012


On 03/04/2012 11:31 AM, Markus Blatt wrote:
> On Sat, Mar 03, 2012 at 09:21:54AM +0100, Markus Blatt wrote:
>> works like a charm both for the shared and static library version!
>>
> because I had another version installed in the default location.
> After removing it, I get the same problem.
>
>
> Could you ask upstream why only parmetis.h gets installed? They say
> that every program should include this header which depends on
> metis.h.
>
> Is one supposed to install both metis and parmets even though parmetis
> comes with its own metis version, thats now seems to get incorporated
> into libparmetis?
>
> I do not get it.
>
> Cheers,
>
> Markus
>

It looks like a glitch in the CMake scripts to me. When building metis 
within parmetis (METIS_PATH CMake variable is not specfified), the 
variable METIS_INSTALL is not set. This leads to a missing install step 
for the metis library. Further, the CMakeLists.txt file in metis/include 
is never processed, so the install command for metis.h is not processed.

Maybe the ParMetis folks had reasons for it... I'd be interested in it too.

Best,

Sascha




More information about the Dune mailing list