|Alan Powell on Sun, 04 Dec 2011 22:14:32 +0100|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|Re: PARI-GP use of elldata & seadata packages|
Following your suggestions under PARI/GP
? default(datadir) returns the incorrect
%1 = âC:/Program Files (x86)PARIâ missing the â/â
I suspect the â(x86)â upsets the parsing. Your suggestion
? default(datadir,âC:/Program Files (x86)/PARI/â) returns
%2 = âC:/Program Files (x86)/PARI/â which is correct
Under PARI/GP the folders elldata, galdata & seadata all seem to
reside directly in the .../PARI/ folder not in .../PARI/data. Now
? E = ellinit([0,0,0,-4,0]);
? ellidentify(E) now returns a plausible
%n = [[â64a1â, [0, 0, 0, â4, 0], ], [1, 0, 0, 0]]
I correctly unzipped the seadata blob which created a seadata
folder containing 53 files sea0, sea1, sea211, ... sea499.
Thank you very much for taking the time to help a newbie.
The learning curve for PARI/GP has been much foreshortened!
On Sun, Dec 04, 2011 at 12:05:29PM -0500, Alan Powell wrote:
> Apology - it should read (x86) not (x64).
> Windows 7 64-bit uses two âProgram Fileâ folders:
> C:\Program Files\ for 64-bit applications
> C:\Program Files (x86)\ for 32-bit applications
> I just re-checked ellidentify() and the â/â
> character is definitely missing between (x86)
> and PARI in the diagnostic shown - viz:
> [missing âC:/Program Files (x86)PARI/elldata/ell0â.]
> but ell0 clearly exists in folder ...PARI\elldata?
under GP ?
In any case, if this not the right value for you, you can change it by issuing (e.g.)
default(datadir,"C:/Program Files (x86)/PARI/data");
> The file Installation Instructions for âelldataâ.mht reads
> âOpen 'data' and move the folder it contains (e.g. elldata)to the
> directory where the installer placed architecture independent files.
> The default destinations are:
> C:\Program Files\PARI (Win32)â
Ah yes, this is probably correct for PARI.exe installer, but not for gp.exe.
> Your C code refers to a folder âdataâ. Should the elldata files
> reside in ...\PARI\data or ...\PARI\elldata ?
This depends on which version you use, but as I understand,
They should be in PARI\data\elldata\