Skip to content

Backport 7908, BLD: Fixed MKL detection for recent versions of this library. #7919

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 8, 2016

Conversation

charris
Copy link
Member

@charris charris commented Aug 8, 2016

Backport #7908.

The detection of the MKL library was broken. According to Intel, the recommended way to build numpy and use MKL is to define a site.cfg with the values:

library_dirs = /opt/intel/compilers_and_libraries_2016/linux/mkl/lib/intel64
include_dirs = /opt/intel/compilers_and_libraries_2016/linux/mkl/include
mkl_libs = mkl_rt
lapack_libs = 

See https://software.intel.com/en-us/articles/numpyscipy-with-intel-mkl for more info.

The name of the libraries in system_info has been updated so now no site.cfg is needed if the MKLROOT environment variable is properly set to detect MKL.

@charris charris added this to the 1.11.2 release milestone Aug 8, 2016
@charris charris merged commit 5cfa756 into numpy:maintenance/1.11.x Aug 8, 2016
@charris charris deleted the backport-7908 branch August 8, 2016 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant