Differences between revisions 6 and 7
Revision 6 as of 2010-02-05 18:20:30
Size: 1707
Editor: DavidKirkby
Comment:
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.
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:
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.
Very easily. Just add this to your $HOME/.profile file:
Line 20: Line 18:
$ 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
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:


{{{

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