Найти BLAS
Найти библиотеку BLAS
Этот модуль находит установленную библиотеку фортрана, которая реализует интерфейс линейной алгебры BLAS (см. http://www.netlib.org/blas/). Список проверяемых библиотек взят из файла макросов autoconf, acx_blas.m4 (распространяется по адресу http://ac-archive.sourceforge.net/ac-archive/acx_blas.html).
Этот модуль устанавливает следующие переменные:
BLAS_FOUND - set to true if a library implementing the BLAS interface is found BLAS_LINKER_FLAGS - uncached list of required linker flags (excluding -l and -L). BLAS_LIBRARIES - uncached list of libraries (using full path name) to link against to use BLAS (may be empty if compiler implicitly links BLAS) BLAS95_LIBRARIES - uncached list of libraries (using full path name) to link against to use BLAS95 interface BLAS95_FOUND - set to true if a library implementing the BLAS f95 interface is found
Следующие переменные могут использоваться для управления этим модулем:
BLA_STATIC if set on this determines what kind of linkage we do (static) BLA_VENDOR if set checks only the specified vendor, if not set checks all the possibilities BLA_F95 if set on tries to find the f95 interfaces for BLAS/LAPACK BLA_PREFER_PKGCONFIG if set pkg-config will be used to search for a BLAS library first and if one is found that is preferred
Список поставщиков (BLA_VENDOR), допустимых в этом модуле:
- Goto
- OpenBLAS
- FLAME
- ATLAS PhiPACK
- CXML
- DXML
- SunPerf
- SCSL
- SGIMATH
- IBMESSL
- Intel10_32 (intel mkl v10 32 бита)
- Intel10_64lp (intel mkl v10+ 64 бита, потоковая обработка, модель lp64)
- Intel10_64lp_seq (intel mkl v10+ 64 бита, последовательная обработка, модель lp64)
- Intel10_64ilp (intel mkl v10+ 64 бита, потоковая обработка, модель ilp64)
- Intel10_64ilp_seq (intel mkl v10+ 64 бита, последовательная обработка, модель ilp64)
- Intel (более старые версии mkl 32 и 64 бит)
- ACML
- ACML_MP
- ACML_GPU
- Apple
- NAS
- Generic
Примечание
Для использования Intel mkl необходимо включить C/CXX
© 2000–2019 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.13/module/FindBLAS.html