American Citizen on Thu, 16 Apr 2026 02:21:27 +0200


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

hitting major roadblocks


Hi

While I have a gp pari file with two read statements embedded in the top of the file, and they work great, everything falls apart, after running the "gp2c-run" command and the read statements seem to be causing major blowups in the my_gp_pari_program.gp.run file.

Sample script:

read("pf1000");  // HUGE DATA VECTOR

read("ellpool.gp"); // sophisticated elliptic curve program to create a rational lattice of points on an given elliptic curve to a set height

do_run() {

for(i=1,pfsz,

  do major work

);

The gp_pari.run file is totally clueless and thinks pfsz (and the huge data vector) is totally undefined. And then the program crashes.

How can I fix this?

Randall