Hey, yo;

I'm experimenting with building Sage on the Raspberry Pi.  It apparently 
has an ARM6 processor, so I'm running from scratch.  I ran into problems 
building libm4rie as well (and also on building conversion.c); it would 
start running and then after about 20 minutes the device would freeze up 
and my ssh session (since I'm running headless!) would seize up.  Nothing I 
can find in the log files; seems like just a straight out crash.  I'm 
trying again from the beginning in case something went wrong earlier in the 
build process.

ATLAS took 807 minutes to compile on the first attempt.  I seem to recall 
hearing that ATLAS has some kind of processor database at some point?  I 
poked around looking for whether there's a good way to store the timings, 
etc, and chop down the ATLAS compile time but wasn't immediately able to 
turn any answers up.  Anyone have a good idea of where to look?

cheers!
-tom

On Thursday, December 13, 2012 2:35:52 PM UTC+3, mmarco wrote:
>
> jaebond, did you try the image i linked? did it work for you? 
>
> On 9 dic, 10:56, mmarco <mma...@unizar.es> wrote: 
> > I have made a zip archive with both the image and the scripts that i 
> > use. you can download it from: 
> > 
> > http://riemann.unizar.es/algebra/Archive1.zip 
> > 
> > It also includes a readme.txt file 
> > 
> > On 8 dic, 23:01, jaebond <jacob.ae.b...@gmail.com> wrote: 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > > Thank you for that, that will help a lot.  I would be interested in 
> the 7gb 
> > > file.  How do you chroot into your images, do you use a script or an 
> app? 
> > >  I have been using an app, but it doesn't seem to like images that 
> weren't 
> > > made by the app. 
> > 
> > > On Saturday, December 8, 2012 9:22:20 AM UTC-5, mmarco wrote: 
> > 
> > > > The problem was that the ubuntu image that i was using was armel 
> > > > architecture, but the sage distribution made by Julien was compiled 
> in 
> > > > an armhf environment (a slightly different architecture). So there 
> > > > were not compatible. 
> > 
> > > > My solution was to get an armhf rootfs from the ubuntu core site 
> > > > (http://cdimage.ubuntu.com/ubuntu-core/releases/12.04/release/), 
> and 
> > > > create a disk image with it to use. 
> > 
> > > > The procedure to do so would be the following (on a linux box, maybe 
> > > > you would need root privileges to mount the image): 
> > 
> > > > 1) create an empty file to build the image in. If you just wwant it 
> to 
> > > > use sage, 3GB should be fine. If you want to install a complete 
> ubuntu 
> > > > system, you will need more (i used 7GB): 
> > > > dd -if=/dev/zero of=ubuntu.img -bs=1G count=3 
> > 
> > > > 2) format the file 
> > > > mkfs.ext2 ubuntu.img 
> > 
> > > > 3)create a directory and mount the image there 
> > > > mkdir mount 
> > > > mount -o loop ubuntu.img mount 
> > 
> > > > 4) put the ubuntu core tarball in the directory and unpack it 
> > > > cd mount 
> > > > wget 
> > > >
> http://cdimage.ubuntu.com/ubuntu-core/releases/12.04/release/ubuntu-c... 
> > > > tar xzf ubuntu-core-12.04.1-core-armhf.tar.gz 
> > 
> > > > 5) Unpack the sage install inside the directory 
> > > > 6) Unmount the directory 
> > > > cd .. 
> > > > umount mount 
> > 
> > > > And that's it, the file ubuntu.img is ready to be used as a chroot 
> > > > environment with a very minimal ubuntu system (not even graphical 
> > > > interface, just the very basic system tools), where sage should work 
> > > > just fine. 
> > 
> > > > I do have a 7gb image with a lightweight desktop, vnc server, and 
> some 
> > > > applications installed (although for example qt apps don't render 
> > > > well, and firefox and chromium don't work either, so i have replaced 
> > > > them by some alternatives). 
> > 
> > > > I can try to upload it somewhere, if people is interested. 
> > 
> > > > On 7 dic, 23:46, jaebond <jacob.ae.b...@gmail.com> wrote: 
> > > > > mmarco, 
> > 
> > > > > I had been working on this exact same issue a few months ago. 
>  Would you 
> > > > > mind explaining what you did to fix your issue? 
> > 
> > > > > On Friday, December 7, 2012 7:55:55 AM UTC-5, mmarco wrote: 
> > 
> > > > > > Nevermind, i found the problem: i had to use an armhf ubuntu. 
> > 
> > > > > > On 7 dic, 13:15, mmarco <mma...@unizar.es> wrote: 
> > > > > > > I have tried your package in a chroot environment (actually in 
> two, 
> > > > a 
> > > > > > > full ubuntu and a lubuntu), and it doesn't start in neither of 
> them. 
> > 
> > > > > > > Stranegly, the problem seems to be different: in the lubuntu 
> case, 
> > > > it 
> > > > > > > just shows the message with the version and quits. In the full 
> > > > ubuntu, 
> > > > > > > it complains with the message "can't import module sage", but 
> for 
> > > > > > > example, sage -python works fine 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To post to this group, send email to sage-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-devel+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.


Reply via email to