Skip to content

Instantly share code, notes, and snippets.

@daeyun
Created November 15, 2015 04:40
Show Gist options
  • Save daeyun/7d581bad7ef46bcf8f6e to your computer and use it in GitHub Desktop.
Save daeyun/7d581bad7ef46bcf8f6e to your computer and use it in GitHub Desktop.
installing numpy and scipy with intel mkl

Add to ~/.numpy-site.cfg

[mkl]
library_dirs = /opt/intel/mkl/lib/intel64/
include_dirs = /opt/intel/mkl/include/
mkl_libs = mkl_rt
lapack_libs =

Then

sudo su
source /opt/intel/bin/compilervars.sh intel64

pip3 install -U numpy scipy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment