biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99fd3d6
)
Find mkl.h on more icc versions
author
Mark Abraham
<mark.j.abraham@gmail.com>
Mon, 1 Jul 2013 15:01:09 +0000
(17:01 +0200)
committer
Gerrit Code Review
<gerrit@gerrit.gromacs.org>
Thu, 25 Jul 2013 11:51:51 +0000
(13:51 +0200)
Refs #1110
Change-Id: I0b6bc2497fc2a504b6c29b0697ee9e354fe6cffd
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 4b4d6cd6d7c91fc6752fec0b333fb421324c4c23..5a3aae2e3f7b577f7f1f3e6d43f8b9d8753650ac 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-976,6
+976,10
@@
elseif(${GMX_FFT_LIBRARY} STREQUAL "MKL")
else()
set(FFT_LINKER_FLAGS "-mkl=sequential")
endif()
+ # Some versions of icc require this in order that mkl.h can be
+ # found at compile time.
+ set(EXTRA_C_FLAGS "${EXTRA_C_FLAGS} ${FFT_LINKER_FLAGS}")
+
set(MKL_ERROR_MESSAGE "Make sure you have configured your compiler so that ${FFT_LINKER_FLAGS} will work.")
else()
# The user will have to provide the set of magic libraries in