Package Details: python-numpy-mkl 1.10.4-1

Git Clone URL: (read-only)
Package Base: python-numpy-mkl
Description: Scientific tools for Python compiled with intel mkl
Upstream URL:
Licenses: custom
Conflicts: python-numpy, python3-numpy
Provides: python-numpy=1.9.2, python3-numpy=1.9.2
Replaces: python3-numpy
Submitter: bred
Maintainer: bred
Last Packager: bred
Votes: 18
Popularity: 0.462258
First Submitted: 2012-08-25 16:55
Last Updated: 2016-03-27 08:23

Required by (176)

Sources (7)

Latest Comments

matrs commented on 2016-03-05 05:37

I did the changes suggested by @bear in the site files(hint: edit site files and install using --skipinteg) and it found the mkl library which previously didn't (FOUND: libraries = ['mkl_rt', 'pthread']). The thing is that if you dont make those changes it doesn't found the mkl library and still builds, so it's easy to believe that everything is working but your numpy is using another blas library.

liubenyuan commented on 2016-02-26 04:51


Thanks ! It works.

BTW, when compile, -openmp may be deprecated, it suggests using -qopenmp

bear commented on 2016-02-25 18:07

The site.cfg is not correct, after changed to the following, can import correctly after installed.

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

liubenyuan commented on 2016-02-25 14:44

and can this package be compiled using -iopm5 instead of -openmp ?

liubenyuan commented on 2016-02-25 14:32


Thanks ! I install the patchelfmod in aur (this package needs update, for example the pkgname is patchelfmod however the source dir is patchelf), and numpy.test() works fine.

and i think a patch in linking to is needed :)

anyway, thanks for your solution !

liubenyuan commented on 2016-02-25 14:18


I can only find patchelf in my archlinux, where could I get patchelfmod ?

BTW: I also tried to add -lirc in LDFLAGS, is it correct to do so?

trovao commented on 2016-02-25 11:51

@liubenyuan, @benob

I've solved this with patchelfmod by adding a dependency explicitly on the shared object files:

$ sudo patchelfmod -a /usr/lib/python2.7/site-packages/numpy/linalg/
sudo patchelfmod -a /usr/lib/python3.5/site-packages/numpy/linalg/

I've tried tweaking the to include -lirc, but it seems my flags weren't enough.

liubenyuan commented on 2016-02-25 02:20


same problem here. using intel-mkl 2016.1.30

benob commented on 2015-07-14 09:51

Installs fine with intel parallel studio xe 2015, but when I import numpy I get the following error:

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/numpy/", line 170, in <module>
from . import add_newdocs
File "/usr/lib/python2.7/site-packages/numpy/", line 13, in <module>
from numpy.lib import add_newdoc
File "/usr/lib/python2.7/site-packages/numpy/lib/", line 18, in <module>
from .polynomial import *
File "/usr/lib/python2.7/site-packages/numpy/lib/", line 19, in <module>
from numpy.linalg import eigvals, lstsq, inv
File "/usr/lib/python2.7/site-packages/numpy/linalg/", line 51, in <module>
from .linalg import *
File "/usr/lib/python2.7/site-packages/numpy/linalg/", line 29, in <module>
from numpy.linalg import lapack_lite, _umath_linalg
ImportError: /usr/lib/python2.7/site-packages/numpy/linalg/ undefined symbol: _intel_fast_memset

Preloading the library fixes the problem, but I would like a better solution.
LD_PRELOAD=/opt/intel/composer_xe_2015.3.187/compiler/lib/intel64/ python2

gilli commented on 2014-11-14 17:10

My installation failed because intel-fortran-compiler and intel-compiler-base targets havn't been found.

I guess this is a dependency issue.

All comments