Bug#697041: atlas: FTBFS: tune/sysinfo/GetSysSum.c:47: GetL1CacheSize: Assertion `system(ln) == 0' failed
Thorsten Glaser
tg at mirbsd.de
Mon Jul 29 16:25:52 UTC 2013
Geert Uytterhoeven dixit:
>make these measurements valid?
I aborted the run, I think I only get inconclusive results,
if any at all, from ARAnyM. Someone must re-run this according
to Sébastien’s instructions on a sufficiently up-to-date sid
machine (bare metal). Maybe a 040?
/root/Xa/atlas-3.10.1/build/atlas-base/bin/ATLrun.sh /root/Xa/atlas-3.10.1/build/atlas-base/tune/sysinfo xL1 64
Calculating L1 cache size:
L1CS=2, time=54.440000 (ignore=0.0e+00)
L1CS=4, time=53.830000 (ignore=0.0e+00)
L1CS=8, time=55.200000 (ignore=0.0e+00)
L1CS=16, time=53.350000 (ignore=0.0e+00)
L1CS=32, time=54.170000 (ignore=0.0e+00)
L1CS=64, time=46.490000 (ignore=0.0e+00)
Timing differences below tolerance, trying larger maximum cache size:
L1CS=2, time=212.600000 (ignore=0.0e+00)
L1CS=4, time=211.650000 (ignore=0.0e+00)
L1CS=8, time=200.980000 (ignore=0.0e+00)
L1CS=16, time=216.530000 (ignore=0.0e+00)
L1CS=32, time=217.060000 (ignore=0.0e+00)
L1CS=64, time=214.770000 (ignore=0.0e+00)
L1CS=128, time=218.480000 (ignore=0.0e+00)
L1CS=256, time=219.740000 (ignore=0.0e+00)
Confirming result of 8kb:
L1CS=2, time=210.400000 (ignore=0.0e+00)
L1CS=4, time=215.380000 (ignore=0.0e+00)
L1CS=8, time=206.550000 (ignore=0.0e+00)
L1CS=16, time=213.900000 (ignore=0.0e+00)
L1CS=32, time=204.110000 (ignore=0.0e+00)
L1CS=64, time=211.100000 (ignore=0.0e+00)
L1CS=128, time=208.560000 (ignore=0.0e+00)
L1CS=256, time=214.300000 (ignore=0.0e+00)
L1CS=2, time=209.300000 (ignore=0.0e+00)
L1CS=4, time=216.740000 (ignore=0.0e+00)
L1CS=8, time=211.110000 (ignore=0.0e+00)
L1CS=16, time=203.680000 (ignore=0.0e+00)
L1CS=32, time=221.810000 (ignore=0.0e+00)
L1CS=64, time=220.010000 (ignore=0.0e+00)
L1CS=128, time=214.670000 (ignore=0.0e+00)
L1CS=256, time=222.550000 (ignore=0.0e+00)
Calculated L1 cache size = 8kb; Correct=0
Calculating L1 cache size:
L1CS=2, time=56.780000 (ignore=0.0e+00)
L1CS=4, time=49.800000 (ignore=0.0e+00)
L1CS=8, time=52.690000 (ignore=0.0e+00)
L1CS=16, time=53.410000 (ignore=0.0e+00)
L1CS=32, time=56.280000 (ignore=0.0e+00)
L1CS=64, time=54.020000 (ignore=0.0e+00)
Timing differences below tolerance, trying larger maximum cache size:
L1CS=2, time=211.770000 (ignore=0.0e+00)
L1CS=4, time=205.270000 (ignore=0.0e+00)
L1CS=8, time=214.220000 (ignore=0.0e+00)
L1CS=16, time=220.390000 (ignore=0.0e+00)
L1CS=32, time=213.510000 (ignore=0.0e+00)
L1CS=64, time=211.010000 (ignore=0.0e+00)
L1CS=128, time=211.960000 (ignore=0.0e+00)
L1CS=256, time=221.330000 (ignore=0.0e+00)
Confirming result of 128kb:
L1CS=2, time=217.640000 (ignore=0.0e+00)
L1CS=4, time=220.610000 (ignore=0.0e+00)
L1CS=8, time=212.210000 (ignore=0.0e+00)
L1CS=16, time=220.200000 (ignore=0.0e+00)
L1CS=32, time=224.690000 (ignore=0.0e+00)
L1CS=64, time=226.330000 (ignore=0.0e+00)
L1CS=128, time=215.470000 (ignore=0.0e+00)
L1CS=256, time=207.760000 (ignore=0.0e+00)
Calculated L1 cache size = 128kb; Correct=0
Can't detect the L1 cache; setting to 32KB.
Calculated L1 cache size = 32kb; Correct=0
make[6]: Leaving directory `/root/Xa/atlas-3.10.1/build/atlas-base/tune/sysinfo'
Read in L1 Cache size as = 32KB.
make[6]: Entering directory `/root/Xa/atlas-3.10.1/build/atlas-base/tune/sysinfo'
make RunMulAdd pre=s
make[7]: Entering directory `/root/Xa/atlas-3.10.1/build/atlas-base/tune/sysinfo'
/usr/bin/c99-gcc -DL2SIZE=4194304 -I/root/Xa/atlas-3.10.1/build/atlas-base/include -I/root/Xa/atlas-3.10.1/build/atlas-base/../..//include -I/root/Xa/atlas-3.10.1/build/atlas-base/../..//include/contrib -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_Linux -DWALL -O -fomit-frame-pointer -fPIC -o xmasrch /root/Xa/atlas-3.10.1/build/atlas-base/../..//tune/sysinfo/masrch.c
/root/Xa/atlas-3.10.1/build/atlas-base/../..//tune/sysinfo/masrch.c:172:1: warning: return type defaults to 'int' [enabled by default]
FindNreg
^
./xmasrch -p s -o res/sMULADD
Finding how many mflops required to get .025 second timings:
1: 1.000000e+00
FORCE MFLOP=1, TIME=1.000000e+00
FINDING USABLE NREG:
2: 0.87
4: 0.87
8: 0.95
16: 0.61
NREG=8
FINDING BEST LATENCY, MAC=0:
lat=1, MFLOPS=0.87
lat=2, MFLOPS=0.87
LAT=1, MFLOPS=0.87
FINDING BEST LATENCY, MAC=1:
lat=1, MFLOPS=1.73
lat=2, MFLOPS=1.83
lat=3, MFLOPS=1.76
LAT=2, MFLOPS=1.83
NREG=8, FMAC=1, LAT=2, MFLOP=1.83
make[7]: Leaving directory `/root/Xa/atlas-3.10.1/build/atlas-base/tune/sysinfo'
make[6]: Leaving directory `/root/Xa/atlas-3.10.1/build/atlas-base/tune/sysinfo'
make[6]: Entering directory `/root/Xa/atlas-3.10.1/build/atlas-base/tune/sysinfo'
rm -f /root/Xa/atlas-3.10.1/build/atlas-base/tune/blas/gemm/res/sMULADD
ln -s /root/Xa/atlas-3.10.1/build/atlas-base/tune/sysinfo/res/sMULADD /root/Xa/atlas-3.10.1/build/atlas-base/tune/blas/gemm/res/sMULADD
cd /root/Xa/atlas-3.10.1/build/atlas-base/tune/blas/gemm ; make res/snreg
make[7]: Entering directory `/root/Xa/atlas-3.10.1/build/atlas-base/tune/blas/gemm'
/usr/bin/c99-gcc -c -DL2SIZE=4194304 -I/root/Xa/atlas-3.10.1/build/atlas-base/include -I/root/Xa/atlas-3.10.1/build/atlas-base/../..//include -I/root/Xa/atlas-3.10.1/build/atlas-base/../..//include/contrib -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_Linux -DWALL -O -fomit-frame-pointer -fPIC /root/Xa/atlas-3.10.1/build/atlas-base/../..//tune/blas/gemm/gmmsearch.c
/usr/bin/c99-gcc -DL2SIZE=4194304 -I/root/Xa/atlas-3.10.1/build/atlas-base/include -I/root/Xa/atlas-3.10.1/build/atlas-base/../..//include -I/root/Xa/atlas-3.10.1/build/atlas-base/../..//include/contrib -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_Linux -DWALL -O -fomit-frame-pointer -fPIC -o xgmmsearch gmmsearch.o
./xgmmsearch -p s -r -1
make[8]: Entering directory `/root/Xa/atlas-3.10.1/build/atlas-base/tune/blas/gemm'
make RunL1
make[9]: Entering directory `/root/Xa/atlas-3.10.1/build/atlas-base/tune/blas/gemm'
make /root/Xa/atlas-3.10.1/build/atlas-base/tune/sysinfo/res/L1CacheSize
make[10]: Entering directory `/root/Xa/atlas-3.10.1/build/atlas-base/tune/blas/gemm'
make[10]: `/root/Xa/atlas-3.10.1/build/atlas-base/tune/sysinfo/res/L1CacheSize' is up to date.
make[10]: Leaving directory `/root/Xa/atlas-3.10.1/build/atlas-base/tune/blas/gemm'
ln -s /root/Xa/atlas-3.10.1/build/atlas-base/tune/sysinfo/res/L1CacheSize res/L1CacheSize
make[9]: Leaving directory `/root/Xa/atlas-3.10.1/build/atlas-base/tune/blas/gemm'
make[8]: Leaving directory `/root/Xa/atlas-3.10.1/build/atlas-base/tune/blas/gemm'
Read in L1 Cache size as = 32KB.
bye,
//mirabilos
--
In traditional syntax ' is ignored, but in c99 everything between two ' is
handled as character constant. Therefore you cannot use ' in a preproces-
sing file in c99 mode. -- Ragge
No faith left in ISO C99, undefined behaviour, etc.
More information about the debian-science-maintainers
mailing list