Skip to content

Instantly share code, notes, and snippets.

@acmiyaguchi
Created April 1, 2024 17:50
Show Gist options
  • Save acmiyaguchi/10c3a49db09f631a4ee7d9a641be964f to your computer and use it in GitHub Desktop.
Save acmiyaguchi/10c3a49db09f631a4ee7d9a641be964f to your computer and use it in GitHub Desktop.
installing intel-mkl for breeze
sudo update-alternatives --install /usr/lib/libblas.so libblas.so /usr/lib/x86_64-linux-gnu/libmkl_rt.so 1000
sudo update-alternatives --install /usr/lib/libblas.so.3 libblas.so.3 /usr/lib/x86_64-linux-gnu/libmkl_rt.so 1000
sudo update-alternatives --install /usr/lib/liblapack.so liblapack.so /usr/lib/x86_64-linux-gnu/libmkl_rt.so 1000
sudo update-alternatives --install /usr/lib/liblapack.so.3 liblapack.so.3 /usr/lib/x86_64-linux-gnu/libmkl_rt.so 1000
https://github.com/fommil/netlib-java/?tab=readme-ov-file
@acmiyaguchi
Copy link
Author

export MKLROOT=/opt/intel/oneapi/mkl/latest

sudo update-alternatives --install /usr/lib/libblas.so     libblas.so     $MKLROOT/lib/intel64/libmkl_rt.so 1000
sudo update-alternatives --install /usr/lib/libblas.so.3   libblas.so.3   $MKLROOT/lib/intel64/libmkl_rt.so 1000
sudo update-alternatives --install /usr/lib/liblapack.so   liblapack.so  $MKLROOT/lib/intel64/libmkl_rt.so 1000
sudo update-alternatives --install /usr/lib/liblapack.so.3 liblapack.so.3 $MKLROOT/lib/intel64/libmkl_rt.so 1000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment