forked from GOMC-WSU/GOMC
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
28 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
######################## MPI ################################## | ||
|
||
include(${PROJECT_SOURCE_DIR}/CMake/GOMCOptionUtilities.cmake) | ||
|
||
option(GOMC_MPI "Build a parallel (message-passing) version of GOMC" OFF) | ||
option(GOMC_THREAD_MPI "Build a thread-MPI-based multithreaded version of GOMC (not compatible with MPI)" ON) | ||
|
||
include(${PROJECT_SOURCE_DIR}/CMake/GOMCManageMPI.cmake) | ||
include(${PROJECT_SOURCE_DIR}/CMake/ThreadMPI.cmake) | ||
|
||
set(GOMC_COMMON_LIBRARIES "") | ||
GOMC_dependent_option( | ||
GOMC_MPI_IN_PLACE | ||
"Enable MPI_IN_PLACE for MPIs that have it defined" | ||
ON | ||
GOMC_MPI) | ||
mark_as_advanced(GOMC_MPI_IN_PLACE) | ||
|
||
######################## MPI ################################## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters