3 unstable releases

0.3.1 Feb 22, 2024
0.3.0 Feb 22, 2024
0.1.0 Feb 22, 2024

#1576 in Math

Download history 36/week @ 2024-07-23 17/week @ 2024-07-30 3/week @ 2024-09-17 29/week @ 2024-09-24

56 downloads per month
Used in mkl-rs-sys

Apache-2.0

8KB
101 lines

MKL-RS

Rust bindings for MKL.

Install MKL

Install MKL on your system from the site.

For example on Fedora, run:

sudo dnf install \
    intel-oneapi-mkl \
    intel-oneapi-mkl-devel \
    intel-oneapi-compiler-shared-runtime-2024.0 \
    intel-oneapi-openmp-common-2024.0 \
    intel-oneapi-openmp-2024.0 \
    libgomp \
    libgomp-devel \
    libomp

Ensure pkg-config can find your MKL isntallation. Installing on Debian-based or RHEL-based distributions will configure pkg-config correctly by default.

You can check that mkl can be found by running:

$ pkg-config --cflags mkl-static-ilp64-gomp
-DMKL_ILP64 -m64 -I/opt/intel/oneapi/mkl/2024.0/lib/pkgconfig/../../include

Dependencies

~8MB
~147K SLoC