Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Schruff
waLBerla
Commits
3bff00b2
Commit
3bff00b2
authored
Mar 28, 2017
by
Michael Kuron
Browse files
Only use -qopenmp on Intel 17 and higher as it is broken in 15 and 16.
parent
3842fa92
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
3bff00b2
...
...
@@ -961,7 +961,7 @@ option ( WALBERLA_THREAD_SAFE_LOGGING "Enables/Disables thread-safe logging" ON
if
(
WALBERLA_BUILD_WITH_OPENMP
)
if
(
WALBERLA_CXX_COMPILER_IS_INTEL
)
if
(
CMAKE_CXX_COMPILER_VERSION VERSION_LESS
"1
5
.0"
)
if
(
CMAKE_CXX_COMPILER_VERSION VERSION_LESS
"1
7
.0"
)
add_flag
(
CMAKE_C_FLAGS
"-openmp"
)
add_flag
(
CMAKE_CXX_FLAGS
"-openmp"
)
else
()
...
...
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