Hi, I'm working on exactly this (and have been on-and-off since last month).

I actually JUST TODAY finished compiling lib4mrie on the nth attempt.  I am 
doing the compilation on an 8gb USB stick with 3gb set as swap and the rest 
as an ext4-fs.  THe above comments are spot on: after about 20m working on 
conversion.o, the Pi runs out of RAM and crashes unless you turn on extra 
swap space.  The USB drivers are much faster for read/write than the SD 
card, so it's preferable to run the compilation on an attached USB drive.  
It's also probably better to use a mechanical hard disk, since 
super-extensive read-writes on flash media (like when you're using it for 
swap space) is a bad thing and will kill your drive after a while (this 
could be what happened to your sd card).  But the hard drive should be 
plugged in to either a powered USB hub or else be otherwise externally 
powered, since the pi doesn't supply enough power on USB to run a hard 
drive on its own.

In any case, the lib4mrie spkg took about 70.5 hours to compile, the great 
majority of which was waiting on swap usage with the USB drive....  So 
anything you can do to improve the swap available will help with the 
compilation time.

Best,
-tom

On Wednesday, January 2, 2013 10:27:21 AM UTC+3, Don Harter wrote:
>
> I ran the compile again after shutting down several services.   I also 
> shut down a swap file so that it would only have swap disk partitions to 
> use.
> I started getting read and write errors on the swap drive which is a SDHC 
> card in a reader.  Eventually the kernel oopsed/crashed.  Maybe it is the 
> drivers in the ARM kernel.  I know that when they improves some of the SDHC 
> kernel drivers that some cards which did not work before started working.
> Right now I don't have any spare USB hard drives to test with.  They are 
> all one big partition and I don't want mess with resizing partitions.
> Maybe I will try a USB memory stick.  But the problem could be common to 
> several USB "drive" types for ARM.
>
> On Tuesday, January 1, 2013 12:05:32 PM UTC-6, Snark wrote:
>>
>> Le 01/01/2013 18:06, Don Harter a �crit : 
>> > My compile has gotten to m4rie/conversion.c. 
>>
>> Oh, that one file is such a pain, see my recent ramblings on this list. 
>>
>> Snark on #sagemath 
>>
>

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