Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
ScalFMM
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
solverstack
ScalFMM
Commits
205e4ce2
Commit
205e4ce2
authored
Oct 09, 2014
by
COULAUD Olivier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add comments
parent
f52f6632
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
CMakeLists.txt
CMakeLists.txt
+4
-3
No files found.
CMakeLists.txt
View file @
205e4ce2
...
...
@@ -14,9 +14,9 @@ SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/CMakeModules)
# MPI option has to be set before project, cannot be changed in the cache!
if
(
ScalFMM_USE_MPI
)
include
(
CMakeForceCompiler
)
CMAKE_FORCE_C_COMPILER
(
mpicc
"MPI C Compiler"
)
CMAKE_FORCE_CXX_COMPILER
(
mpicxx
"MPI C++ Compiler"
)
set
(
ScalFMM_USE_MPI ON CACHE BOOL
"ScalFmm use MPI"
)
CMAKE_FORCE_C_COMPILER
(
mpicc
"MPI C Compiler"
)
CMAKE_FORCE_CXX_COMPILER
(
mpicxx
"MPI C++ Compiler"
)
set
(
ScalFMM_USE_MPI ON CACHE BOOL
"ScalFmm use MPI"
)
else
()
MESSAGE
(
STATUS
"Remove CMake cache and run cmake .. -DScalFMM_USE_MPI=ON to enable MPI"
)
endif
(
ScalFMM_USE_MPI
)
...
...
@@ -38,6 +38,7 @@ SET(ScalFMM_VERSION "${ScalFMM_MAJOR_VERSION}.${ScalFMM_MINOR_VERSION}.${ScalFM
# Active language
# -----------------------
ENABLE_LANGUAGE
(
CXX
)
#
if
(
ScalFMM_USE_MPI
)
TRY_COMPILE
(
COMPILE_INTEL
${
CMAKE_CURRENT_BINARY_DIR
}
${
CMAKE_MODULE_PATH
}
/compileTestIntel.cpp COMPILE_DEFINITIONS
"
${
CMAKE_CXX_FLAGS
}
"
)
if
(
COMPILE_INTEL
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment