FindPTScotch

Find PTScotch, the Scotch software suite for sequential and parallel graph partitioning and related ordering algorithms.

Components

This module supports the following components:

SCOTCH

Sequential Scotch library.

PTSCOTCH

Parallel version of Scotch. Requires MPI.

Imported Targets

This module provides the following imported targets, if found:

PTScotch::Scotch

Imported target for the sequential Scotch library.

PTScotch::PTScotch

Imported target for the parallel PTScotch library.

Result Variables

This module defines the following variables:

PTScotch_FOUND

Boolean result indicating whether the requested PTScotch components were found.

PTScotch_SCOTCH_FOUND

Boolean result indicating whether the sequential Scotch library was found.

PTScotch_PTSCOTCH_FOUND

Boolean result indicating whether the parallel PTScotch library was found.

PTScotch_VERSION

Version of the detected Scotch installation.

Hints

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

PTSCOTCH_SUFFIX

Scotch might be compiled using different integer sizes (int32, int64, long). When this is set, the headers and libraries are searched under the suffix include/scotch-${PTSCOTCH_SUFFIX} and lib/scotch-${PTSCOTCH_SUFFIX}, respectively.

SCOTCH_INCLUDE_DIR

Include directory where the scotch.h is found.

PTSCOTCH_INCLUDE_DIR

Include directory where the ptscotch.h is found.

SCOTCH_LIBRARY and SCOTCHERR_LIBRARY

Full paths to the sequential Scotch libraries.

PTSCOTCH_LIBRARY and PTSCOTCHERR_LIBRARY

Full paths to the parallel PTScotch libraries.