Skip to content

Provide dedicated include for metis and parmetis headers

Simon Praetorius requested to merge feature/metis-include into master

Summary

Using METIS and ParMETIS correctly across multiple library versions and with the possibility to have the fallback Scotch library as METIS replacement, is a difficult thing. This MR provides dedicated includes <dune/common/metis.hh> and <dune/common/parallel/parmetis.hh> to first overcome the include order problem and second to have proper defines for real_t and idx_t. Metis and ParMetis are not used itself anywhere in dune-common, but the cmake find packages are provided and test to check that everything is found correctly. The new include headers are also just a utility for someone who wants to use (Par)METIS downstream.

Edited by Simon Praetorius

Merge request reports