[SciPy-user] building numpy/scipy on Solaris
Thu Mar 29 07:09:20 CDT 2007
I just realized I've got much more recent versions of libsunperf and C
and fortran compilers. I've got Sun Studio 10 & 11 installed. So I tried
building numpy with both of them and each time I get this error when
importing numpy :
>>> import numpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/tmp/lib/python2.5/site-packages/numpy/__init__.py", line 40, in
File "/tmp/lib/python2.5/site-packages/numpy/linalg/__init__.py", line
4, in <module>
from linalg import *
File "/tmp/lib/python2.5/site-packages/numpy/linalg/linalg.py", line
25, in <module>
from numpy.linalg import lapack_lite
ImportError: ld.so.1: python: fatal: relocation error: file
__mt_MasterFunction_rtc_: referenced symbol not found
I tried the CPPFLAGS='-DNO_APPEND_FORTRAN' option, but it didn't change
anything. Any idea?
---- Messages d´origine ----
De: raphael langella <email@example.com>
Date: mardi, mars 20, 2007 12:08 pm
Objet: [SciPy-user] building numpy/scipy on Solaris
> I'm trying to build numpy and scipy on Solaris 8.
> The BLAS FAQ on netlib.org suggests using optimized BLAS librairies
> provided by computer vendor, like the SUN Performance Library. This
> library is supposed to provide enhanced and optimized version of BLAS
> and LAPACK. I happen to have Forte 7 installed, so I first tried to
> build against this library (libsunperf.a).
> I tried several versions and different compilation options, but I
> alwaysget undefined symbols. Is this supported? As anyone ever
> succeeded in
> using this library to compile scipy and numpy?
> I also did some unsuccessful tests with Atlas. But, I think I'm now
> veryclose to have it working with the standard BLAS/LAPACK (from
> netlib.org). I have to use GNU ld (unresolved symbols when using Sun's
> ld). Numpy builds and tests without any error. I've got a few
> errors and
> failures with scipy (see attachment for the complete test report). Are
> these errors critical? I don't understand where they come from and how
> to correct them.
> Thanks for your help.
> Raphaël Langella
-------------- next part --------------
SciPy-user mailing list
More information about the SciPy-user