FS#9905 - Blas package from netlib is different from the provided by Lapack
Attached to Project:
Arch Linux
Opened by Kazuo Teramoto (kazuo) - Saturday, 22 March 2008, 06:44 GMT
Last edited by Jan de Groot (JGC) - Monday, 03 November 2008, 10:42 GMT
Opened by Kazuo Teramoto (kazuo) - Saturday, 22 March 2008, 06:44 GMT
Last edited by Jan de Groot (JGC) - Monday, 03 November 2008, 10:42 GMT
|
Details
Trying to compile python-scipy I found a strange
inconsistency on blas package from netlib it don't include
some files that Lapack include and use, like scabs1.f. With
this the scipy can't be compiled. Stopping with the follow
error:
ImportError: /usr/lib/libblas.so.3: undefined symbol: scabs1_ If I change the PKGBUILD (I make a new blas.tgz and add a scabs1.o to the Makefile) to use the BLAS dist provided by LAPACK it compile and works. I don't know are the problem is (I have nearly zero knowledge about how lapack and blas works) but what I know is that the current blas package break scipy (and pygsl too) Attached is file of the differences from a diff -u of the contents of the two distros |
This task depends upon
Closed by Jan de Groot (JGC)
Monday, 03 November 2008, 10:42 GMT
Reason for closing: Fixed
Additional comments about closing: Assuming fixed in blas 20070405-1.
Monday, 03 November 2008, 10:42 GMT
Reason for closing: Fixed
Additional comments about closing: Assuming fixed in blas 20070405-1.
Another alternative solution is to install atlas-lapack from AUR (the PKGBUILD in the package won't build, but the one provided by buggs in the comment works), which provides optimized BLAS and LAPACK. Now I need to get R working with this atlas-lapack.
Sorry for the wrong bug report...
Run:
$ python
from scipy import *
which throws an error:
ImportError: /usr/lib/libblas.so.3: undefined symbol: scabs1_
So I do an objdump:
$ objdump -t libblas.so | grep scabs1
0002c430 g F .text 00000013 scabs1_
The symbol is really not defined.
I try to build it from abs, and find that 'scabs1.o' is missing in the Makefile.
After adding it, build the package and install, scipy is imported happily now.
Patch attached. Hope the problem is solved soon.