mkl-rs-build

Crates.iomkl-rs-build
lib.rsmkl-rs-build
version0.3.1
sourcesrc
created_at2024-02-22 01:13:02.069054
updated_at2024-02-22 22:05:13.633031
descriptionBuild utilities for MKL
homepagehttps://github.com/novafacing/mkl-rs
repositoryhttps://github.com/novafacing/mkl-rs
max_upload_size
id1148740
size7,493
Rowan Hart (novafacing)

documentation

https://github.com/novafacing/mkl-rs

README

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
Commit count: 0

cargo fmt