FindMETIS

Find the serial graph partitioning library METIS.

Imported Targets

This module provides the following imported target, if found:

METIS::METIS

Imported target encapsulating the include directories, compile definitions, and libraries needed to use METIS.

Result Variables

This module defines the following variables:

METIS_FOUND

Boolean result indicating whether METIS and its required dependencies were found.

Hints

The following variables may be set to influence this module’s behavior:

METIS_INCLUDE_DIR

Include directory containing metis.h.

METIS_LIBRARY

Full path to the METIS library.

METIS_API_VERSION

METIS API version provided by a scotch-metis compatibility library. This is required for Scotch versions >= 6.0.7 if it cannot be detected automatically. Supported values are 3 and 5. The chosen value is also propagated as the SCOTCH_METIS_VERSION preprocessor definition when compiling against Scotch’s METIS compatibility headers.