PARI/GP Bug report logs -
#1239
./Configure issue with GMP ABI selection on HPux 11iv3(B.11.31) ia64
Reported by: Bill.Glessner@cwu.EDU
Date: Wed, 7 Sep 2011 20:18:02 UTC
Severity: normal
Done: Bill Allombert <Bill.Allombert@math.u-bordeaux1.fr>
Bug is archived. No further changes may be made.
Full log
Message #55 received at 1239@pari.math.u-bordeaux.fr (full text, mbox, reply):
Package: pari
Version: 2.5.0
Running './gp -q -f -test < src/test/in/objets' produces
susran(bash)% ./gp -q -f -test < src/test/in/objets
echo = 1 (on)
? gettime;+3
3
? -5
-5
? 5+3
8
? 5-3
2
? 5/3
5/3
? 5\3
1
? 5\/3
2
? 5%3
2
? 5^3
125
? binary(65537)
[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]
? bittest(10^100,100)
1
? ceil(-2.5)
-2
? centerlift(Mod(456,555))
-99
? component(1+O(7^4),3)
1
? conj(1+I)
1 - I
? conjvec(Mod(x^2+x+1,x^3-x-1))
[4.0795956234914387860104177508366260326, 0.46020218825428060699479112458168
698368 + 0.18258225455744299269398828369501930574*I, 0.460202188254280606994
79112458168698368 - 0.18258225455744299269398828369501930574*I]~
? truncate(1.7,&e)
1
? e
-1
? denominator(12345/54321)
18107
? divrem(345,123)
[2, 99]~
? divrem(x^7-1,x^5+1)
[x^2, -x^2 - 1]~
? floor(-1/2)
-1
? floor(-2.5)
-3
? frac(-2.7)
0.30000000000000000000000000000000000000
? I^2
-1
? imag(2+3*I)
3
? lex([1,3],[1,3,5])
-1
? max(2,3)
3
? min(2,3)
2
? Mod(-12,7)
Mod(2, 7)
? norm(1+I)
2
? norm(Mod(x+5,x^3+x+1))
129
? numerator((x+1)/(x-1))
x + 1
? 1/(1+x)+O(x^20)
1 - x + x^2 - x^3 + x^4 - x^5 + x^6 - x^7 + x^8 - x^9 + x^10 - x^11 + x^12 -
x^13 + x^14 - x^15 + x^16 - x^17 + x^18 - x^19 + O(x^20)
? numtoperm(7,1035)
[4, 7, 1, 6, 3, 5, 2]
? permtonum([4,7,1,6,3,5,2])
1035
? 37.
37.000000000000000000000000000000000000
? real(5-7*I)
5
? shift(1,50)
1125899906842624
? shift([3,4,-11,-12],-2)
[0, 1, -2, -3]
? shiftmul([3,4,-11,-12],-2)
[3/4, 1, -11/4, -3]
? sign(-1)
-1
? sign(0)
0
? sign(0.)
0
? simplify(((x+I+1)^2-x^2-2*x*(I+1))^2)
-4
? sizedigit([1.3*10^5,2*I*Pi*exp(4*Pi)])
7
? truncate(-2.7)
-2
? truncate(sin(x^2))
-1/5040*x^14 + 1/120*x^10 - 1/6*x^6 + x^2
? type(Mod(x,x^2+1))
"t_POLMOD"
? valuation(6^10000-1,5)
5
? \p57
realprecision = 57 significant digits
? Pi
3.14159265358979323846264338327950288419716939937510582098
? \p38
realprecision = 38 significant digits
? O(x^12)
O(x^12)
? padicno=(5/3)*127+O(127^5)
44*127 + 42*127^2 + 42*127^3 + 42*127^4 + O(127^5)
? padicprec(padicno,127)
5
? length(divisors(1000))
16
? Mod(10873,49649)^-1
*** at top-level: Mod(10873,49649)^-1
*** ^---
*** _^_: impossible inverse modulo: Mod(131, 49649).
? getheap
[59, 784]
Running './gp -q -f -test < src/test/in/objets > ./MYobjets ;
/usr/local/bin/diff ./MYobjets ./src/test/64/objets' produces
*** at top-level: Mod(10873,49649)^-1
*** ^---
*** _^_: impossible inverse modulo: Mod(131, 49649).
119a120,122
> *** at top-level: Mod(10873,49649)^-1
> *** ^---
> *** _^_: impossible inverse modulo: Mod(131, 49649).
121a125,126
> ? print("Total time spent: ",gettime);
> Total time spent: 0
Regards,
Bill
>Return-path: <Bill.Allombert@math.u-bordeaux1.fr>
>Date: Mon, 26 Sep 2011 15:27:04 +0200
>From: Bill Allombert <Bill.Allombert@math.u-bordeaux1.fr>
>Subject: Re: Bug#1239: ./Configure issue with GMP ABI selection on HPux
> 11iv3(B.11.31) ia64
>To: Bill.Glessner@cwu.edu, 1239@pari.math.u-bordeaux.fr
>
>On Thu, Sep 22, 2011 at 09:47:31AM -0700, Bill.Glessner@cwu.EDU wrote:
>>
>> >This is pretty bad. GP does not output any results.
>> >If you run gp and try some simple command like 1+1, what do you get ?
>> ? 1+1
>>
>> Running gp from the build directory
>> % pwd
>> /DreamLand/JunqueYard_gccN/pari-2.5.0
>> ./gp
>>> % ./gp
>> GP/PARI CALCULATOR Version 2.5.0 (released)
>> Itanium running hpux (ia64/GMP-5.0.2 kernel) 64-bit version
>> compiled: Sep 21 2011, gcc-4.5.3 (GCC)
>> (readline v6.2 enabled, extended help enabled)
>>
>> Copyright (C) 2000-2011 The PARI Group
>>
>> PARI/GP is free software, covered by the GNU General Public License, and comes
>> WITHOUT ANY WARRANTY WHATSOEVER.
>>
>> Type ? for help, \q to quit.
>> Type ?12 for how to get moral (and possibly technical) support.
>>
>> parisize = 8000000, primelimit = 500509
>> ? 1+1
>> %1 = 2
>> ? Pi
>> %2 = 3.1415926535897932384626433832795028842
>> ? binary(65537)
>> %3 = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]
>> ? bittest(10^100,100)
>> %4 = 1
>> ? conjvec(Mod(x^2+x+1,x^3-x-1))
>> %5 = [4.0795956234914387860104177508366260326, 0.4602021882542806069947911245816
>> 8698368 + 0.18258225455744299269398828369501930574*I, 0.460202188254280606994791
>> 12458168698368 - 0.18258225455744299269398828369501930574*I]~
>> ? denominator(12345/54321)
>> %6 = 18107
>> ? \q
>> Goodbye!
>
>This suggest the software work mostly correctly, but that the test-suite
>framework is broken somehow.
>
>Maybe you can try to run
>./gp -q -f -test < src/test/in/objets
>and compare the output to the content of src/test/64/objets
>
>Cheers,
>Bill.
Send a report that this bug log contains spam.
Bill Allombert <allomber@math.u-bordeaux.fr>.
Last modified:
Sat Aug 26 17:16:34 2023;
Machine Name:
pari
PARI/GP Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.