Commit 7b962e06 authored by Bram Veenboer's avatar Bram Veenboer

First steps towards MPI example

parent fac03fd8
......@@ -22,3 +22,4 @@ if (BUILD_LIB_OPENCL)
add_subdirectory(OpenCL)
endif ()
add_subdirectory(plan)
add_subdirectory(distributed)
\ No newline at end of file
......@@ -19,7 +19,8 @@ option (BUILD_LIB_CPU "Build CPU libraries" ON)
option (BUILD_LIB_CUDA "Build CUDA libraries" OFF)
#option (BUILD_LIB_OPENCL "Build OpenCL libraries" OFF)
option (BUILD_WITH_MKL "Build with MKL (if available)" OFF)
option (BUILD_WITH_POWERSENSOR " Build with PowerSensor" OFF)
option (BUILD_WITH_POWERSENSOR "Build with PowerSensor" OFF)
option (BUILD_WITH_MPI "Build with MPI" OFF)
option (PERFORMANCE_REPORT "Report performance metrics" OFF)
option (COMPILE_VERBOSE "Report compiler flags used during runtime compilation" OFF)
option (STRICT_WARNINGS "Turn compiliation warnings into errors" ON)
......@@ -124,6 +125,11 @@ if (BUILD_LIB_CUDA)
find_package(CUDA QUIET)
endif()
# MPI
if (BUILD_WITH_MPI)
find_package(MPI QUIET)
endif()
include_directories (${CMAKE_CURRENT_BINARY_DIR}/src)
# add main include folder
......
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