Re: [sage-devel] Re: Sage 5.0 on ARM

2012-05-27 Thread Julien Puydt
Le dimanche 27 mai, Dima Pasechnik a écrit:
> Great! So this has to get into our ECL spkg...

Yes, but first it should get proper testing, see :
http://trac.sagemath.org/sage_trac/ticket/12586

Snark

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


[sage-devel] Re: Sage 5.0 on ARM

2012-05-27 Thread Dima Pasechnik
On 2012-05-27, Julien Puydt  wrote:
> Le dimanche 27 mai, Juanjo a écrit:
>> A patch has been uploaded to ECL's bug tracker. Please report whether
>> it works for you.
>
> I see the message about it in the bug tracker, but no file is
> attached.
>
I see that this is the patch, 
http://sourceforge.net/tracker/download.php?group_id=30035&atid=398053&file_id=444605&aid=3495303
and it fixes the things, as reported by Snark
http://sourceforge.net/tracker/?func=detail&aid=3495303&group_id=30035&atid=398053

Great! So this has to get into our ECL spkg...

Dima

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


Re: [sage-devel] Re: Sage 5.0 on ARM

2012-05-26 Thread Julien Puydt
Le samedi 26 mai, Dima Pasechnik a écrit:
> On 2012-05-26, Julien Puydt  wrote:
> > Le dimanche 20 mai, Julien Puydt a écrit:
> >> sage -t  --long -force_lib
> >> devel/sage/sage/interfaces/maxima_abstract.py
> >> **
> >> File
> >> "/home/jpuydt/sage-5.0/devel/sage-main/sage/interfaces/maxima_abstract.py",
> >> line 1595: sage: float(maxima("1.7e+17")) Expected: 1.7e+17
> >> Got:
> >> 1.6997e+17
> >> **
> >> 
> >> This is an ECL bug, reported upstream :
> >> http://sourceforge.net/tracker/?func=detail&atid=398053&aid=3495303&group_id=30035
> >
> > Sigh... upstream tested and found it wasn't their fault, so I guess
> > there's something else somewhere :-/
> 
> Can you reproduce this on Maxima console?

I tried to enter "1.7e17;" in "./sage -maxima" with sage-5.0 both on my
ARM box and on sage.math.washington.edu, and I get a difference : on
ARM, 1.69...9e+17 is returned where sage.math has 1.7e+17.

> If yes, I'd have tried installing Maxima in another lisp,
> and check if the bug is still there.

Perhaps I should contact maxima upstream?

Snark on #sagemath

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


[sage-devel] Re: Sage 5.0 on ARM

2012-05-26 Thread Dima Pasechnik
On 2012-05-26, Julien Puydt  wrote:
> Le dimanche 20 mai, Julien Puydt a écrit:
>> sage -t  --long -force_lib
>> devel/sage/sage/interfaces/maxima_abstract.py
>> **
>> File
>> "/home/jpuydt/sage-5.0/devel/sage-main/sage/interfaces/maxima_abstract.py",
>> line 1595: sage: float(maxima("1.7e+17")) Expected: 1.7e+17
>> Got:
>> 1.6997e+17
>> **
>> 
>> This is an ECL bug, reported upstream :
>> http://sourceforge.net/tracker/?func=detail&atid=398053&aid=3495303&group_id=30035
>
> Sigh... upstream tested and found it wasn't their fault, so I guess
> there's something else somewhere :-/

Can you reproduce this on Maxima console?
If yes, I'd have tried installing Maxima in another lisp,
and check if the bug is still there.

Dima

>
> Snark on #sagemath
>

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


Re: [sage-devel] Re: Sage 5.0 on ARM

2012-05-24 Thread Dima Pasechnik


On Thursday, 24 May 2012 16:56:39 UTC+2, Snark wrote:
>
> Le mercredi 23 mai, mmarco a écrit: 
> > I did build the chroot image, but when i test it sage fails at startup 
> > because gap cannot load several packages. It seems that they are not 
> > installed. I suspect that those packages are missing. Does the tarball 
> > that you uploaded work for you on its own? 
>
> At first takes a long time resetting hardcoded paths (sounds like 
> someting need patching here...), then I get a prompt which does trivial 
> computations fine. When I close, I get a message "Exiting spawned Gap 
> process."... and when I start it again, it is faster to load, and on 
> exit there is nothing about gap anymore. 
>

once upon a time, Sage creates a GAP workspace... and saves in to ~/.sage/
without you being aware about this.
The point is that loading GAP libraries is very slow, and next time it 
starts
it does not need to do this, in can just load the already made GAP 
workspace,
which is much faster...
  

>
> Snark on #sagemath 
>

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


[sage-devel] Re: Sage 5.0 on ARM

2012-05-24 Thread mmarco
I am uploading now a tarball with the necesary files to run sage on
rooted android devices. Uploading should finish in a few minutes.
Please test it if you have another device.

In order to run it you need:
-an android device with 3.5gb of disk space available (in principle,
it should be posible to run it from a micro sd card or other external
storage)
-root permissions (that is: your device must be rooted)
-busybox installed
-a terminal emulator

To install it, you should:
-copy the files install.sh sage and sagechroot.imge to some directory
-open a terminal session
-su
-cd into the directory where you copied the files
-type "sh install.sh"

Once installed, it should be enough to cd into the directory and type
"sh sage"


The url is http://riemann.unizar.es/algebra/sagechroot.tar.gz

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


Re: [sage-devel] Re: Sage 5.0 on ARM

2012-05-24 Thread Julien Puydt
Le mercredi 23 mai, mmarco a écrit:
> I did build the chroot image, but when i test it sage fails at startup
> because gap cannot load several packages. It seems that they are not
> installed. I suspect that those packages are missing. Does the tarball
> that you uploaded work for you on its own?

At first takes a long time resetting hardcoded paths (sounds like
someting need patching here...), then I get a prompt which does trivial
computations fine. When I close, I get a message "Exiting spawned Gap
process."... and when I start it again, it is faster to load, and on
exit there is nothing about gap anymore.

Snark on #sagemath

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


[sage-devel] Re: Sage 5.0 on ARM

2012-05-23 Thread mmarco
I did build the chroot image, but when i test it sage fails at startup
because gap cannot load several packages. It seems that they are not
installed. I suspect that those packages are missing. Does the tarball
that you uploaded work for you on its own?

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


Re: [sage-devel] Re: Sage 5.0 on ARM

2012-05-22 Thread Julien Puydt
Le mardi 22 mai, Julien Puydt a écrit:
> http://boxen.math.washington.edu/home/jpuydt/sage-5.0-armv7l-Linux.tar.bz2

I forgot :
$ md5sum sage-5.0-armv7l-Linux.tar.bz2 
ad53951e62c802071844f9bc6d5763d8  sage-5.0-armv7l-Linux.tar.bz2

if you don't get the same, perhaps the upload isn't finished yet (I
should have waited before announcing :-P)...

Snark on #sagemath

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


Re: [sage-devel] Re: Sage 5.0 on ARM

2012-05-22 Thread Julien Puydt
Le lundi 21 mai, mmarco a écrit:
> I am a bit busy now, but if you pass me a tarball with the compiled
> sage directory in it i can try to create a chroot environment to be
> run in (rooted) android devices.

Sorry it took so long -- apparently I've been slow to ask for an
account :-P :

http://boxen.math.washington.edu/home/jpuydt/sage-5.0-armv7l-Linux.tar.bz2

Hope that helps,

Snark on #sagemath

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


Re: [sage-devel] Re: Sage 5.0 on ARM

2012-05-21 Thread William Stein
On Mon, May 21, 2012 at 9:35 AM, Dima Pasechnik  wrote:
> Dear William,
> please provide Mr. Snark with an account on boxen!

Mr. Snark -- please write to me offlist at wst...@gmail.com.


> Thanks,
> Dima
>
>
> On Monday, 21 May 2012 18:11:36 UTC+2, Snark wrote:
>>
>> Le lundi 21 mai, mmarco a écrit:
>> > I am a bit busy now, but if you pass me a tarball with the compiled
>> > sage directory in it i can try to create a chroot environment to be
>> > run in (rooted) android devices.
>>
>> I'm running a "./sage -bdist 5.0" right now for you :-)
>>
>> The question is where I'll put the file : every time I tried to use my
>> provider's big file service, people had a hard time getting the file,
>> which kind of defeats the purpose. :-(
>>
>> Perhaps I should heed Dima's advice and ask for an account on the sage
>> cluster :-/
>>
>> Snark on #sagemath



-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


Re: [sage-devel] Re: Sage 5.0 on ARM

2012-05-21 Thread Dima Pasechnik
Dear William, 
please provide Mr. Snark with an account on boxen!
Thanks,
Dima

On Monday, 21 May 2012 18:11:36 UTC+2, Snark wrote:
>
> Le lundi 21 mai, mmarco a écrit: 
> > I am a bit busy now, but if you pass me a tarball with the compiled 
> > sage directory in it i can try to create a chroot environment to be 
> > run in (rooted) android devices. 
>
> I'm running a "./sage -bdist 5.0" right now for you :-) 
>
> The question is where I'll put the file : every time I tried to use my 
> provider's big file service, people had a hard time getting the file, 
> which kind of defeats the purpose. :-( 
>
> Perhaps I should heed Dima's advice and ask for an account on the sage 
> cluster :-/ 
>
> Snark on #sagemath 
>

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


Re: [sage-devel] Re: Sage 5.0 on ARM

2012-05-21 Thread Julien Puydt
Le lundi 21 mai, mmarco a écrit:
> I am a bit busy now, but if you pass me a tarball with the compiled
> sage directory in it i can try to create a chroot environment to be
> run in (rooted) android devices.

I'm running a "./sage -bdist 5.0" right now for you :-)

The question is where I'll put the file : every time I tried to use my
provider's big file service, people had a hard time getting the file,
which kind of defeats the purpose. :-(

Perhaps I should heed Dima's advice and ask for an account on the sage
cluster :-/

Snark on #sagemath

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


[sage-devel] Re: Sage 5.0 on ARM

2012-05-21 Thread mmarco
I am a bit busy now, but if you pass me a tarball with the compiled
sage directory in it i can try to create a chroot environment to be
run in (rooted) android devices.

William Stein told recentely that he could buy an arm buildbot, adding
then arm to the list of supported architectures. Do you people think
that aiming at the android market by these chroot images would be a
good idea?

On May 20, 10:55 pm, Julien Puydt  wrote:
> Le dimanche 20 mai, mmarco a écrit:
>
> > Which OS did you build it in?
>
> Ubuntu 12.04 armhf.
>
> Snark on #sagemath

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


Re: [sage-devel] Re: Sage 5.0 on ARM

2012-05-20 Thread Julien Puydt
Le dimanche 20 mai, mmarco a écrit:
> Which OS did you build it in?

Ubuntu 12.04 armhf.

Snark on #sagemath

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


[sage-devel] Re: Sage 5.0 on ARM

2012-05-20 Thread mmarco
Which OS did you build it in?

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org