mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-27 13:20:34 +05:00
use parmetis metis in netgen
This commit is contained in:
parent
0d94928c5b
commit
0e7cfecf7a
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user