[Debian-science-sagemath] PARI stack warnings (was Re: 7.4 with the latest shiny new packages: 4000 failed tests)

Jeroen Demeyer jdemeyer at cage.ugent.be
Sun Nov 20 16:56:35 UTC 2016


On 2016-11-20 13:45, Tobias Hansen wrote:
> On 11/03/2016 01:44 PM, Jeroen Demeyer wrote:
>> On 2016-11-03 12:10, Tobias Hansen wrote:
>>> Do you
>>> plan to update to pari 2.9 as well?
>>
>> Of course. It's on my TODO list.
>>
>>> I already tried applying your patches from sage trac #21765 and #21703
>>> which did not help. Do the failures in the test log from Ximins mail
>>> below look like it's caused by pari 2.9?
>>
>> Some are certainly due to the PARI upgrade.
>>
>> Many doctest failures are because of PARI warning messages which cannot
>> be disabled in vanilla PARI. You need to apply this patch to fix them:
>> https://github.com/sagemath/sage/blob/master/build/pkgs/pari/patches/stackwarn.patch
>>
>
> Bill won't apply this patch to the pari package. He suggested to
> increase the pari stack size in advance to avoid getting the warnings.
> Where could I do this so that it affects all tests?

The "size" argument in PariInstance in 
src/sage/libs/pari/pari_instance.pyx determines the default stack size:

def __init__(self, long size=1000000, unsigned long maxprime=500000):



More information about the Debian-science-sagemath mailing list