[Numpy-discussion] building numpy with atlas on ubuntu edgy
Charles R Harris
Wed Apr 18 12:00:15 CDT 2007
On 4/18/07, Keith Goodman <firstname.lastname@example.org> wrote:
> On 4/17/07, David Cournapeau <email@example.com> wrote:
> > Now that you mention it, I am also puzzled by this one: I can see why
> > you would use atlas3-sse2-dev without atlas3-base-dev (for the static
> > library), but not having atlas3-base-dev makes it imposible to
> > dynamically link to atlas libraries without customizing makefiles and/or
> > configure options.
> I'd like to compile atlas so that I can take full advantage of my core
> 2 duo. Numpy dynamically links to the debian binary of atlas-sse that
> I installed. But the atlas website says that they recommend static
> Which do you recommend, static or dynamic? Are there good directions for
I don't know which is best, although I suspect the statically linked version
will be larger. It might seem that just pulling in the gemm routines
wouldn't add much, but they pull in lots of supporting routines. To get
numpy to link statically you will also probably need to have a directory
that contains only the *.a versions because the linker will default to the
*.so if they are present; i don't think there is a way to specify the
-static flag to the gcc compiler. Maybe someone else knows how to do that.
For ATLAS, I believe the latest versions are also recommended because the
stable version is so old.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Numpy-discussion