Karim Belabas on Thu, 30 Mar 2006 20:13:31 +0200


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

Re: parigp on a macintel core duo


* Bill Allombert [2006-03-25 09:22]:
> On Fri, Mar 24, 2006 at 09:43:53PM -0800, Justin C. Walker wrote:
> > Following up on this post:
> > 
> > On Mar 24, 2006, at 21:40 , Justin C. Walker wrote:
> > >On Mar 21, 2006, at 07:17 , Languasco Alessandro wrote:
> > [snip]
> > >gp seems to work without problems, but if I "make test-kernel", I  
> > >get a "KERNEL BUG" response, with a 'kern.dif' file showing a half- 
> > >dozen or so differences from the expected output.  I'm attaching  
> > >the "gp.out" file, since it may prove enlightening to Those Who Know.
> > 
> > I have never tried "make test-kernel" before trying it on the MacBook  
> > Pro, and after sending this msg, I decided to try it on the PowerPC  
> > build.  I get the same failure, with the same "gp.out" file, so this  
> > may be a red herring.
> 
> Actually this is caused by the use of the GMP kernel:
> 
> This test does not take into account the fact that the GMP kernel use a
> different integer format (LSW instead of MSW) so you get the correct 
> result but in the wrong order.
> 
> - *:02000004  c0000004  5e0e86ee  00083b0b
> + *:02000004  c0000004  00083b0b  5e0e86ee

I have fixed 'kerntest' so as to output results in normal form.
'make test-kernel' should now work independently of the chosen
multiprecision kernel.

Cheers,

    K.B.
-- 
Karim Belabas                  Tel: (+33) (0)5 40 00 26 17
Universite Bordeaux 1          Fax: (+33) (0)5 40 00 69 50
351, cours de la Liberation    http://www.math.u-bordeaux.fr/~belabas/
F-33405 Talence (France)       http://pari.math.u-bordeaux.fr/  [PARI/GP]