[SciPy-user] Question about ATLAS usage in SciPy

Fernando Perez fperez at pizero.colorado.edu
Thu Jan 9 13:16:09 EST 2003


On Thu, 9 Jan 2003, Pearu Peterson wrote:

> > My question is: is the scipy build process smart enough to link the static 
> > atlas libraries, or will the default behavior of the compiler (dynamic 
> > linking) slip through? After going through the work of building/installing 
> > atlas, I don't want to end up with scipy using the stock unoptimized 
> > blas/lapack for everything.
[snip]

> 
> However, since in your case the command 
>   /usr/bin/python -c "import atlas_version"
> shows the correct ATLAS version (right?) then I am pretty sure that
> also scipy is linked against static lapack library from /usr/local/lib.
> 
> But to be absolutely sure, apply ldd to one of the extension modules that
> is supposed to use lapack library. The output should not contain any
> references to /usr/lib/liblapack.so*.

Thank you. Indeed, running ldd on all the extension modules in linalg 
shows no references to any of the blas/lapack dynamic libraries. All seems 
well then.  I just wanted to be sure and to understand how the process 
works.

Best regards,


Fernando.




More information about the SciPy-User mailing list