[GAP Forum] RootsOfPolynomialAsRadicals - nffactor: the PARI stack overflows

Bill Allombert Bill.Allombert at math.u-bordeaux1.fr
Fri May 10 11:04:18 BST 2013


On Wed, May 08, 2013 at 09:04:01PM +0200, Daniel Blazewicz wrote:
> Dear Andreas and John,
> 
> Many thanks for your answers.
> I used SetPariStackSize(256) and it helped!
> 
> My PARI/GP version:
>                   GP/PARI CALCULATOR Version 2.5.0 (released)
>              amd64 running linux (x86-64/GMP kernel) 64-bit version
>         compiled: Nov 17 2011, gcc-4.6.2 (Ubuntu/Linaro 4.6.2-2ubuntu1) 
>                 (readline v6.2 disabled, extended help enabled)

PARI 2.5.1 and later includes a fix which improve performance and reduce memory
usage for this kind of computation. Probably the reason Andreas could not
reproduce this. (It is available in Ubuntu versions 12.10 and 13.04. I assume
you use 12.04).

Cheers,
Bill.



More information about the Forum mailing list