Find{BLAS,LAPACK}: Add note and example for using Intel MKL

This commit is contained in:
Michael Hirsch, Ph.D 2019-01-29 14:31:01 -05:00 committed by Brad King
parent b323407235
commit be7b30f67e
2 changed files with 22 additions and 0 deletions

View File

@ -72,6 +72,17 @@ This module defines the following variables:
to use BLAS95 interface
``BLAS95_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)

View File

@ -59,6 +59,17 @@ This module defines the following variables:
to use LAPACK95
``LAPACK95_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})