[SciPy-User] NumPy error

Agile Aspect agile.aspect at gmail.com
Mon Oct 5 16:19:46 EDT 2009


On Mon, Oct 5, 2009 at 12:26 PM, nitin chandra <nitinchandra1 at gmail.com> wrote:
> Hello Everyone,
>
> I have a System Configured with P4 1.8GHz, 256 DDR RAM, 80 GB HDD PATA
> which has FC10 with the default kernel 2.6.27 installed.
>
> I have Installed following from source / tar.gz / gz files in /opt/<software>
>
> I Installed Python 2.6.2, LAPACK-3.2.1, XBLAS-1.0.248, ATLAS-3.9.14 (
> Linux_P4ESSE2 ), FFTW-3.2.2, nose-0.11.1,
>
> Stuck at NumPy-1.3.0rc2 and will install Scipy next. I created various
> Log file duing the process of './configure' or 'make'
>
> Attached is a file with various parameters given during installation.
>
> my lapack_LINUX.a = liblapack.a = 15MB
>
> ( I have already spent 3 weeks, to this point.... desperatly need some
> guidance / help ... and let me know where am i going wrong ) .
>
> TIA
>
> Nitin
>
> I am getting the following error :-
>
> ERRORS
>
>
> [root at mi newpy]# python
> Python 2.6.2 (r262:71600, Sep 28 2009, 21:33:37)
> [GCC 4.3.2 20081105 (Red Hat 4.3.2-7)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import numpy
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
>  File "/opt/python262/lib/python2.6/site-packages/numpy/__init__.py",
> line 130, in <module>
>    import add_newdocs
>  File "/opt/python262/lib/python2.6/site-packages/numpy/add_newdocs.py",
> line 9, in <module>
>    from lib import add_newdoc
>  File "/opt/python262/lib/python2.6/site-packages/numpy/lib/__init__.py",
> line 13, in <module>
>    from polynomial import *
>  File "/opt/python262/lib/python2.6/site-packages/numpy/lib/polynomial.py",
> line 18, in <module>
>    from numpy.linalg import eigvals, lstsq
>  File "/opt/python262/lib/python2.6/site-packages/numpy/linalg/__init__.py",
> line 47, in <module>
>    from linalg import *
>  File "/opt/python262/lib/python2.6/site-packages/numpy/linalg/linalg.py",
> line 22, in <module>
>    from numpy.linalg import lapack_lite
> ImportError: /opt/atlas/lib/liblapack.so: undefined symbol: blas_zhemv2_x_
>>>>
> [1]+  Stopped                 /opt/python262/bin/python
> [root at mi newpy]# cat ~/.bash_profile
>
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
>

The error message was that it has a missing symbol, namely,

       blas_zhemv2_x_

I'm not real sure how to read this symbol  but try

      nm libblas.a | grep  _zhemv2

and see if the symbol is defined.

Note, I don't have this symbol in my libraries but I'm using different
versions of the libraries.

Please post your site.cfg file found in <OS
DIRECTORY>/python2.6/site-packages/numpy/distutils.

Is it possible you didn't add the BLAS libraries to the site.cfg file?


-- 
     "We are drowning in information and starving for knowledge."

                                                          --
Rutherford D. Roger



More information about the SciPy-User mailing list