script for linpack test

This commit is contained in:
Sandino Araico Sanchez 2017-01-15 07:30:21 -06:00
parent e5f6041e9c
commit 567921fb09
2 changed files with 110 additions and 0 deletions

35
scripts/test-linpack Executable file
View file

@ -0,0 +1,35 @@
#!/bin/bash
source scan-dmidecode
source test-variables
if [[ ! -d /usr/local/linpack ]] ; then
echo "${RES_ERROR} Linpack missing in /usr/local/linpack"
exit 21
fi
if [[ ! -f /usr/local/linpack/runme_xeon64 ]] ; then
echo "${RES_ERROR} runme_xeon64 missing in /usr/local/linpack"
exit 22
fi
mkdir -pv $OUTPUT_DIR/linpack
MY_DATE=`date +%Y-%m-%d_%H-%M-%S`
if [[ -f $OUTPUT_DIR/linpack/linpack.out ]] ; then
mv -vf $OUTPUT_DIR/linpack/linpack.out \
$OUTPUT_DIR/linpack/linpack.out.old-$MY_DATE
fi
cd /usr/local/linpack
./runme_xeon64 | tee $OUTPUT_DIR/linpack/linpack.out
RES=$?
ERRNO=$!
if [[ $RES != '0' ]] ; then
echo "${RES_FAIL} linpack exited abnormally with error code: $BLD$ERRNO$OFF";
else
echo "${RES_OK} linpack finished successfully."
echo "Results in $OUTPUT_DIR/linpack/linpack.out"
fi

75
test/linpack/picanha.out Normal file
View file

@ -0,0 +1,75 @@
Sun Jan 15 05:06:27 CST 2017
Intel(R) Optimized LINPACK Benchmark data
Current date/time: Sun Jan 15 05:06:27 2017
CPU frequency: 3.092 GHz
Number of CPUs: 1
Number of cores: 4
Number of threads: 8
Parameters are set to:
Number of tests: 15
Number of equations to solve (problem size) : 1000 2000 5000 10000 15000 18000 20000 22000 25000 26000 27000 30000 35000 40000 45000
Leading dimension of array : 1000 2000 5008 10000 15000 18008 20016 22008 25000 26000 27000 30000 35000 40000 45000
Number of trials to run : 4 2 2 2 2 2 2 2 2 2 1 1 1 1 1
Data alignment value (in Kbytes) : 4 4 4 4 4 4 4 4 4 4 4 1 1 1 1
Maximum memory requested that can be used=16200901024, at the size=45000
=================== Timing linear equation system solver ===================
Size LDA Align. Time(s) GFlops Residual Residual(norm) Check
1000 1000 4 0.019 34.9619 1.029343e-12 3.510325e-02 pass
1000 1000 4 0.019 35.8636 1.029343e-12 3.510325e-02 pass
1000 1000 4 0.019 35.7303 1.029343e-12 3.510325e-02 pass
1000 1000 4 0.019 34.9595 1.029343e-12 3.510325e-02 pass
2000 2000 4 0.140 38.2009 4.298950e-12 3.739560e-02 pass
2000 2000 4 0.143 37.3450 4.298950e-12 3.739560e-02 pass
5000 5008 4 1.391 59.9478 2.581643e-11 3.599893e-02 pass
5000 5008 4 1.448 57.5842 2.581643e-11 3.599893e-02 pass
10000 10000 4 11.234 59.3616 9.603002e-11 3.386116e-02 pass
10000 10000 4 12.796 52.1166 9.603002e-11 3.386116e-02 pass
15000 15000 4 41.693 53.9770 2.042799e-10 3.217442e-02 pass
15000 15000 4 42.916 52.4390 2.042799e-10 3.217442e-02 pass
18000 18008 4 75.310 51.6353 2.894987e-10 3.170367e-02 pass
18000 18008 4 76.355 50.9282 2.894987e-10 3.170367e-02 pass
20000 20016 4 105.320 50.6470 4.097986e-10 3.627616e-02 pass
20000 20016 4 106.687 49.9979 4.097986e-10 3.627616e-02 pass
22000 22008 4 144.551 49.1152 4.548092e-10 3.331299e-02 pass
22000 22008 4 150.787 47.0840 4.548092e-10 3.331299e-02 pass
25000 25000 4 221.713 46.9883 6.089565e-10 3.462917e-02 pass
25000 25000 4 201.865 51.6085 6.089565e-10 3.462917e-02 pass
26000 26000 4 226.608 51.7134 6.669421e-10 3.506981e-02 pass
26000 26000 4 226.908 51.6450 6.669421e-10 3.506981e-02 pass
27000 27000 4 257.596 50.9460 6.672171e-10 3.253690e-02 pass
30000 30000 1 362.808 49.6179 8.421348e-10 3.319704e-02 pass
35000 35000 1 577.902 49.4647 1.085509e-09 3.151068e-02 pass
40000 40000 1 869.516 49.0731 1.466774e-09 3.262155e-02 pass
45000 45000 1 1555.813 39.0497 1.711494e-09 3.011194e-02 pass
Performance Summary (GFlops)
Size LDA Align. Average Maximal
1000 1000 4 35.3788 35.8636
2000 2000 4 37.7730 38.2009
5000 5008 4 58.7660 59.9478
10000 10000 4 55.7391 59.3616
15000 15000 4 53.2080 53.9770
18000 18008 4 51.2817 51.6353
20000 20016 4 50.3225 50.6470
22000 22008 4 48.0996 49.1152
25000 25000 4 49.2984 51.6085
26000 26000 4 51.6792 51.7134
27000 27000 4 50.9460 50.9460
30000 30000 1 49.6179 49.6179
35000 35000 1 49.4647 49.4647
40000 40000 1 49.0731 49.0731
45000 45000 1 39.0497 39.0497
Residual checks PASSED
End of tests
Done: Sun Jan 15 07:27:39 CST 2017