> I've made a couple of changes to the ATLAS package so SAGE_ATLAS_LIB works > on Solaris. When I tested it on Solaris it worked of course. > > kir...@sage:~/sage-4.5.alpha4$ export SAGE_ATLAS_LIB=/tmp > kir...@sage:~/sage-4.5.alpha4$ export > SAGE_ATLAS_LIB=/home/kirkby/sage-4.4.3/local > kir...@sage:~/sage-4.5.alpha4$ ls /home/kirkby/sage-4.4.3/local/lib/libla* > /home/kirkby/sage-4.4.3/local/lib/liblapack.a > > > > When I tested on Linux, the code did not work. I tried an old version on > sage.math, that did not work either. Each time, I get the message that one > of the libraries is missing: - see below. > > Unable to find one of liblapack.so, libcblas.so, libatlas.so, or > libf77blas.so in supplied directory. > Set SAGE_ATLAS_LIB to the lib directory of > liblapack.so,libcblas.so,libatlas.so,libf77blas.so, > to use existing atlas libraries, or unset SAGE_ATLAS_LIB to build one from > source. > > > > When I looked at the code, there's a test for liblapack.so. That library is > never made on Solaris, but it does not appear it's made on Linux either. > Not one single build I have on sage.math has liblapack.so > > kir...@sage:~$ find . -name liblapack.so > kir...@sage:~$ find . -name liblapack.a > ./sage-4.5.alpha4/local/lib/liblapack.a > ./sage-4.5/local/lib/liblapack.a > ./sage-4.4.3/local/lib/liblapack.a > ./sage-4.4.3/dist/sage-4.4.3-sage.math-x86_64-Linux/local/lib/liblapack.a > ./sage-4.4.3/dist/tmp/sage-4.4.3-sage.math-x86_64-Linux/local/lib/liblapack > .a ./atlas-build/lib/liblapack.a > ./sage-4.4.2/local/lib/liblapack.a > > > Since the script system_atlas.py tests for liblapack.so, and will generate > an error message if it does not exists, I can't possibly see how > SAGE_ATLAS_LIB ever works for anyone on Linux. > > If you look at the code, do not look at sage-4.5.3 or later, as there were > some Solaris-specific changes made there on #9356. I suspect this has been > broken for some time. > > Am I missing something? > Hi Dave,
If you use SAGE_ATLAS_LIB you use a set of libraries installed outside of sage. Either you built it yourself or it is provided by your system. Gentoo install liblapack.so - so it should work for me. I don't know about other distros. 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 -- 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
