Karim Belabas on Thu, 11 Oct 2018 22:46:58 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Hypergeom failure


* Kevin Acres [2018-10-11 21:04]:
[...]
>> ? allocatemem(8*10^9);
>>   ***   Warning: new stack size = 8000000000 (7629.395 Mbytes).
>> ? default(realprecision,1200)
>> ? hypergeom([ 1/2, 2/3, 2/3, 5/6],[ 7/6, 7/6, 4/3],1)
>>   ***   at top-level: hypergeom([1/2,2/3,2/3,5/6],[7/6,7/6,4/3],1)
>>   ***                 ^--------------------------------------------
>>   *** hypergeom: bug in gerepile, significant pointers lost, please report.

Now fixed in 'master'.

Thanks for testing & reporting !

    K.B.

P.S. Rather than using allocatemem (which sets 'parisize' and allocates
a huge chunk of memory), you should rather set 'parisizemax' to a large
value [ which lets the stack grow as needed, up to the specified value,
but does not otherwise hoard memory ].

--
Karim Belabas, IMB (UMR 5251)  Tel: (+33) (0)5 40 00 26 17
Universite de Bordeaux         Fax: (+33) (0)5 40 00 21 23
351, cours de la Liberation    http://www.math.u-bordeaux.fr/~kbelabas/
F-33405 Talence (France)       http://pari.math.u-bordeaux.fr/  [PARI/GP]
`