Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 96a9a753 authored by BRAMAS Berenger's avatar BRAMAS Berenger
Browse files

Ensure to use sequential mkl

parent c959f03a
No related branches found
No related tags found
No related merge requests found
...@@ -14,6 +14,13 @@ find_package(BLAS) ...@@ -14,6 +14,13 @@ find_package(BLAS)
find_package(LAPACK) find_package(LAPACK)
if(BLAS_FOUND AND LAPACK_FOUND) if(BLAS_FOUND AND LAPACK_FOUND)
# If libs is related to MKL
if(${BLAS_LIBRARIES} MATCHES "mkl")
# We replace "intel_thread" by "sequential"
string(REPLACE "intel_thread" "sequential" BLAS_LIBRARIES ${BLAS_LIBRARIES})
string(REPLACE "intel_thread" "sequential" LAPACK_LIBRARIES ${LAPACK_LIBRARIES})
endif()
if($ENV{VERBOSE}) if($ENV{VERBOSE})
MESSAGE(STATUS "Benchmark CHOLESKY_GEMM -- BLAS_LIBRARIES : ${BLAS_LIBRARIES}") MESSAGE(STATUS "Benchmark CHOLESKY_GEMM -- BLAS_LIBRARIES : ${BLAS_LIBRARIES}")
MESSAGE(STATUS "Benchmark CHOLESKY_GEMM -- BLAS_LINKER_FLAGS : ${BLAS_LINKER_FLAGS}") MESSAGE(STATUS "Benchmark CHOLESKY_GEMM -- BLAS_LINKER_FLAGS : ${BLAS_LINKER_FLAGS}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment