Differences between revisions 1 and 2
Revision 1 as of 2010-01-27 19:15:37
Size: 218
Editor: DavidKirkby
Comment:
Revision 2 as of 2010-01-30 08:42:32
Size: 1008
Editor: DavidKirkby
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
Unfortunately, it's not possible to build Sage any more on 't2' as the SPARC port was broken in 4.3.1 - much to my annoyance. === What is 't2' ===
Line 5: Line 5:
To be continued .. 't2' is a Sun T5240 with 2 processors, 16 cores, and 128 threads. 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.

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

You need to get your path set correctly, as well as LD_LIBRARY_PATH. You also need to have GNU versions of 'tar' and 'make', rather than use the Sun ones.

The following should allow you to build Sage on 't2'.

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

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. 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.

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

You need to get your path set correctly, as well as LD_LIBRARY_PATH. You also need to have GNU versions of 'tar' and 'make', rather than use the Sun ones.

The following should allow you to build Sage on 't2'.

$ 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