How to build Sage on the Sun T5240 t2.math.washington.edu.

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' ?

The latest Sage to build on 't2' is 4.3.0.1. Something got broke in 4.3.1, so it will not build.

How do I build Sage on 't2'?

Very easily.

You need to get your PATH set correctly, as well as LD_LIBRARY_PATH. The following should allow you to build Sage on 't2'. Everything will be set up for you then.

$ export PATH=/usr/local/gcc-4.4.1-sun-linker/bin:/usr/local/bin2:/usr/bin:/usr/ccs/bin:/usr/local/bin:/usr/sfw/bin:/bin:/usr/sbin
$ export LD_LIBRARY_PATH=/usr/local/gcc-4.4.1-sun-linker/lib:/usr/local/lib
$ tar xf sage-4.3.0.1.tar
$ cd sage-4.3.0.1
$ 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.

http://wiki.sagemath.org/solaris