Bill Allombert on Thu, 5 Dec 2002 16:11:27 +0100

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

Re: unrestricted partition function

On Thu, Dec 05, 2002 at 03:29:32PM +0100, Ralf Stephan wrote:
> there is installable code for the unrestricted partition function at
> for inclusion into your GP programs.
> The code was stress-tested up to an arg of 10^6 and the maximum arg
> is 10^15 due to space restrictions --- you would need days already 
> at 10^10, though. Error conditions are caught etc. I would ask the
> maintainers to mail if I should add documentation to pari directly.
> NOTE: install worked only with gp-2.1, with gp-2.2 the function was
> not found. To get the DLL I used -fPIC when compiling and ld -shared
> for linking.

I had no problem with gp-2.2. I only needed to replace gpmem_t by pari_sp
to accomodate with the recent name change.  I have compiled with gp2c-run and
and it works!

Thanks for your contribution,