Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
solverstack
ScalFMM
Commits
db9ed409
Commit
db9ed409
authored
Nov 12, 2012
by
BRAMAS Berenger
Browse files
Add a command to customize mkl flags in cmake
parent
78a0ec5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
db9ed409
...
...
@@ -78,7 +78,7 @@ endif()
if
(
SCALFMM_USE_BLAS
)
OPTION
(
SCALFMM_USE_MKL_AS_BLAS
"Set to ON to use MKL CBLAS"
OFF
)
if
(
SCALFMM_USE_MKL_AS_BLAS
)
SET
(
BLAS_LIBRARIES
"-L$ENV{MKLROOT}/lib -lmkl_intel_lp64 -lmkl_sequential -lmkl_core"
)
SET
(
BLAS_LIBRARIES
"-L$ENV{MKLROOT}/lib -lmkl_intel_lp64 -lmkl_sequential -lmkl_core"
CACHE STRING
"Set your MKL flags"
)
elseif
(
SCALFMM_USE_EXTERNAL_BLAS
)
MESSAGE
(
STATUS
"BLAS SET BY EXTERNAL PROGRAM =
${
BLAS_LIBRARIES
}
"
)
else
()
...
...
Write
Preview
Supports
Markdown
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