Commit b28ec242 authored by Chris Cantwell's avatar Chris Cantwell

Ensure MPI compilers are found before use by PT-Scotch build.

parent e5b752e8
......@@ -201,6 +201,10 @@ IF (NOT EXISTS ${TPSRC})
ENDIF ()
# Find ThirdParty libraries and headers.
# --------------------------------------
# Need to find MPI first, as other packages depend on the compiler wrappers
INCLUDE (ThirdPartyMPI)
INCLUDE (ThirdPartyTinyxml)
INCLUDE (ThirdPartyMetis)
INCLUDE (ThirdPartyHDF5)
......@@ -210,7 +214,6 @@ INCLUDE (ThirdPartyBoost)
INCLUDE (ThirdPartyPython)
INCLUDE (ThirdPartyFFTW)
INCLUDE (ThirdPartyArpack)
INCLUDE (ThirdPartyMPI)
INCLUDE (ThirdPartyVTK)
INCLUDE (ThirdPartyOCE)
INCLUDE (ThirdPartyTriangle)
......
......@@ -49,6 +49,7 @@ IF( NEKTAR_USE_MPI )
ADD_DEFINITIONS(-DNEKTAR_USE_MPI)
IF (THIRDPARTY_BUILD_GSMPI)
INCLUDE(ExternalProject)
EXTERNALPROJECT_ADD(
gsmpi-1.2.1
URL ${TPURL}/gsmpi-1.2.1_1.tar.bz2
......
......@@ -44,6 +44,8 @@ IF (NEKTAR_USE_SCOTCH)
ADD_DEFINITIONS(-DNEKTAR_USE_SCOTCH)
IF (THIRDPARTY_BUILD_SCOTCH)
INCLUDE(ExternalProject)
UNSET(FLEX CACHE)
FIND_PROGRAM(FLEX flex)
IF(NOT FLEX)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment