On Jul 4, 1:46 pm, David Harvey <[EMAIL PROTECTED]> wrote:
> On Jul 4, 2008, at 2:36 PM, Daryl Hammond wrote:
>
>
>
> > [EMAIL PROTECTED] ~]$ /home/daryl/sage-3.0.1/sage
> > ----------------------------------------------------------------------
> > | SAGE Version 3.0.1, Release Date: 2008-05-05 |
> > | Type notebook() for the GUI, and license() for information. |
> > ----------------------------------------------------------------------
>
> > sage: x=ZZ.random_element(2^10000000)
> > sage: time y=x*x
> > CPU times: user 0.44 s, sys: 0.02 s, total: 0.46 s
> > Wall time: 0.46
> > sage: quit
> > Exiting SAGE (CPU time 0m0.49s, Wall time 0m32.99s).
> > [EMAIL PROTECTED] ~]$ /home/daryl/sage-3.0.2/sage
> > ----------------------------------------------------------------------
> > | SAGE Version 3.0.2, Release Date: 2008-05-24 |
> > | Type notebook() for the GUI, and license() for information. |
> > ----------------------------------------------------------------------
>
> > sage: x=ZZ.random_element(2^10000000)
> > sage: time y=x*x
> > CPU times: user 0.86 s, sys: 0.02 s, total: 0.88 s
> > Wall time: 0.88 s
> > sage: quit
> > Exiting SAGE (CPU time 0m0.91s, Wall time 0m25.65s).
> > [EMAIL PROTECTED] ~]$
>
> Okay, this strongly suggests to me that there's some problem with the
> GMP build, although I can't see it in the logs. I believe Michael
> Abshoff is fixing up a number of issues in the GMP spkg for sage
> 3.0.4 (seehttp://sagetrac.org/sage_trac/ticket/3508). When alphas
> are available, I'll try to remember to ask you to test them out.
>
> david
David, I ran your two line program on Sage-3.0.3 and obtained:
[EMAIL PROTECTED] ~]$ /home/daryl/sage-3.0.3/sage
----------------------------------------------------------------------
| SAGE Version 3.0.3, Release Date: 2008-06-17 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: x=ZZ.random_element(2^10000000)
sage: time y=x*x
CPU times: user 0.44 s, sys: 0.02 s, total: 0.46 s
Wall time: 0.47 s
sage: quit
Exiting SAGE (CPU time 0m0.49s, Wall time 0m55.21s).
[EMAIL PROTECTED] ~]$
This is similar to the results from sage-3.0.1.
I originally noticed the longer CPU times under sage-3.0.3 under
Fedora 9 and went back and installed the three prior SAGE releases to
try to identify when the problem was introduced. Your
two line test works fine under sage-3.0.3, my code doesn't.
I made two requested changes to sage-3.0.2 yesterday (install older
package gmp-2.4.1.p14.spkg and remove 11 files from /local/lib).
Could these changes be effecting your two line timing?
-Daryl
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---