FindBLAS
Поиск библиотеки BLAS
Этот модуль находит установленную библиотеку Fortran, которая реализует интерфейс линейной алгебры 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 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_VENDOR), допустимых в этом модуле:
- Goto
- OpenBLAS
- ATLAS PhiPACK
- CXML
- DXML
- SunPerf
- SCSL
- SGIMATH
- IBMESSL
- Intel10_32 (intel mkl v10 32 бита)
- Intel10_64lp (intel mkl v10 64 бита, lp модель потоков, lp64 модель)
- Intel10_64lp_seq (intel mkl v10 64 бита, последовательный код, lp64 модель)
- 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.10/module/FindBLAS.html