William,
> > I got the error in subject while trying the new ECM().one_curve() command
> > in sage-2.9. The problem might be due to the fact that I perform thousands
> > of
> > calls to ECM().one_curve(), and maybe pexpect does not correctly frees pty
> > devices.
>
> I'm glad you're stressing the use of ECM from sage.
>
> > The problem can be reproduced with:
> >
> > $ sage < in552.sage >& log &
> >
> > where the file in552.sage, and the auxiliary files Primes.sage and
> > aliquot.sage can be downloaded from http://www.loria.fr/~zimmerma/tmp/xxx
> > (replace xxx by in552.sage, ...)
>
> Please put the relevant files in your directory on sage.math or make it so
> http://www.loria.fr/~zimmerma/tmp
> is readable:
> "Forbidden
> You don't have permission to access /~zimmerma/tmp/ on this server."
Sorry, I have put the files in sage.math:~zimmerma/tmp.
> > The problem will occur after a few minutes.
> >
> > Any idea?
>
> Try the code with this line from one_curve commented out:
>
> child.__del__ = nothing # work around stupid exception ignored error
I have tried this, I will tell you tomorrow if it runs more robustly. A first
difference I noticed is that 'top' only reports one ecm process at a time,
whereas previously it sometimes reported several (up to 5 or 6) ecm processes.
> Also, is there a way to rewrite one_curve using popen instead of pexpect?
I'm not sure it's worth the effort. It would be much better to write an
interface at the C level (see ticket #1550) if feasible.
Paul Zimmermann
--~--~---------~--~----~------------~-------~--~----~
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://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---