use parmetis metis in netgen

This commit is contained in:
Lukas Kogler 2019-10-01 09:48:38 +00:00 committed by Matthias Hochsteger
parent 0d94928c5b
commit 0e7cfecf7a

View File

@ -101,11 +101,16 @@ endif(USE_GUI)
####################################################################### #######################################################################
if(USE_MPI) if(USE_MPI)
if(UNIX) if(UNIX)
find_package(METIS QUIET) if (METIS_DIR)
if(NOT METIS_FOUND) message(STATUS "Using external METIS at: ${METIS_DIR}")
message(STATUS "Could not find METIS, it will be built from source") else (METIS_DIR)
include(cmake/external_projects/metis.cmake) message(STATUS "Looking for system METIS")
endif() find_package(METIS QUIET)
if(NOT METIS_FOUND)
message(WARNING "Could not find METIS, it will be built from source (this might conflict with NGSolve MUMPS)!")
include(cmake/external_projects/metis.cmake)
endif(NOT METIS_FOUND)
endif(METIS_DIR)
else(UNIX) else(UNIX)
find_package(METIS REQUIRED) find_package(METIS REQUIRED)
endif(UNIX) endif(UNIX)