Differences between revisions 7 and 10 (spanning 3 versions)
Revision 7 as of 2010-02-22 10:58:15
Size: 1547
Editor: DavidKirkby
Comment: Updated instructions for how to set PATH and LD_LIBRARY_PATH.
Revision 10 as of 2022-04-05 02:29:24
Size: 0
Editor: mkoeppe
Comment: outdated
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== 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' ? ===

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. 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. Then build as:


{{{
$ 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