On 09/ 6/10 08:25 PM, 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.

Francois


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?

Dave


Clearly Wolfram Research see no need to generate the shared libraries. It makes me wonder if we really need them at all.

drkir...@hawk:/usr/local/Wolfram$ find . -name 'liblapack.*'
./Mathematica/7.0.1/SystemFiles/Libraries/Solaris-x86-64/liblapack.a
drkir...@hawk:/usr/local/Wolfram$ find . -name 'libatlas.*'
./Mathematica/7.0.1/SystemFiles/Libraries/Solaris-x86-64/libatlas.a
drkir...@hawk:/usr/local/Wolfram$ find . -name 'libcblas.*'
./Mathematica/7.0.1/SystemFiles/Libraries/Solaris-x86-64/libcblas.a
drkir...@hawk:/usr/local/Wolfram$ find . -name 'libf77blas.*'
./Mathematica/7.0.1/SystemFiles/Libraries/Solaris-x86-64/libf77blas.a

Whilst I can't speak for libatlas.so or libcblas.so, it appears Sage works fine without liblapack.so & libf77blas.so on Linux, and at least without liblapack.so on Solaris.

*Perhaps* generating the shared libraries libatlas.so or libcblas.so is worthwhile, but the other two are problematic on Linux and one is problematic on Solaris.

On OS X, Sage only tries to generate two shared libraries - libatlas.dylib and libcblas.dylib. No attempt is even made to generate the other two - which happens to be the two generating problems on Linux.



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

Reply via email to