crate
crate.io
description
intel-mkl-src
Source crate for Intel-MKL
intel-mkl-sys
FFI for Intel-MKL vector math, and statistical functions
intel-mkl-tool
CLI utility for redistributing Intel-MKL
Redistribution of Intel MKL as a crate. Tested on Linux, macOS, and Windows (since 0.4.0)
mkl-*-*-*
features specify which MKL to be linked
static
means MKL will be linked statically, and dynamic
means MKL will be linked dynamically
lp64
means 32-bit integer interface, ilp64
means 64-bit integer interface
iomp
means MKL uses Intel OpenMP, seq
means sequential execution, e.g. no parallelization
default is mkl-static-ilp64-seq
, and you must choose one of them.
macOS is not supported #42
feature name
Linux
macOS
Windows
mkl-static-lp64-iomp
:heavy_check_mark:
-
-
mkl-static-lp64-seq
:heavy_check_mark:
-
:heavy_check_mark:
mkl-static-ilp64-iomp
:heavy_check_mark:
-
-
mkl-static-ilp64-seq
:heavy_check_mark:
-
:heavy_check_mark:
mkl-dynamic-lp64-iomp
:heavy_check_mark:
:heavy_check_mark:
-
mkl-dynamic-lp64-seq
:heavy_check_mark:
:heavy_check_mark:
:heavy_check_mark:
mkl-dynamic-ilp64-iomp
:heavy_check_mark:
:heavy_check_mark:
-
mkl-dynamic-ilp64-seq
:heavy_check_mark:
:heavy_check_mark:
:heavy_check_mark:
download
feature enables downloading MKL archive managed by this project from AWS S3 (default ON)
This crate is a *-src
crate. This downloads and link Intel MKL, but does not introduce any symbols. Please use blas-sys
, lapack-sys
, or fftw-sys
to use BLAS, LAPACK, FFTW interface of MKL, e.g.
[dependencies]
fftw-sys = { version = "0.4", features = ["intel-mkl"] }
This crate seeks system MKL libraries, e.g. installed by apt, yum, or official manual installer, as following manner:
${OUT_DIR}
where previous build has downloaded${PKG_CONFIG_PATH}
has to be set correctly. It may not be set by default in usual install.
You can confirm it by checking the following command returns error.
pkg-config --libs mkl-dynamic-lp64-iomp
${XDG_DATA_HOME}/intel-mkl-tool
${MKLROOT}
environment variable/opt/intel/mkl
for LinuxC:/Program Files (x86)/IntelSWTools/compilers_and_libraries/windows
for WindowsIf not found any MKL library and download
feature is ON, this crate will download archive from AWS S3 rust-intel-mkl
bucket.
MKL is distributed under the Intel Simplified Software License for Intel(R) Math Kernel Library, See License.txt. Some wrapper codes are licensed by MIT License (see the header of each file).
Version | Tag | Published |
---|---|---|
0.6.0+mkl2020.1 | 2yrs ago | |
0.6.0-alpha.1 | 2yrs ago | |
0.6.0-alpha.0 | 2yrs ago | |
0.5.0 | 3yrs ago |