Mark Chimley on Thu, 28 Dec 2000 11:45:14 +0000 (GMT)

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

Run-time errors

I am running Debian Linux on a PC and compiling using gcc and version
2.0.1 of the pari library. I have the following code:

pari_init (500000, 1000);
Gen n = 0;
n = nextprime (n);

At run-time this gives "Incorrect type in gceil". I have also tried
using isprime (n), which gave "Segmentation fault". I get the impression
that something is fundamentally wrong here, since this is the first time
I have tried to compile anything after installing the software.
Alternatively, I might be missing something obvious. Any

Mark Chimley,
Department Of Mathematics,
University Of Bristol