mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 07:10:12 -05:00
Find{BLAS,LAPACK}: Add note and example for using Intel MKL
This commit is contained in:
committed by
Brad King
parent
b323407235
commit
be7b30f67e
@@ -72,6 +72,17 @@ This module defines the following variables:
|
|||||||
to use BLAS95 interface
|
to use BLAS95 interface
|
||||||
``BLAS95_FOUND``
|
``BLAS95_FOUND``
|
||||||
library implementing the BLAS95 interface is found
|
library implementing the BLAS95 interface is found
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
C or CXX must be enabled to use Intel MKL
|
||||||
|
|
||||||
|
For example, to use Intel MKL libraries and/or Intel compiler:
|
||||||
|
|
||||||
|
.. code-block:: cmake
|
||||||
|
|
||||||
|
set(BLA_VENDOR Intel10_64lp)
|
||||||
|
find_package(BLAS)
|
||||||
#]=======================================================================]
|
#]=======================================================================]
|
||||||
|
|
||||||
include(${CMAKE_CURRENT_LIST_DIR}/CheckFunctionExists.cmake)
|
include(${CMAKE_CURRENT_LIST_DIR}/CheckFunctionExists.cmake)
|
||||||
|
|||||||
@@ -59,6 +59,17 @@ This module defines the following variables:
|
|||||||
to use LAPACK95
|
to use LAPACK95
|
||||||
``LAPACK95_FOUND``
|
``LAPACK95_FOUND``
|
||||||
library implementing the LAPACK95 interface is found
|
library implementing the LAPACK95 interface is found
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
C or CXX must be enabled to use Intel MKL
|
||||||
|
|
||||||
|
For example, to use Intel MKL libraries and/or Intel compiler:
|
||||||
|
|
||||||
|
.. code-block:: cmake
|
||||||
|
|
||||||
|
set(BLA_VENDOR Intel10_64lp)
|
||||||
|
find_package(LAPACK)
|
||||||
#]=======================================================================]
|
#]=======================================================================]
|
||||||
|
|
||||||
set(_lapack_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES})
|
set(_lapack_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES})
|
||||||
|
|||||||
Reference in New Issue
Block a user