Skip to content

Find{BLAS,LAPACK}: Find also ILP64 MKL BLAS and LAPACK

Jakub Benda requested to merge jacob/cmake:mkl_ilp64 into master

Modern Intel MKL packages offer 64-bit BLAS and LAPACK libraries in any of the eight combinations of the following three binary options:

  • sequential or threaded
  • LP64 or ILP64
  • static or shared

The modules FindBLAS and FindLAPACK did not allow full selection of arbitrary combination; in particular, only LP64 variant was used.

The original list of possible BLA_VENDOR values related to MKL,

  Intel10_64lp
  Intel10_64lp_seq

is thus extended by another pair of "vendors",

  Intel10_64ilp
  Intel10_64ilp_seq

Depending on the selection, either "_lp64" (default), or "_ilp64" MKL libraries are searched for. Some comments in the two CMake modules were modified to indicate that even though the "vendors" contain the number "10", they also apply to all further versions of MKL.

Edited by Brad King

Merge request reports