| Leonardo Cangelmi on Tue, 11 Oct 2011 19:35:27 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| test kernel and ploth |
Dear PARI-developers,
I compiled and tested gp-pari-2.5.0 on a PC with Intel Core 2 Duo CPU and
Ubuntu 10.04 OS. Everything was ok, except test-kernel and test-ploth.
For test-kernel, it seems that there is something wrong in dummy.c or
mp.c; for test-ploth, it seems that the only problem is that the error
messages in 2.5.0 are longer than in previous versions (so that it
suffices to update the file ploth in src/test/32).
I am attaching below some output which can help you in fixing these
minor problems.
Best wishes
Leonardo Cangelmi
=========================================================================
[startup banner]
user@ubuntu:~$ ./install-250/bin/gp
Reading GPRC: /etc/gprc ...Done.
GP/PARI CALCULATOR Version 2.5.0 (released)
amd64 running linux (x86-64/GMP-4.3.2 kernel) 64-bit version
compiled: Oct 10 2011, gcc-4.4.3 (Ubuntu 4.4.3-4ubuntu5)
(readline v6.1 enabled, extended help enabled)
=========================================================================
[make test-kernel]
user@ubuntu:~/pari-2.5.0$ make test-kernel
Making test-kernel in Olinux-x86_64
make[1]: Entering directory `/home/user/pari-2.5.0/Olinux-x86_64'
/usr/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o dummy.o ../src/test/dummy.c
/usr/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I../src/language -I. -I../src/headers -o kerntest.o ../src/test/kerntest.c
/usr/bin/gcc -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o kerntest mp.o mpinl.o dummy.o kerntest.o -L/usr/lib64 -lgmp -lm
dummy.o: In function `invr':
dummy.c:(.text+0xb0): multiple definition of `invr'
mp.o:mp.c:(.text+0x242e0): first defined here
mp.o: In function `invr':
mp.c:(.text+0x24746): undefined reference to `quadratic_prec_mask'
collect2: ld returned 1 exit status
make[1]: *** [kerntest] Error 1
make[1]: Leaving directory `/home/user/pari-2.5.0/Olinux-x86_64'
make: *** [test-kernel] Error 2
user@ubuntu:~/pari-2.5.0$
user@ubuntu:~/pari-2.5.0$ make test-kernel
Making test-kernel in Olinux-x86_64
make[1]: Entering directory `/home/user/pari-2.5.0/Olinux-x86_64'
/usr/bin/gcc -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o kerntest mp.o mpinl.o dummy.o kerntest.o -L/usr/lib64 -lgmp -lm
dummy.o: In function `invr':
dummy.c:(.text+0xb0): multiple definition of `invr'
mp.o:mp.c:(.text+0x242e0): first defined here
mp.o: In function `invr':
mp.c:(.text+0x24746): undefined reference to `quadratic_prec_mask'
collect2: ld returned 1 exit status
make[1]: *** [kerntest] Error 1
make[1]: Leaving directory `/home/user/pari-2.5.0/Olinux-x86_64'
make: *** [test-kernel] Error 2
user@ubuntu:~/pari-2.5.0$
==========================================================================
[Bench-2.5.0 for test-ploth]
* Testing ploth for gp-sta..BUG [30] for gp-dyn..BUG [30]
+++ [BUG] Total bench for gp-sta is 30
+++ [BUG] Total bench for gp-dyn is 30
PROBLEMS WERE NOTED. The following files list them in diff format:
Directory: /home/user/pari-2.5.0/Olinux-x86_64
ploth-sta.dif
ploth-dyn.dif
==========================================================================
[ploth-dyn.dif and ploth-sta.dif - which are equal]
*** ../src/test/32/ploth 2011-05-30 11:28:26.000000000 +0200
--- gp.out 2011-10-10 20:12:26.000000000 +0200
***************
*** 47,52 ****
--- 47,54 ----
[-0.9998741276738750683, 0.9998741276738750683, -0.9998741276738750683, 0.99
98741276738750683]
? ploth(t=0,2*Pi,[sin(5*t),sin(7*t)],2,100)
+ *** at top-level: ploth(t=0,2*Pi,[sin(5*t),sin(7*t)],
+ *** ^--------------------
*** multi-curves cannot be plot recursively.
? ploth(t=0,2*Pi,[sin(5*t),sin(7*t)],3,100)
[-1.000000000000000000, 1.000000000000000000, -1.000000000000000000, 1.00000
***************
*** 70,73 ****
? plotdraw([0,10,10])
? psdraw([0,10,10])
? print("Total time spent: ",gettime);
! Total time spent: 32
--- 72,75 ----
? plotdraw([0,10,10])
? psdraw([0,10,10])
? print("Total time spent: ",gettime);
! Total time spent: 30
==============================================================================