Commit 5c4981e1 authored by Dmitry I. Lyakh's avatar Dmitry I. Lyakh

Fixed OpenBLAS support in CMAKE.

parent 53abf6d3
......@@ -94,7 +94,7 @@ if(BLAS_LIB)
message(FATAL_ERROR "The ESSL BLAS choice requires the path to IBM XL SMP runtime libraries (-DPATH_IBM_XL_SMP). CMake is exiting.")
endif()
else()
message(FATAL_ERROR "Invalid BLAS_LIB choice: ATLAS (default Linux), MKL, ACML, ESSL. CMake is exiting.")
message(FATAL_ERROR "Invalid BLAS_LIB choice: ATLAS (default Linux), MKL, OPENBLAS, ACML, ESSL. CMake is exiting.")
endif()
else()
......
......@@ -77,7 +77,7 @@ if(WITH_LAPACK)
elseif(BLAS_LIB STREQUAL "OPENBLAS")
find_library(LAPACK_LIBRARY lapack HINTS ${BLAS_PATH})
find_library(LAPACK_LIBRARY openblas HINTS ${BLAS_PATH})
set(LAPACK_LIBRARIES "${LAPACK_LIBRARY}")
elseif(BLAS_LIB STREQUAL "ACML")
......
......@@ -69,8 +69,8 @@ if(WITH_LAPACK)
if (BLAS_LIB STREQUAL "ATLAS")
set(LAPACK_LIBRARIES "-llapack")
elseif(BLAS_LIB STREQUAL "MKL")
elseif(BLAS_LIB STREQUAL "OPENBLAS")
elseif(BLAS_LIB STREQUAL "ACML")
set(LAPACK_LIBRARIES "${acml_mp}")
elseif(BLAS_LIB STREQUAL "ESSL")
set(LAPACK_LIBRARIES "${essl};${xlf90_r};${xlfmath}")
endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment