Skip to content

#1163 ParMETIS m4 macro does not work for ParMETIS 4.0.2

Metadata

Property Value
Reported by Andreas Lauser (andreas.lauser@iws.uni-stuttgart.de)
Reported at Jul 26, 2012 13:19
Type Bug Report
Version 2.2
Operating System Unspecified / All
Last edited by Markus Blatt (markus@dr-blatt.de)
Last edited at Jul 27, 2012 08:27
Closed by Markus Blatt (markus@dr-blatt.de)
Closed at Jul 27, 2012 08:27
Closed in version Unknown
Resolution Fixed
Comment Introduced bug fixed in revision 6875 of dune-common

Description

The ParMETIS M4 test fails for the latest ParMETIS (4.0.2). This is caused because it cannot find the metis.h header file. The attached patch fixes the problem for me by bringing in an externally compiled METIS library. take it with a grain of salt though, I'm not an autotools expert and it might be also possible to use the version of METIS which comes bundled with ParMETIS.

N.B.: the AMG in dune-istl fails if using Metis 5.0.2 because that METIS version seems to have renamed 'idxtype' to 'idx_t'. removing the forward declarations and setting the PARALLEL_PARTITION macro to 1 before including dune/istl/paamg/amg.hh makes it work (at least for me on the 2.2 branch).

Attachments