[SciPy-dev] Problems with building scipy
Nils Wagner
nwagner at mecha.uni-stuttgart.de
Thu Dec 2 07:47:30 EST 2004
Pearu Peterson wrote:
>
>
> On Thu, 2 Dec 2004, Nils Wagner wrote:
>
>> Now there is only one "failure" in scipy.test() using FORTRAN
>> LAPACK/BLAS.
>>
>> ======================================================================
>> FAIL: check_heev_complex
>> (scipy.lib.lapack.test_lapack.test_flapack_complex)
>> ----------------------------------------------------------------------
>
>
> Fixed in CVS. This failure appeared when using Fortran BLAS.
>
>> Meanwhile, I have also test gcc3.3.4, gcc3.3.2 and gcc3.3.1
>> (SuSE9.2/SuSE9.1 /SuSE9.0). Unfortunately, I got the same
>> segmentation faults as mentioned earlier when using ATLAS 3.6 /
>> 3.7.8. This fact is (at least from my point of view) very
>> unsatisfactory.
>
>
> Comments:
> (i) Have you tried using ATLAS libraries from
> http://www.scipy.org/download/atlasbinaries/linux/
> ?
No, I did not.
> (ii) Always use ldd on flapack.so to check that system blas/lapack
> libraries are not being used.
I have removed the rpm's containing liblapack and libblas.
BTW, I found two different flapack.so on my system.
-rwxr-xr-x 1 root root 2342056 2004-12-02 12:59
/usr/lib/python2.3/site-packages/scipy/lib/lapack/flapack.so
-rwxr-xr-x 1 root root 1979744 2004-12-02 13:01
/usr/lib/python2.3/site-packages/scipy/linalg/flapack.so
Is that o.k. ?
cvs/scipy> ldd /usr/lib/python2.3/site-packages/scipy/linalg/flapack.so
linux-gate.so.1 => (0xffffe000)
libg2c.so.0 => /usr/lib/libg2c.so.0 (0x4028e000)
libm.so.6 => /lib/tls/libm.so.6 (0x402ac000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x402ce000)
libc.so.6 => /lib/tls/libc.so.6 (0x402d7000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
cvs/scipy> ldd /usr/lib/python2.3/site-packages/scipy/lib/lapack/flapack.so
linux-gate.so.1 => (0xffffe000)
libg2c.so.0 => /usr/lib/libg2c.so.0 (0x40305000)
libm.so.6 => /lib/tls/libm.so.6 (0x40323000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40345000)
libc.so.6 => /lib/tls/libc.so.6 (0x4034e000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
Nils
> Also verify the linking command for flapack.so and the existence of .a
> files used in -l.. and that -L..
> options are properly ordered so that correct .a files are picked up.
>
> Pearu
>
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-dev
More information about the SciPy-Dev
mailing list