Skip to content

lc0 can not load libmkl #2275

@ducbadatcs

Description

@ducbadatcs

WARNING: Please only use GitHub issues for BUG REPORTS and FEATURE REQUESTS
Lengthy algorithm discussions etc are fine too, but also consider creating a wiki page or a page on website.

Here is what to do with other types of questions:

  1. Build problems: ask in #help channel in our discord: https://discord.gg/pKujYxD
  2. Configuration questions: ask in #help channel in our discord: https://discord.gg/pKujYxD
  3. Running problems: ask in #help channel in our discord: https://discord.gg/pKujYxD

If you are filing a bug report, please fill the fields below.
Otherwise, feel free to remove this text and type a free-form issue as usual.

BUG REPORT

Describe the bug
./lc0: error while loading shared libraries: libmkl_sycl_blas.so.5: cannot open shared object file: No such file or directory

Steps to Reproduce

  1. Clone the repo via release branch: git clone -b release/0.32 --recurse-submodules https://github.com/LeelaChessZero/lc0.git
  2. Install oneMKL on Arch Linux via sudo pacman -S intel-oneapi-basekit and export the packages to PATH.
  3. Build with
. /opt/intel/oneapi/setvars.sh --include-intel-llvm
CC=icx CXX=icpx AR=llvm-ar ./build.sh release -Dgtest=false -Dsycl=l0
  1. Run ./lc0 after cd into build/release
  2. Install the t1-256x10-distilled-swa-2432500.pb.gz network
    Expected behavior: the command runs properly
    Observed behavior: ./lc0: error while loading shared libraries: libmkl_sycl_blas.so.5: cannot open shared object file: No such file or directory

Lc0 version

LC0 version: 0.32
OS: Arch Linux
Intel oneAPI version: 2025.0.1.46-1

Lc0 parameters
t1-256x10-distilled-swa-2432500.pb.gz

Hardware

  • Number and model of GPUs that you use.
  • Amount of RAM in the system
  • Other specs (CPU etc) if it may be relevant

GPU: Intel Iris Xe (Intel Corporation Alder Lake-UP3 GT2)
RAM: 16GB
CPU: 12th Gen Intel(R) Core(TM) i5-1245U

Lc0 logs
None

Chess GUI logs
None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions