Jason Moxham on Sat, 04 Jul 2009 21:33:46 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Some bugs? |
----- Original Message ----- From: "Bill Allombert" <Bill.Allombert@math.u-bordeaux1.fr>
To: <pari-dev@list.cr.yp.to> Sent: Saturday, July 04, 2009 1:19 PM Subject: Re: Some bugs?
On Sat, Jul 04, 2009 at 12:24:00PM +0100, Jason Moxham wrote:On Thursday 02 July 2009 23:11:31 Jason Moxham wrote: I manage to get rid of a few more bugs, and I'm left with these polred,rnf,rnfkummer all have this errorx^7 + Mod(7*y - 7, y^2 - y - 1)*x^6 + Mod(-21*y + 28, y^2 - y - 1)*x^5 - 35* x^4 + Mod(35*y - 49, y^2 - y - 1)*x^3 + Mod(-7*y + 84, y^2 - y - 1)*x^2 + Mod(-14*y + 21, y^2 - y - 1)*x + Mod(-y - 43, y^2 - y - 1) *** at top-level: rnfpolredabs(nfinit( *** ^-------------------- *** rnfpolredabs: could not open requested file ./MPQS.gpa/FREL.There might a problem with the way MPQS creates temporary files. Try factor(2^128+1) The code to create temporary files is in src/language/es.c. Maybe we use a wrong directory or a wrong filename.
Yes it is , mpqs assumes the function below creates the directory as well as testing existence
line 4175 in language/es.c static int pari_dir_exists(const char *s) { return 0; } change to static int pari_dir_exists(const char *s) { return mkdir(s); } So this is the same as the UNIX one but without the mode So I suppose we will need this for MSVC and MinGW this fixes polred,rnf,rnfkummer tests for Win32 MSVC Jason