-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use metis directly instead of scotch_metis wrapper
This fixes build of examples/mpi/partition on Arch Linux
- Loading branch information
Showing
5 changed files
with
26 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Find Metis library | ||
|
||
if (NOT (METIS_INCLUDES AND METIS_LIBRARIES)) | ||
find_path(METIS_INCLUDES | ||
NAMES metis.h | ||
PATHS $ENV{METISDIR} | ||
PATH_SUFFIXES metis | ||
) | ||
|
||
|
||
find_library(METIS_LIBRARY metis PATHS $ENV{METISDIR}) | ||
endif() | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args( | ||
METIS DEFAULT_MSG METIS_INCLUDES METIS_LIBRARY) | ||
|
||
mark_as_advanced(METIS_INCLUDES METIS_LIBRARY) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters