Remove the ENABLE_SCOTCH_METIS and ENABLE_SCOTCH_PRMETIS flags from the cmake find modules
Summary
Modifies the FindMETIS
and FindParMETIS
modules to not require the ENABLE_SCOTCH_METIS
and ENABLE_PTSCOTCH_PARMETIS
flags anymore. Instead, the found headerfile is inspected and searched for markers indicating that scotch metis is found. An automatic detection of the METIS_API_VERSION
is done by searching for symbols in the library. If this is not found, the user can specify METIS_API_VERSION
variable manually
Edited by Simon Praetorius