[SciPy-user] installation problems

manouchk manouchk at gmail.com
Wed Mar 15 09:01:12 CST 2006


Le Mardi 14 Mars 2006 14:12, Hanno Klemm a écrit :
> Philippe,
>
> I had a similar problem. When you are installing on a Red Hat
> distribution, it is highly likely that your BLAS or another numerical
> library is incomplete. That seemed to be the problem on the Red Hat
> distribution I have been using.
>
> Probably you then have to compile the numerical libraries yourself
> (that's at least what I did).

On mandriva 2005LE there is a similar problem when I run scipy.test(level=1)

it gives a lo of line with the problem "undefined symbol: srotmg_" like this 
one :

import signal -> 
failed: /usr/lib/python2.4/site-packages/scipy/linalg/fblas.so: undefined 
symbol: srotmg_

and then there is a warning :

WARNING: clapack module is empty


If I refer to old mail of scipy-user mailing list :
http://www.scipy.net/pipermail/scipy-user/2002-June/000447.html

the solution was already given there :

"Yes, srotmg_ is missing in the BLAS libraries that are included in LAPACK.
You have to download http://netlib2.cs.utk.edu/blas/blas.tgz and rebuild
BLAS to fix it."

Question 1:
only blas.tgz is needed?
Question 2:
is it better to use the cblas.tgz in order to have coherent *.c and *.f files?
Question 3:
the solution is to replace all *.f and .c files and then build?
Question 4:
what is the license of blas.tgz and cblas.tgz?

The problem is still there in mandriva 2005! It is a pity that the problem was 
not resolved so that the distribution chip the complete version. 

I hope it is not to much out of the subject but I'd like to know if mandriva 
is now a exception and other distribution ship the "complete" version?


> HTH,
> Hanno
>
> On Mar 14, 2006, at 6:03 PM, FONTAINE Philipe wrote:
> > I have installed scipy with all the needed packages
> >
> > When I load it from Python, it gives me the following messages:
> >>>> from scipy import *
> >
> > Traceback (most recent call last):
> >   File "<stdin>", line 1, in ?
> >   File "/usr/local/lib/python2.3/site-
> > packages/scipy/signal/__init__.py", line 9, in ?
> >     from bsplines import *
> >   File "/usr/local/lib/python2.3/site-
> > packages/scipy/signal/bsplines.py", line 3, in ?
> >     import scipy.special
> >   File "/usr/local/lib/python2.3/site-
> > packages/scipy/special/__init__.py", line 10, in ?
> >     import orthogonal
> >   File "/usr/local/lib/python2.3/site-
> > packages/scipy/special/orthogonal.py", line 66, in ?
> >     from scipy.linalg import eig
> >   File "/usr/local/lib/python2.3/site-
> > packages/scipy/linalg/__init__.py", line 8, in ?
> >     from basic import *
> >   File "/usr/local/lib/python2.3/site-packages/scipy/linalg/basic.py",
> > line 228, in ?
> >     import decomp
> >   File "/usr/local/lib/python2.3/site-packages/scipy/linalg/decomp.py",
> > line 18, in ?
> >     from blas import get_blas_funcs
> >   File "/usr/local/lib/python2.3/site-packages/scipy/linalg/blas.py",
> > line 15, in ?
> >     import fblas
> > ImportError: /usr/local/lib/python2.3/site-
> > packages/scipy/linalg/fblas.so: undefined symbol: srotmg_
> >
> > did someone have the same problem?
> > Anyone knows the how to solve it
> >
> > Many Thanks
> >
> > Philippe
> >
> > _______________________________________________
> > SciPy-user mailing list
> > SciPy-user at scipy.net
> > http://www.scipy.net/mailman/listinfo/scipy-user



More information about the SciPy-user mailing list