On 09/ 6/10 08:36 PM, Willem Jan Palenstijn wrote:
On Mon, Sep 06, 2010 at 08:25:33PM +0100, Dr. David Kirkby wrote:
On 09/ 6/10 01:46 PM, Fran?ois Bissey wrote:
On the other hand there is a real problem, I think, in the way libcblas.so
and liblapack.so are generated in sage as their production often fails.
Are you sure it is libcblas.so that's presenting problems and not
libf77blas.so?
As far as I can tell:
* On both Solaris and Linux, liblapack.so are *not* generated properly.
* On Linux, libf77blas.so is *not* generated properly. (That's ok on Solaris)
This makes me question whether we should be generating the shared
libraries at all. If that rather inappropriately named script
'make_correct_shared.sh' does not work, why the hell should we be using
it?
I haven't followed the rest of the thread very closely, but doesn't #9600
address the issue with make_correct_shared.sh?
-Willem Jan
No firm conclusions seem to be reached on that ticket, but the implied
assumption seems to be that we need to make the shared libraries. Everything on
that ticket is about building them - what options work, what don't, etc.
But the more important question is whether we need them at all. I think there's
evidence we don't need them at all, and so building them is a waste of
time/effort etc.
Let's look at the evidence
* Wolfram Research do not ship any of them shared with Mathematica - they are
all static. But Wolfram Research ship mainly shared libraries - only a small
number they included are static.
* Only two are *attempted* to be be built shared on OX X (libatlas & libcblas)
* The two we build on OS X are the only two which reliably build on Linux.
* liblapack.so, whilst it can be built on Solaris, it does not actually work,
so it's not built at all on Solaris.
I postulate that just including the static libararies, or possibly the static
plus shared versions of libatlas & libcblas, is all we need to do.
Does that make any sense?
I don't know about FreeBSD, but the OS X/Linux/Solaris situation seems pretty
clear to me.
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