Merge branch 'fix_mumps_build' into 'master'

use parmetis metis in netgen

See merge request jschoeberl/netgen!180
This commit is contained in:
Matthias Hochsteger 2019-10-01 09:48:38 +00:00
commit 6e6f3a1469

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)