Thank you  very much for your prompt reply!!

I was able to compile sage-3.4 on the OLPC XO.  It took 3 days !! More
than half of the time was spent in linbox, in particular compiling
linbox-sage.C.

Since the XO tripped on the same ATLAS bug as Solaris,  I removed
ATLAS from sage-3,4 - slight modifcations to deps  and to the
spkg_install /setup,py  of  r, rpy and cvxopt.  I also disabled the
graphics login as suggesed in the  sage wiki FAQ,  The XO has 256MB of
physical RAM.  I gave it 256MB of swap space.

I am always amazed that sage incorporated so many different packages
so seamlessly.   In my little exercise with the XO, I studied sage-
spkg and some of
the spkg-install and setup files and am further impressed !!

Thank you !!

Elizabeth
On Jul 21, 5:57 am, Minh Nguyen <nguyenmi...@gmail.com> wrote:
> Hi Elizabeth,
>
>
>
> On Tue, Jul 21, 2009 at 3:22 PM, Elizabeth Yip<el...@comcast.net> wrote:
>
> > Hello
>
> > I  installed a customized version of Ubuntu Intrepid for my OLPC-XO
> > using a 2G USB drive and tried to make SAGE for the XO on another 2G
> > USB drive under Ubuntu.
>
> > Previously, I've successfully installed sage-4.1 on my desktop
> > machine.  I  did a du on the sage-4.1 directory, sage-4.1 uses 1958490
> > blocks, which is slightly larger than my USB drive of 1921756 blocks.
> > Sage-3.4 uses 1802059 blocks.  That's why I chose 3.4 instead of 4.1
> > for the XO
>
> > After 10 hours or more, the make failed with an error in building
> > ATLAS.  Here is the part of install.log indicating the error:
> > ------------------------------------------------------------------------------------------------
> >   STAGE 2-2-1 : BUILDING BLOCK MATMUL TUNE
> > make -f Makefile INSTALL_LOG/sMMRES pre=s 2>&1 | ./xatlas_tee
> > INSTALL_LOG/sMMSEARCH.LOG
> > Aborted
> > make[3]: *** [build] Error 134
> > make[3]: Leaving directory `/mnt/sage-3.4/spkg/build/atlas-3.8.3.p0/
> > ATLAS-build'
> > make[2]: *** [build] Error 2
> > make[2]: Leaving directory `/mnt/sage-3.4/spkg/build/atlas-3.8.3.p0/
> > ATLAS-build'
> > Failed to build ATLAS.
> > Failed to build ATLAS.
>
> > real    255m14.016s
> > user    201m35.850s
> > sys     9m8.800s
> > sage: An error occurred while installing atlas-3.8.3.p0
>
> That is a known error, as reported at ticket #6276
>
> http://trac.sagemath.org/sage_trac/ticket/6276
>
> but in relation to Solaris.
>
> Compiling Sage from source consumes a lot of system resources. My
> guess is that the hardware of an OLPC-XO couldn't handle the job. But
> I may be wrong as someone has compiled Sage 3.2.3 on a cell phone
> before; see
>
> http://groups.google.com/group/sage-devel/browse_thread/thread/243dfd...
>
> ATLAS takes hours and hours to compile because it needs to tune itself
> to run efficiently for the hardware under consideration. At the
> moment, ATLAS doesn't compile on all systems that we would like it to.
>
> > I searched for 'OLPC-XO' in the Sage home page.  I understand that the
> > XO can access sage throughhttp://sagenb.org.  Since we can boot the
> > XO in ubuntu, I think it would be nice to have sage compiled as well.
>
> You can also access sagenb.org from your iPhone, or a cell phone with
> Internet connection.
>
> --
> Regards
> Minh Van Nguyen
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to