From: <jo...@jo...> - 2003-10-01 08:40:05
|
Some observations: In addons.py I found the following statement: ,---- | # Set to 0 if you have your own platform optimized BLAS and LAPACK. | # When I tried this under RH8.0 i386 Linux, there was at least one | # unresolved symbol. `---- Which symbol was that? It seems to work for me on RedHat 8.0 using RedHat's BLAS and LAPACK. Latest cvs gives the following test error: ,---- | Test of inplace operations and rich comparisons | Traceback (most recent call last): | File "<stdin>", line 1, in ? | File "/usr/lib/python2.2/site-packages/numarray/testall.py", line 19, i= n test | result =3D eval(p+".test()") | File "<string>", line 0, in ? | File "/usr/lib/python2.2/site-packages/numarray/ma/dtest.py", line 635,= in test | test8() | File "/usr/lib/python2.2/site-packages/numarray/ma/dtest.py", line 434,= in test8 | x *=3D 2.0 | TypeError: can't multiply sequence to non-int | >>> `---- Moreover I have a compilation issue which is probably a gcc bug, but here we go:=20 ,---- | > gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -IInclude/numarray = -I/usr/include/python2.2 -c Src/_ufuncComplex32module.c -o build/temp.linux= -i686-2.2/_ufuncComplex32module.o -g -march=3Dpentium4 -pipe -Wall | Src/_ufuncComplex32module.c: In function `multiply_Complex32_reduce': | Src/_ufuncComplex32module.c:401: unable to find a register to spill in cl= ass `FLOAT_REGS' | Src/_ufuncComplex32module.c:401: this is the insn: | (insn 65 63 67 (set (reg/v:DF 10 st(2) [74]) | (float_extend:DF (subreg:SF (reg/v:DI 21 rxmm0 [71]) 0))) 133 {*e= xtendsfdf2_1} (nil) | (nil)) | Src/_ufuncComplex32module.c:401: confused by earlier errors, bailing out `---- (If I compile with -march=3Dpentium3 it works just fine.) Maybe someone has a comment here? (If I have some more time I'll file a gcc bug report.) Greetings, Jochen --=20 Einigkeit und Recht und Freiheit http://www.Jochen-Kuepper.de Libert=E9, =C9galit=E9, Fraternit=E9 GnuPG key: CC1B0B4D (Part 3 you find in my messages before fall 2003.) |
From: Todd M. <jm...@st...> - 2003-10-01 10:29:08
|
On Wed, 2003-10-01 at 04:39, Jochen Küpper wrote: > Some observations: > > In addons.py I found the following statement: > ,---- > | # Set to 0 if you have your own platform optimized BLAS and LAPACK. > | # When I tried this under RH8.0 i386 Linux, there was at least one > | # unresolved symbol. > `---- It was my comment... > Which symbol was that? I didn't remember then and certainly don't now. I was trying to brace the reader for the possibility that "optimized library activation" might need further work. > It seems to work for me on RedHat 8.0 using > RedHat's BLAS and LAPACK. > Excellent. I guess the comment should disappear. > > > Latest cvs gives the following test error: > ,---- > | Test of inplace operations and rich comparisons > | Traceback (most recent call last): > | File "<stdin>", line 1, in ? > | File "/usr/lib/python2.2/site-packages/numarray/testall.py", line 19, in test > | result = eval(p+".test()") > | File "<string>", line 0, in ? > | File "/usr/lib/python2.2/site-packages/numarray/ma/dtest.py", line 635, in test > | test8() > | File "/usr/lib/python2.2/site-packages/numarray/ma/dtest.py", line 434, in test8 > | x *= 2.0 > | TypeError: can't multiply sequence to non-int > | >>> > `---- This is a known bug in Python, fixed in 2.2.2 and up. > > > Moreover I have a compilation issue which is probably a gcc bug, but > here we go: > ,---- > | > gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -IInclude/numarray -I/usr/include/python2.2 -c Src/_ufuncComplex32module.c -o build/temp.linux-i686-2.2/_ufuncComplex32module.o -g -march=pentium4 -pipe -Wall > | Src/_ufuncComplex32module.c: In function `multiply_Complex32_reduce': > | Src/_ufuncComplex32module.c:401: unable to find a register to spill in class `FLOAT_REGS' > | Src/_ufuncComplex32module.c:401: this is the insn: > | (insn 65 63 67 (set (reg/v:DF 10 st(2) [74]) > | (float_extend:DF (subreg:SF (reg/v:DI 21 rxmm0 [71]) 0))) 133 {*extendsfdf2_1} (nil) > | (nil)) > | Src/_ufuncComplex32module.c:401: confused by earlier errors, bailing out > `---- > (If I compile with -march=pentium3 it works just fine.) > > Maybe someone has a comment here? (If I have some more time I'll file > a gcc bug report.) What version of Python and gcc was this? (I don't normally use /usr/bin/python, but stock RH 8.0 seems to work OK for me) > Greetings, > Jochen -- Todd Miller <jm...@st...> |
From: <jo...@jo...> - 2003-10-01 11:56:16
|
On 01 Oct 2003 06:28:45 -0400 Todd Miller wrote: Todd> On Wed, 2003-10-01 at 04:39, Jochen K=FCpper wrote: >> | # Set to 0 if you have your own platform optimized BLAS and LAPACK. >> | # When I tried this under RH8.0 i386 Linux, there was at least one >> | # unresolved symbol. [...] Todd> Excellent. I guess the comment should disappear. You take it out then?:) >> Latest cvs gives the following test error: [...] Todd> This is a known bug in Python, fixed in 2.2.2 and up. Ok, guess we have to upgrade then. >> Moreover I have a compilation issue which is probably a gcc bug, but >> here we go:=20 [The problem was '-march=3Dpentium4'.] Todd> What version of Python and gcc was this? (I don't normally use Todd> /usr/bin/python, but stock RH 8.0 seems to work OK for me) gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7) Python 2.2.1 (#1, Aug 30 2002, 12:15:30) I did file a gcc bug report, as it looks like an issue with its optimizer or architecture specific back-end. Greetings, Jochen --=20 Einigkeit und Recht und Freiheit http://www.Jochen-Kuepper.de Libert=E9, =C9galit=E9, Fraternit=E9 GnuPG key: CC1B0B4D (Part 3 you find in my messages before fall 2003.) |
From: Todd M. <jm...@st...> - 2003-10-01 13:05:34
|
On Wed, 2003-10-01 at 07:55, Jochen K=C3=BCpper wrote: > On 01 Oct 2003 06:28:45 -0400 Todd Miller wrote: >=20 > Todd> On Wed, 2003-10-01 at 04:39, Jochen K=C3=BCpper wrote: >=20 > >> | # Set to 0 if you have your own platform optimized BLAS and LAPACK. > >> | # When I tried this under RH8.0 i386 Linux, there was at least one > >> | # unresolved symbol. >=20 > [...] >=20 > Todd> Excellent. I guess the comment should disappear. >=20 > You take it out then?:) >=20 Done. --=20 Todd Miller jm...@st... STSCI / ESS / SSB |
From: <jo...@jo...> - 2003-10-01 17:34:01
|
On Wed, 01 Oct 2003 10:39:16 +0200 Jochen K=FCpper wrote: Jochen> Moreover I have a compilation issue which is probably a gcc bug, but Jochen> here we go:=20 Jochen> ,---- Jochen> | > gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -IInclude/n= umarray -I/usr/include/python2.2 -c Src/_ufuncComplex32module.c -o build/te= mp.linux-i686-2.2/_ufuncComplex32module.o -g -march=3Dpentium4 -pipe -Wall Jochen> | Src/_ufuncComplex32module.c: In function `multiply_Complex32_redu= ce': Jochen> | Src/_ufuncComplex32module.c:401: unable to find a register to spi= ll in class `FLOAT_REGS' Jochen> | Src/_ufuncComplex32module.c:401: this is the insn: Jochen> | (insn 65 63 67 (set (reg/v:DF 10 st(2) [74]) Jochen> | (float_extend:DF (subreg:SF (reg/v:DI 21 rxmm0 [71]) 0)))= 133 {*extendsfdf2_1} (nil) Jochen> | (nil)) Jochen> | Src/_ufuncComplex32module.c:401: confused by earlier errors, bail= ing out Jochen> `---- Ok, got a reply from the gcc team: bug confirmed for 3.2.x, fixed in 3.3.1. Greetings, Jochen --=20 Einigkeit und Recht und Freiheit http://www.Jochen-Kuepper.de Libert=E9, =C9galit=E9, Fraternit=E9 GnuPG key: CC1B0B4D (Part 3 you find in my messages before fall 2003.) |