On 09/ 6/10 09:36 PM, François Bissey wrote:
Hi Dave,
shared libraries, nice to have but not strictly necessary.
I am backing you up on that one until it is properly fixed.
I will look at that ticket but I think sage's BLAS/LAPACK
subsytstem needs a big revamp if we are going to use
shared libraries by default.
Yes.
Note that until recently ATLAS was tricky to build with shared
libraries - and certainly not the way it is currently done in sage.
We had a big libtool patch in Gentoo to deal with this. I think
most of the patch has been accepted in 3.9.24 so it may be
easier to build proper shared objects with 3.9.24+.
Building a shared liblapack.so from there is still tricky though.
Francois
I think given this, we should only checked for static libraries in the file
system_atlas.p, which is used when SAGE_ATLAS_LIB is set. Otherwise
SAGE_ATLAS_LIB fails to work if one of the shared libraries is missing. It's
pointless testing for libraries that are unreliably built, when there are
perfectly built versions.
I'm just going to build and doctest Sage on Linux and Solaris with the changes I
made. If they work, I'll post a revised .spkg which does not check for the
shared libraries.
I don't intend messing around just now with what gets built and what does not,
as that may be addressed if we update ATLAS. But currently the failure of these
libraries to build is meaning SAGE_ATLAS_LIB can't be used. That's a real pain
on t2.math, as ATLAS takes 7 hours to build.
Dave
--
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org