How to build Sage on the Sun T5240 t2.math.washington.edu. (These are very specific to one particular machine, and not generally useful)
What is 't2' ?
't2' is a Sun T5240 with 2 processors, 16 cores, and 128 threads. It is a 'SPARC' system, using a completely different processor to any Intel or AMD based machine. 't2' runs the latest version of Solaris 10.
The T5240 is capable of blistering performance as a web server, but its architecture is poorly suited for Sage, so building Sage takes quite a bit of time. The speed to build is compounded by the fact that ATLAS has no tuning parameters for the sun4v architecture, so has to determine them each time. This is the the subject of http://trac.sagemath.org/sage_trac/ticket/6705
What versions of Sage build on 't2' ?
All recent versions of Sage build on 't2'. Any reference you might find on the Sage pages that 18.104.22.168 is the latest version to build are outdated, as 4.4.2, and several earlier versions, all build on 't2'.
How do I build Sage on 't2'?
Very easily. Just add this to your $HOME/.profile file:
if [ `uname -n` = t2 ] ; then . /usr/local/gcc-4.4.1-sun-linker/gcc441sun fi
That will ensure your PATH and LD_LIBRARY_PATH is correct and that they are only set this way on 't2'. I suggest you put this at the bottom of your Then build as:
$ tar xf sage-22.214.171.124.tar $ cd sage-126.96.36.199 $ make $ ./sage
Where can I get more information about building Sage on Solaris?
See the following link, but you don't need to worry about any of this if you just want to build Sage on 't2'. You will if you want to build Sage on your own SPARC system.