Skip to content
CMake FindLAPACK.cmake that works with Intel MKL or Netlib for C / C++ / Fortran
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build
c_src
cmake/Modules
fortran_src
.gitignore
.travis.yml
CMakeLists.txt
LICENSE
README.md
test_build.sh

README.md

Build Status

Lapack with cmake

A clean, modern FindLAPACK.cmake that works with Intel MKL or Netlib LAPACK for Fortran and LAPACKE (for C and C++). Uses PkgConfig in CMake to making finding Lapack / LapackE on Linux, MacOS and Windows more robust.

prereq

Example

This example is for SVD computation using LapackE from C.

cd build

cmake ..

cmake --build .

ctest -V

If you have a Fortran compiler, a Fortran Lapack example will also be built and tested.

Intel MKL

To verify Intel MKL was used, in general you can prefix the command you use to run a program with MKL_VERBOSE=1 like:

MKLVERBOSE=1 ./build/svd_c
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.