-
-
Notifications
You must be signed in to change notification settings - Fork 553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue running cremona's abelian_group command and memory usage in gp #351
Comments
comment:1
The problem is this: The function uses pari's ellap() function to find the group order, and this does not work for huge primes. I found that withh gp using a stack of 110M (my default) I could go to p=nextprim(2^78) but no further; after increaasing the stack, p=nextprime(95) is ok but p=nextprime(100) produces an error message. I suggest that (1) the underlyi,ng call to gp initializes gp with a largish stack if the prime is medium-large; (2) if the prime is greater than that (say >2^95) then raise a not-implemented error. I should also say that the implementation of abelian_group() in my gp script was not intended to handle such large primes -- it only uses baby-step-giant-step techniques and not fancier methods such as SEA. Magma, by contrast, as better methods for large primes, so an alternative to (3) would be to use Magma's function instead if Magma is available. |
comment:2
|
comment:4
John -- SAGE includes a very good SEA implementation written in PARI. You could load that and call it. |
comment:5
For example, in the above, SEA can compute the order in seconds (this only works on a 64-bit computer -- on a 32-bit one you can't even define the curve in pari using your script):
I'm changing this from a bug to an "enhancement", since after all any command with infinitely many inputs has it's limits in any program, and hence everything would be buggy. That said, a better error message would be good. |
comment:7
Can we close this now?
|
comment:8
I can confirm that this is fixed, so I am closing it. Can you tell me which ticket fixed the issue for the record and to assign proper credit? Cheers, Michael |
* Add notice file and support for adding multiple licence files
passagemath-palp: README
Component: number theory
Issue created by migration from https://trac.sagemath.org/ticket/351
The text was updated successfully, but these errors were encountered: