Ask Your Question

Revision history [back]

There have been problems building Sage with shared libraries for ATLAS on some systems, so this may not work, but here is my suggestion:

  • copy the files libatlas.so.3, liblapack.so.3, libcblas.so.3, and libf77blas.so.3 to SAGE_ROOT/local/lib/, renaming them to libatlas.so, etc. (Remove the ".3".)

  • from any Sage installation on any machine, copy the header files cblas.h, clapack.h, and the directory "atlas" from the old SAGE_ROOT/local/include to the new one. If you don't have an installation handy, you should be able to copy the files from my home directory on t2.math.washington.edu.

  • touch the file SAGE_ROOT/spkg/installed/atlas-3.8.3.p14, to convince Sage that the ATLAS spkg has actually been installed.

  • proceed with the rest of the Sage build.

I do this all the time on t2.math.washington.edu, since building ATLAS there takes 11 hours (!), and since SAGE_ATLAS_LIB has been somewhat broken for Solaris systems. As I said at the start, this may end up failing because of issues with shared ATLAS libraries, but it seems like the most likely candidate to me.