Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - python2-numpy-openblas

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: python2-numpy-openblas 1.11.2-1

Git Clone URL: https://aur-dev.archlinux.org/python2-numpy-openblas.git (read-only)
Package Base: python2-numpy-openblas
Description: Scientific tools for Python - built with openblas
Upstream URL: http://numpy.scipy.org/
Licenses: custom
Conflicts: python2-numpy
Provides: python2-numpy=1.11.2
Submitter: xia0er
Maintainer: xia0er
Last Packager: xia0er
Votes: 10
Popularity: 0.027189
First Submitted: 2013-04-20 21:03
Last Updated: 2016-10-07 18:07

Required by (388)

Sources (1)

Latest Comments

1 2 Next › Last »

xia0er commented on 2014-12-22 00:24

Just a note, you can check whether numpy built with this package is optimized utilizing openblas by checking whether numpy's lapack_lite library is linked with the openblas library:

$ ldd /usr/lib/python2.7/site-packages/numpy/linalg/lapack_lite.so
libopenblas.so.3 => /usr/lib/libopenblas.so.3

Of course running benchmarks would give you some idea as well.

xia0er commented on 2014-08-11 17:47

numpy now requires openblas to be configured in site.cfg for it to be successfully compiled with openblas.

xia0er commented on 2014-06-19 23:12

sftrytry and vidar, thanks for identifying the problem. I created a new src package with site.cfg included, but I have to shamefully admit I don't know how to successfully upload a src package to aur anymore with this new version. It complains that "Error - all directories must have permissions of 755", but I am pretty sure all files in and directory int the src package are either 644 or 755. I put the src package at dropbox for now: https://dl.dropboxusercontent.com/u/142634/python2-numpy-openblas-1.8.1-2.src.tar.gz

sftrytry commented on 2014-06-18 04:02

How can I add cat command in PKGBUILD. I added your script above python2 setup.py stuff but got PKGBUILD syntax error of EOF.

sftrytry commented on 2014-05-17 17:10

2nd vidar.
I updated my numpy on May 17. It was not optimized.

vidar commented on 2014-05-15 10:56

Hello. There is a little flaw in the PKGBUILD. numpy is NOT automatically linked against openblas, I added this to the PKGBUILD just above the python2 setup.py lines and it worked:
(the standard prefix for my openblas-lapack package was /usr )

cat <<-EOF > site.cfg
libraries = openblas
library_dirs = /usr/lib
include_dirs = /usr/include

uboot commented on 2014-02-20 12:45

options=("staticlibs") required, packages like scipy won't build otherwise...

uboot commented on 2014-02-20 11:04

options=("staticlibs") required, otherwise packages like python-scipy-git won't build

xia0er commented on 2013-12-09 17:45

As compiling with openblas support is now handled upstream in numpy, this packages is only needed to indicate the dependency of openblas-lapack package (as openblas package doesn't do it) and do a build of numpy after openblas-lapack is installed.

xia0er commented on 2013-11-21 20:49

Thank you, Xyne! I incorporated your changes in 1.7.1-5. Since @sftrytry created an openblas-lapack package, this package can now depend on the new package. I deleted my previous comment.

I am a bit ambivalent regarding separating PKGBUILD for python2 and 3. It is a pity that AUR doesn't support split package, but the single PKGBUILD works well on any archlinux box, and even though the python2 and 3 builds do not share any compilation, the commands are identical. So I am slightly leaning the current status - commenting out instead of removing the split package syntax.