mkl-rs-sys

Crates.iomkl-rs-sys
lib.rsmkl-rs-sys
version0.3.1
sourcesrc
created_at2024-02-21 23:56:52.96675
updated_at2024-02-22 22:07:07.287422
descriptionMKL bindings for Rust
homepagehttps://github.com/novafacing/mkl-rs
repositoryhttps://github.com/novafacing/mkl-rs
max_upload_size
id1148639
size6,308
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