skillfed

mkl

Intel® oneAPI Math Kernel Library

mkl v2026.1.0 779.5K downloads/30d#5,085 on PyPI
License unclear Intel Simplified Software License Active released

What it is and what it does

Intel oneAPI Math Kernel Library (oneMKL) is Intel's production-grade mathematical computing library, packaged for Python environments. It provides C and Data Parallel C++ language interfaces for highly optimized mathematical operations tuned for Intel CPUs and GPUs. The package itself is a thin wrapper; the actual computation happens through C/DPC++ interfaces, making it most useful when integrated into compiled extensions or called via language bindings rather than used directly from pure Python code.

The library targets high-performance and scientific computing workloads where numerical throughput matters. Installation brings three runtime dependencies (onemkl-license, intel-openmp, tbb) and requires manual MKLROOT environment variable setup. It is actively maintained with a recent release and widely downloaded, but its proprietary license and environment configuration overhead mean it is best suited to teams already committed to Intel's oneAPI ecosystem.

Use it for:

  • Accelerating mathematical operations in C/C++ extensions that call oneMKL routines
  • Building high-performance numerical simulations on Intel hardware where vectorization and threading matter
  • Integrating with scientific Python libraries that may delegate to MKL backends for math kernels
  • Optimizing signal processing in compiled code targeting Intel processors

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Intel oneAPI Math Kernel Library provides optimized C and Data Parallel C++ interfaces for high-performance mathematical computing on Intel CPUs and GPUs.

Yes, if you are building C/C++ extensions or scientific code targeting Intel hardware and need production-grade math libraries. No, if you expect to call math functions directly from Python—use alternative libraries instead. Requires manual MKLROOT setup and acceptance of Intel's proprietary license.

Install

mkl on PyPI

pip

pip install mkl

uv

uv add mkl

poetry

poetry add mkl

Installing mkl

Before you install

Medium install friction due to three runtime dependencies (onemkl-license, intel-openmp, tbb) and platform-specific wheels. Active maintenance with recent release. Note: MKLROOT environment variable requires manual setup after PyPI installation.

License in practice

Licensed under Intel Simplified Software License (proprietary, not SPDX-identified). License treatment is unclear—review Intel's terms before use in commercial or redistributed software.

Quickstart

pip install mkl
# After installation, set MKLROOT environment variable
# (see Intel developer documentation for setup methods)
import mkl
# Use C/DPC++ interfaces via ctypes or language bindings

MKLROOT environment variable must be configured manually after installation; not set automatically by PyPI. Requires Intel CPU or GPU for intended performance benefits.

Verify before relying

  • Specific Python version requirements (requires_python is unspecified in metadata)
  • Whether C/DPC++ interfaces are directly callable from Python or require external language bindings
  • Performance gains on non-Intel processors or in non-HPC contexts

Package facts

License Intel Simplified Software License (unclear)
Python support not specified
Install friction medium — platform-specific wheel
Runtime dependencies 3 — onemkl-license, intel-openmp, tbb
Maintenance actively maintained — 44 days since the last release
First released
Downloads 779,484/month — #5,085 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: mkl-2026.1.0-py2.py3-none-manylinux_2_28_x86_64.whl; mkl-2026.1.0-py2.py3-none-win_amd64.whl

Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: EducationIntended Audience :: Other AudienceIntended Audience :: Science/ResearchIntended Audience :: System AdministratorsLicense :: Other/Proprietary LicenseOperating System :: POSIX :: LinuxTopic :: Software Development :: Libraries

Tags

intel mkl pythonmath kernel libraryhigh performance computinglinear algebra optimizationintel cpu gpu mathoneapi math librarynumerical computing acceleration
hpcintel-oneapic-bindings

More Libraries packages

Further reading