[Bug 368478] [NEW] libatlas3gf-sse and sse2 are not working on pentium4
Lars
lars.bittrich at googlemail.com
Tue Apr 28 09:27:00 UTC 2009
Public bug reported:
Binary package hint: libatlas3gf-sse2
Recently I upgraded to Jaunty (Ubuntu 9.04) and libatlas3gf-sse2
(3.6.0-22ubuntu2) stopped working. I found the problem with the python-
scipy package (linalg.test failed in TestCgemv). But it can be verified
with the libatlas-test as well:
/usr/lib/libatlas-test/xcl2blastst
ldd xcl2blastst
linux-gate.so.1 => (0xb7f6a000)
libblas.so.3gf => /usr/lib/sse2/atlas/libblas.so.3gf (0xb7981000)
libatlas.so.3gf => /usr/lib/sse2/libatlas.so.3gf (0xb73ec000)
libgfortran.so.3 => /usr/lib/libgfortran.so.3 (0xb7337000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7311000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7302000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb719f000)
/lib/ld-linux.so.2 (0xb7f6b000)
./xcl2blastst
----------------------------------- GEMV ------------------------------------
TST# TR M N ALPHA LDA INCX BETA INCY TIME MFLOP SpUp TEST
==== == ==== ==== ==== ==== ==== ==== ==== ==== ==== ====== ===== ===== =====
ERROR: resid=7756.061106, normD=5.054140, normA=54.663315, normX=0.932180, normY=0.943066, eps=1.192093e-07
resid=7756.061035
0 N 100 100 1.0 0.0 1000 1 1.0 0.0 1 0.00 0.0 1.00 -----
0 N 100 100 1.0 0.0 1000 1 1.0 0.0 1 0.00 20.1 0.00 FAIL
ERROR: resid=238998.030429, normD=619.387832, normA=108.699677, normX=0.924103, normY=0.915882, eps=1.192093e-07
resid=238998.031250
1 N 200 200 1.0 0.0 1000 1 1.0 0.0 1 0.00 0.0 1.00 -----
1 N 200 200 1.0 0.0 1000 1 1.0 0.0 1 0.02 20.1 0.00 FAIL
ERROR: resid=110818.752024, normD=633.812819, normA=159.925018, normX=0.969653, normY=0.991050, eps=1.192093e-07
resid=110818.750000
2 N 300 300 1.0 0.0 1000 1 1.0 0.0 1 0.00 260437356917428928.0 1.00 -----
2 N 300 300 1.0 0.0 1000 1 1.0 0.0 1 0.03 25.8 0.00 FAIL
ERROR: resid=98181.192250, normD=999.949411, normA=213.589371, normX=0.960171, normY=0.968947, eps=1.192093e-07
resid=98181.195312
3 N 400 400 1.0 0.0 1000 1 1.0 0.0 1 0.00 0.0 1.00 -----
3 N 400 400 1.0 0.0 1000 1 1.0 0.0 1 0.06 21.4 0.00 FAIL
ERROR: resid=78273.678838, normD=1227.124954, normA=263.022522, normX=0.971405, normY=0.987563, eps=1.192093e-07
resid=78273.679688
4 N 500 500 1.0 0.0 1000 1 1.0 0.0 1 0.00 0.0 1.00 -----
4 N 500 500 1.0 0.0 1000 1 1.0 0.0 1 0.09 21.8 0.00 FAIL
ERROR: resid=53197.546754, normD=1191.285919, normA=313.085571, normX=0.968878, normY=0.983369, eps=1.192093e-07
resid=53197.546875
5 N 600 600 1.0 0.0 1000 1 1.0 0.0 1 0.00 0.0 1.00 -----
5 N 600 600 1.0 0.0 1000 1 1.0 0.0 1 0.14 21.2 0.00 FAIL
ERROR: resid=43731.100141, normD=1336.918434, normA=366.358582, normX=0.990514, normY=0.965039, eps=1.192093e-07
resid=43731.101562
6 N 700 700 1.0 0.0 1000 1 1.0 0.0 1 0.00 520782108590295104.0 1.00 -----
6 N 700 700 1.0 0.0 1000 1 1.0 0.0 1 0.18 22.3 0.00 FAIL
ERROR: resid=35568.196843, normD=1423.046774, normA=419.524414, normX=0.986444, normY=0.960445, eps=1.192093e-07
resid=35568.195312
7 N 800 800 1.0 0.0 1000 1 1.0 0.0 1 0.00 1281.2 1.00 -----
7 N 800 800 1.0 0.0 1000 1 1.0 0.0 1 0.24 21.4 0.02 FAIL
ERROR: resid=26559.894308, normD=1343.222281, normA=471.377594, normX=0.995389, normY=0.967300, eps=1.192093e-07
resid=26559.894531
8 N 900 900 1.0 0.0 1000 1 1.0 0.0 1 0.00 1621.3 1.00 -----
8 N 900 900 1.0 0.0 1000 1 1.0 0.0 1 0.30 21.6 0.01 FAIL
ERROR: resid=22537.079752, normD=1394.741020, normA=519.141602, normX=0.977359, normY=0.979151, eps=1.192093e-07
resid=22537.080078
9 N 1000 1000 1.0 0.0 1000 1 1.0 0.0 1 0.00 2001.5 1.00 -----
9 N 1000 1000 1.0 0.0 1000 1 1.0 0.0 1 0.36 22.5 0.01 FAIL
10 tests run, 0 passed
I am working on a pentium4 CPU:
cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Pentium(R) 4 CPU 3.00GHz
stepping : 3
cpu MHz : 2800.000
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pebs bts pni dtes64 monitor ds_cpl est cid cx16 xtpr
bogomips : 5984.34
clflush size : 64
power management:
The tests are passing if only libatlas3gf-base installed:
ldd xcl2blastst
linux-gate.so.1 => (0xb7f71000)
libblas.so.3gf => /usr/lib/atlas/libblas.so.3gf (0xb7bd6000)
libatlas.so.3gf => /usr/lib/libatlas.so.3gf (0xb788e000)
libgfortran.so.3 => /usr/lib/libgfortran.so.3 (0xb77d9000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb77b3000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb77a4000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7641000)
/lib/ld-linux.so.2 (0xb7f72000)
./xcl2blastst
----------------------------------- GEMV ------------------------------------
TST# TR M N ALPHA LDA INCX BETA INCY TIME MFLOP SpUp TEST
==== == ==== ==== ==== ==== ==== ==== ==== ==== ==== ====== ===== ===== =====
0 N 100 100 1.0 0.0 1000 1 1.0 0.0 1 0.00 0.0 1.00 -----
0 N 100 100 1.0 0.0 1000 1 1.0 0.0 1 0.00 0.0 0.00 PASS
1 N 200 200 1.0 0.0 1000 1 1.0 0.0 1 0.00 0.0 1.00 -----
1 N 200 200 1.0 0.0 1000 1 1.0 0.0 1 0.00 0.0 0.00 PASS
2 N 300 300 1.0 0.0 1000 1 1.0 0.0 1 0.00 0.0 1.00 -----
2 N 300 300 1.0 0.0 1000 1 1.0 0.0 1 0.00 0.0 0.00 PASS
3 N 400 400 1.0 0.0 1000 1 1.0 0.0 1 0.00 436057227652076096.0 1.00 -----
3 N 400 400 1.0 0.0 1000 1 1.0 0.0 1 0.00 0.0 0.00 PASS
4 N 500 500 1.0 0.0 1000 1 1.0 0.0 1 0.00 1394295410552461568.0 1.00 -----
4 N 500 500 1.0 0.0 1000 1 1.0 0.0 1 0.00 0.0 0.00 PASS
5 N 600 600 1.0 0.0 1000 1 1.0 0.0 1 0.00 720.7 1.00 -----
5 N 600 600 1.0 0.0 1000 1 1.0 0.0 1 0.00 720.9 1.00 PASS
6 N 700 700 1.0 0.0 1000 1 1.0 0.0 1 0.00 981.0 1.00 -----
6 N 700 700 1.0 0.0 1000 1 1.0 0.0 1 0.00 981.0 1.00 PASS
7 N 800 800 1.0 0.0 1000 1 1.0 0.0 1 0.00 1280.9 1.00 -----
7 N 800 800 1.0 0.0 1000 1 1.0 0.0 1 0.01 640.6 0.50 PASS
8 N 900 900 1.0 0.0 1000 1 1.0 0.0 1 0.01 810.7 1.00 -----
8 N 900 900 1.0 0.0 1000 1 1.0 0.0 1 0.01 810.6 1.00 PASS
9 N 1000 1000 1.0 0.0 1000 1 1.0 0.0 1 0.01 1000.6 1.00 -----
9 N 1000 1000 1.0 0.0 1000 1 1.0 0.0 1 0.01 1000.8 1.00 PASS
10 tests run, 10 passed
The CPU is definitely capable of SSE2 so I do not see why this should
not work any more. It has been working with Intrepid before.
** Affects: atlas (Ubuntu)
Importance: Undecided
Status: New
--
libatlas3gf-sse and sse2 are not working on pentium4
https://bugs.launchpad.net/bugs/368478
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list