[SciPy-user] how to get to know which LAPACK version is used (by scipy)?

Lev Givon lev@columbia....
Fri Oct 19 07:43:21 CDT 2007


Received from dmitrey <dmitrey.kroshko@scipy.org> on Fri, Oct 19, 2007 at 11:58:23 AM EDT:

> hi all,
> how to get to know which LAPACK version is used (by numpy or scipy)?
> Regads, Dmitrey

If you are running scipy on a Linux system, you can determine what
LAPACK libraries the scipy shared libraries are linked to as
follows. On my machine, for instance, the output below indicates that
LAPACK 3.0 is being used:


[lev@localhost ~]$ ldd /usr/lib/python2.5/site-packages/scipy/linalg/flapack.so
        linux-gate.so.1 =>  (0xffffe000)
        liblapack.so.3.0 => /usr/lib/liblapack.so.3.0 (0xb784c000)
        libblas.so.1.1 => /usr/lib/libblas.so.1.1 (0xb77b7000)
        libpython2.5.so.1.0 => /usr/lib/libpython2.5.so.1.0 (0xb767f000)
        libgfortran.so.2 => /usr/lib/libgfortran.so.2 (0xb75e1000)
        libm.so.6 => /lib/i686/libm.so.6 (0xb75bb000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb75af000)
        libc.so.6 => /lib/i686/libc.so.6 (0xb746f000)
        libgfortran.so.1 => /usr/lib/libgfortran.so.1 (0xb73f1000)
        libpthread.so.0 => /lib/i686/libpthread.so.0 (0xb73da000)
        libdl.so.2 => /lib/libdl.so.2 (0xb73d6000)
        libutil.so.1 => /lib/libutil.so.1 (0xb73d1000)
        /lib/ld-linux.so.2 (0x80000000)

(The scipy files may be installed in different locations on your
system, of course.)

							L.G.


More information about the SciPy-user mailing list