SPEC CPU 2006 1.2 D2000 ARM64 aarch64平台 docker 环境下的编译 宿主机测试

由于spec cpu 2006版本太老,现代操作系统gcc版本远高于gcc4.3,且tools也没有提供arm64架构程序文件,导致安装编译会报大量编译错误,难以适配。故采用docker方式尝试编译。

系统

root@yeqiang-greatwall:/home/yeqiang/Downloads# cat /etc/os-release 
NAME="Kylin"
VERSION="银河麒麟桌面操作系统V10 (SP1)"
VERSION_US="Kylin Linux Desktop V10 (SP1)"
ID=kylin
ID_LIKE=debian
PRETTY_NAME="Kylin V10 SP1"
VERSION_ID="v10"
HOME_URL="http://www.kylinos.cn/"
SUPPORT_URL="http://www.kylinos.cn/support/technology.html"
BUG_REPORT_URL="http://www.kylinos.cn/"
PRIVACY_POLICY_URL="http://www.kylinos.cn"
VERSION_CODENAME=kylin
UBUNTU_CODENAME=kylin
PROJECT_CODENAME=v10sp1
root@yeqiang-greatwall:/home/yeqiang/Downloads# uname -a
Linux yeqiang-greatwall 5.4.18-80.43.2-generic #GWOEM SMP Wed Mar 9 14:13:16 CST 2022 aarch64 aarch64 aarch64 GNU/Linux
root@yeqiang-greatwall:/home/yeqiang/Downloads# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/aarch64-linux-gnu/9/lto-wrapper
Target: aarch64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.3.0-10kylin2' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=aarch64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libquadmath --disable-libquadmath-support --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-multiarch --enable-fix-cortex-a53-843419 --disable-werror --enable-checking=release --build=aarch64-linux-gnu --host=aarch64-linux-gnu --target=aarch64-linux-gnu
Thread model: posix
gcc version 9.3.0 (Ubuntu 9.3.0-10kylin2)

cpu2006

root@yeqiang-greatwall:/home/yeqiang/Downloads# file cpu2006-1.2.iso 
cpu2006-1.2.iso: ISO 9660 CD-ROM filesystem data 'SPEC_CPU2006v1.2'
root@yeqiang-greatwall:/home/yeqiang/Downloads# md5sum cpu2006-1.2.iso 
185f9167fb4c2208380e769d6668285d  cpu2006-1.2.iso

docker安装

https://download.csdn.net/download/hknaruto/86608404

gcc4镜像

root@yeqiang-greatwall:~# docker pull gcc:4
4: Pulling from library/gcc
e91a355b0d3f: Pull complete 
16e054bfb022: Pull complete 
498121800d24: Pull complete 
39f6cc0761da: Pull complete 
771c6f7e9958: Pull complete 
2257a24fdd87: Pull complete 
20bf3e0a5329: Pull complete 
1d7d21146b13: Pull complete 
Digest: sha256:6356ef8b29cc3522527a85b6c58a28626744514bea87a10ff2bf67599a7474f5
Status: Downloaded newer image for gcc:4

验证可用

root@yeqiang-greatwall:/home/yeqiang/桌面# docker run --rm -it gcc:4 /bin/bash
root@c20e8a50b277:/# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/aarch64-linux-gnu/4.9.4/lto-wrapper
Target: aarch64-linux-gnu
Configured with: /usr/src/gcc/configure --build=aarch64-linux-gnu --disable-multilib --enable-languages=c,c++,fortran,go
Thread model: posix
gcc version 4.9.4 (GCC) 
root@c20e8a50b277:/# uname -a
Linux c20e8a50b277 5.4.18-80.43.2-generic #GWOEM SMP Wed Mar 9 14:13:16 CST 2022 aarch64 GNU/Linux

编译spec cpu 2006

宿主机解压出spec cpu 2006

root@yeqiang-greatwall:/home/yeqiang/Downloads# mkdir /mnt/iso/ -p
root@yeqiang-greatwall:/home/yeqiang/Downloads# mount cpu2006-1.2.iso /mnt/iso/
mount: /mnt/iso: WARNING: device write-protected, mounted read-only.
root@yeqiang-greatwall:/home/yeqiang/Downloads# cp /mnt/iso cpu2006-1.2-setup -r

---------------------------------------------------------------------------------------------------------------

注意,如果直接安装会报以下错误

root@yeqiang-greatwall:/home/yeqiang/Downloads# cd /mnt/iso/
root@yeqiang-greatwall:/mnt/iso# bash install.sh -d /opt/speccpu2006

提示:

We do not appear to have working vendor-supplied binaries for your
architecture.  You will have to compile the tool binaries by
yourself.  Please read the file/opt/speccpu2006/Docs/tools-build.htmlfor instructions on how you might be able to build them.Please only attempt this as a last resort.

且/opt/speccpu2006目录为空

---------------------------------------------------------------------------------------------------------------

tools补丁

fix.patch

diff -Npr /mnt/speccpu2006/tools/src/buildtools ./buildtools
*** /mnt/speccpu2006/tools/src/buildtools	Sat Apr  9 04:41:02 2011
--- ./buildtools	Wed Jun 21 00:30:56 2023
*************** if [ -n "$DOTAR" ] || [ -z "$SKIPNONPERL
*** 226,232 ****LIBS="$ALLLIBS $TARLIBS"; export LIBS./configure $CONFIGFLAGS $TARFLAGS --with-xz=specxz --prefix=$INSTALLDIR; testordie "error configuring tar"$MYMAKE; testordie "error building tar"
!     MAKEFLAGS= $MYMAKE check; testordie "error testing tar"MAKEFLAGS= $MYMAKE install; testordie "error installing tar")fi--- 226,232 ----LIBS="$ALLLIBS $TARLIBS"; export LIBS./configure $CONFIGFLAGS $TARFLAGS --with-xz=specxz --prefix=$INSTALLDIR; testordie "error configuring tar"$MYMAKE; testordie "error building tar"
! #    MAKEFLAGS= $MYMAKE check; testordie "error testing tar"MAKEFLAGS= $MYMAKE install; testordie "error installing tar")fi*************** if [ -n "$DOPERL" ] || [ -z "$SKIPPERL"
*** 355,365 ****LD_LIBRARY_PATH=`pwd`DYLD_LIBRARY_PATH=`pwd`export LD_LIBRARY_PATH DYLD_LIBRARY_PATH
!     ./Configure -dOes -Ud_flock $PERLFLAGS -Ddosuid=undef -Dprefix=$INSTALLDIR -Dd_bincompat3=undef -A ldflags=-L${INSTALLDIR}/lib -A ccflags=-I${INSTALLDIR}/include -Ui_db -Ui_gdbm -Ui_ndbm -Ui_dbm -Uuse5005threads ; testordie "error configuring perl"$MYMAKE; testordie "error building Perl"./perl installperl; testordie "error installing Perl"setspecperllib
!     MAKEFLAGS= $MYMAKE testif [ $? -ne 0 ]; thenset +xecho
--- 355,366 ----LD_LIBRARY_PATH=`pwd`DYLD_LIBRARY_PATH=`pwd`export LD_LIBRARY_PATH DYLD_LIBRARY_PATH
!     ./Configure -dOes -Ud_flock $PERLFLAGS -Ddosuid=undef -Dprefix=$INSTALLDIR -Dd_bincompat3=undef -A ldflags='-L${INSTALLDIR}/lib -lm' -A ccflags=-I${INSTALLDIR}/include -Ui_db -Ui_gdbm -Ui_ndbm -Ui_dbm -Uuse5005threads ; testordie "error configuring perl"$MYMAKE; testordie "error building Perl"./perl installperl; testordie "error installing Perl"setspecperllib
! #    MAKEFLAGS= $MYMAKE test
!     trueif [ $? -ne 0 ]; thenset +xecho
*************** if [ -n "$DOPERL2" ] || [ -z "$SKIPPERL2
*** 421,427 ****# The tests are done after the install; because of the lib path munging,# the tests will actually use the installed modules.  It doesn't really# matter either way -- if the test fails, the whole run is scrapped.
!       [ -f $i/spec_do_no_tests ] || ($MYMAKE test; testordie "error running $i test suite"))done--- 422,428 ----# The tests are done after the install; because of the lib path munging,# the tests will actually use the installed modules.  It doesn't really# matter either way -- if the test fails, the whole run is scrapped.
! #      [ -f $i/spec_do_no_tests ] || ($MYMAKE test; testordie "error running $i test suite"))donediff -Npr /mnt/speccpu2006/tools/src/make-3.82/glob/glob.c ./make-3.82/glob/glob.c
*** /mnt/speccpu2006/tools/src/make-3.82/glob/glob.c	Fri Mar  4 06:29:36 2011
--- ./make-3.82/glob/glob.c	Tue Jun 20 18:18:45 2023
*************** my_realloc (p, n)
*** 208,214 ****#endif /* __GNU_LIBRARY__ || __DJGPP__ */! #if !defined __alloca && !defined __GNU_LIBRARY__# ifdef	__GNUC__#  undef alloca
--- 208,214 ----#endif /* __GNU_LIBRARY__ || __DJGPP__ */! // #if !defined __alloca && !defined __GNU_LIBRARY__# ifdef	__GNUC__#  undef alloca
*************** extern char *alloca ();
*** 229,235 ****# define __alloca	alloca! #endif#ifndef __GNU_LIBRARY__# define __stat stat
--- 229,235 ----# define __alloca	alloca! // #endif#ifndef __GNU_LIBRARY__# define __stat stat
diff -Npr /mnt/speccpu2006/tools/src/specsum/gnulib/stdio.in.h ./specsum/gnulib/stdio.in.h
*** /mnt/speccpu2006/tools/src/specsum/gnulib/stdio.in.h	Fri Mar  4 06:29:36 2011
--- ./specsum/gnulib/stdio.in.h	Tue Jun 20 18:25:39 2023
*************** _GL_WARN_ON_USE (fflush, "fflush is not
*** 159,165 ****so any use of gets warrants an unconditional warning.  Assume it isalways declared, since it is required by C89.  */#undef gets
! _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");#if @GNULIB_FOPEN@# if @REPLACE_FOPEN@
--- 159,165 ----so any use of gets warrants an unconditional warning.  Assume it isalways declared, since it is required by C89.  */#undef gets
! // _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");#if @GNULIB_FOPEN@# if @REPLACE_FOPEN@
diff -Npr /mnt/speccpu2006/tools/src/tar-1.25/gnu/stdio.in.h ./tar-1.25/gnu/stdio.in.h
*** /mnt/speccpu2006/tools/src/tar-1.25/gnu/stdio.in.h	Fri Mar  4 06:29:36 2011
--- ./tar-1.25/gnu/stdio.in.h	Tue Jun 20 18:24:35 2023
*************** _GL_WARN_ON_USE (fflush, "fflush is not
*** 144,150 ****so any use of gets warrants an unconditional warning.  Assume it isalways declared, since it is required by C89.  */#undef gets
! _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");#if @GNULIB_FOPEN@# if @REPLACE_FOPEN@
--- 144,150 ----so any use of gets warrants an unconditional warning.  Assume it isalways declared, since it is required by C89.  */#undef gets
! // _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");#if @GNULIB_FOPEN@# if @REPLACE_FOPEN@

打补丁

root@yeqiang-greatwall:/home/yeqiang/下载/cpu2006-1.2-setup# cd tools/src/
root@yeqiang-greatwall:/home/yeqiang/下载/cpu2006-1.2-setup/tools/src# patch -p0 < /home/yeqiang/Downloads/fix.patch 
patching file ./buildtools
patching file ./make-3.82/glob/glob.c
patching file ./specsum/gnulib/stdio.in.h
patching file ./tar-1.25/gnu/stdio.in.h

启动docker

root@yeqiang-greatwall:/home/yeqiang/Downloads# docker run --name build-speccpu2006 -it -v $(pwd)/cpu2006-1.2-setup:/cpu2006-1.2-setup gcc:4 /bin/bash
root@197be7a54cbe:/# cd /cpu2006-1.2-setup/
root@197be7a54cbe:/cpu2006-1.2-setup#

编译tools(docker内)

root@197be7a54cbe:~# cd /cpu2006-1.2-setup/
root@197be7a54cbe:/cpu2006-1.2-setup# source shrcWARNING: this benchmark tree has not yet been installed.  Pleaserun install.sh before continuing.root@197be7a54cbe:/cpu2006-1.2-setup# export CONFIGFLAGS=--build=aarch64-unknown-linux
root@197be7a54cbe:/cpu2006-1.2-setup# export FORCE_UNSAFE_CONFIGURE=1
root@197be7a54cbe:/cpu2006-1.2-setup# cd tools/src/
root@197be7a54cbe:/cpu2006-1.2-setup/tools/src# bash buildtools

编译完成,提示

Top of SPEC benchmark tree is '/cpu2006-1.2-setup'
Tools built successfully.  Go to the top of the tree and
source the shrc file.  Then you should be ready.

gcc.cfg静态编译补丁(宿主机)

gcc.cfg.patch

*** Example-linux64-amd64-gcc43+.cfg	2023-07-18 09:31:17.885512189 +0800
--- gcc.cfg	2023-07-18 10:25:33.524791992 +0800
*************** default=default=default=default:
*** 79,85 ****CC                 = /usr/bin/gccCXX                = /usr/bin/g++FC                 = /usr/bin/gfortran
! ## HW config# default sysinfo is expected to write hw_cpu_name, hw_memory, hw_nchips,# hw_disk
--- 79,85 ----CC                 = /usr/bin/gccCXX                = /usr/bin/g++FC                 = /usr/bin/gfortran
! makeflags          = -j8## HW config# default sysinfo is expected to write hw_cpu_name, hw_memory, hw_nchips,# hw_disk
*************** notes_os_000 ='ulimit -s unlimited' was
*** 127,135 ****#####################################################################default=base=default=default:
! COPTIMIZE   = -O2 -fno-strict-aliasing
! CXXOPTIMIZE = -O2 -fno-strict-aliasing
! FOPTIMIZE   = -O2 -fno-strict-aliasing###################################################################### 32/64 bit Portability Flags - all
--- 127,135 ----#####################################################################default=base=default=default:
! COPTIMIZE   = -O2 -fno-strict-aliasing -static
! CXXOPTIMIZE = -O2 -fno-strict-aliasing -static
! FOPTIMIZE   = -O2 -fno-strict-aliasing -static###################################################################### 32/64 bit Portability Flags - all

打补丁

root@yeqiang-greatwall:/home/yeqiang/Downloads/cpu2006-1.2-setup/tools/src# cd /home/yeqiang/Downloads/cpu2006-1.2-setup/config/
root@yeqiang-greatwall:/home/yeqiang/Downloads/cpu2006-1.2-setup/config# cp Example-linux64-amd64-gcc43+.cfg gcc.cfg
root@yeqiang-greatwall:/home/yeqiang/Downloads/cpu2006-1.2-setup/config# patch -p0 < /home/yeqiang/Downloads/gcc.cfg.patch 
patching file gcc.cfg

静态编译用例(docker内)

静态编译的目的是为了能在宿主系统上正常运行起来

root@197be7a54cbe:/cpu2006-1.2-setup# ln -s /usr/bin/gcc-4.9 /usr/bin/gcc
root@197be7a54cbe:/cpu2006-1.2-setup# ln -s /usr/bin/g++-4.9 /usr/bin/g++
root@197be7a54cbe:/cpu2006-1.2-setup# ln -s /usr/local/bin/gfortran /usr/bin/gfortran
root@197be7a54cbe:/cpu2006-1.2-setup# cd /cpu2006-1.2-setup/
root@197be7a54cbe:/cpu2006-1.2-setup# source shrc
root@197be7a54cbe:/cpu2006-1.2-setup# runspec --action=build -c gcc.cfg -T all -I -i ref all int fp

编译完成

Build CompleteThe log for this run is in /cpu2006-1.2-setup/result/CPU2006.006.logrunspec finished at Tue Jul 18 02:37:36 2023; 346 total seconds elapsed

运行测试(宿主机)

针对d2000修改gcc.cfg bind

​
bind0  = numactl -m 0 --physcpubind=0
bind1  = numactl -m 0 --physcpubind=1
bind2  = numactl -m 0 --physcpubind=2
bind3  = numactl -m 0 --physcpubind=3
bind4  = numactl -m 0 --physcpubind=4
bind5  = numactl -m 0 --physcpubind=5
bind6  = numactl -m 0 --physcpubind=6
bind7  = numactl -m 0 --physcpubind=7​
root@yeqiang-greatwall:/home/yeqiang/Downloads/cpu2006-1.2-setup# cd /home/yeqiang/Downloads/cpu2006-1.2-setup
root@yeqiang-greatwall:/home/yeqiang/Downloads/cpu2006-1.2-setup# source shrc
root@yeqiang-greatwall:/home/yeqiang/Downloads/cpu2006-1.2-setup# ulimit -s unlimited
root@yeqiang-greatwall:/home/yeqiang/Downloads/cpu2006-1.2-setup# runspec -c gcc.cfg -T base -I -i ref all -n 1 -r 8 int

报错

bash: /home/yeqiang/Downloads/cpu2006-1.2-setup/bin/runspec: /cpu2006-1.2-setup/bin/specperl: bad interpreter: No such file or directory

原因:docker内的路径与宿主机路径不一致,关闭docker容器,宿主机执行移动操作

退出容器

root@197be7a54cbe:/cpu2006-1.2-setup# exit
exit
root@yeqiang-greatwall:/home/yeqiang/Downloads# docker rm build-speccpu2006
build-speccpu2006

移动目标目录

root@yeqiang-greatwall:/home/yeqiang/Downloads# mv cpu2006-1.2-setup/ /

再次测试

root@yeqiang-greatwall:/home/yeqiang/Downloads# cd /cpu2006-1.2-setup/
root@yeqiang-greatwall:/cpu2006-1.2-setup# source shrc
root@yeqiang-greatwall:/cpu2006-1.2-setup# ulimit -s unlimited
root@yeqiang-greatwall:/cpu2006-1.2-setup# runspec -c gcc.cfg -T base -I -i ref all -n 1 -r 8 int

可运行

由此得出:采用此方式编译speccpu2006未经过install.sh过程,一开始就应该保持宿主与容器speccpu2006目标目录的一致性,本文路径:/cpu2006-1.2-setup。

中途报错,完整日志

root@yeqiang-greatwall:/cpu2006-1.2-setup# runspec -c gcc.cfg -T base -I -i ref all -n 1 -r 8 int
runspec v6674 - Copyright 1999-2011 Standard Performance Evaluation Corporation
Using 'unknown' tools
Reading MANIFEST... 19896 files
Loading runspec modules................
Locating benchmarks...found 31 benchmarks in 6 benchsets.
Reading config file '/cpu2006-1.2-setup/config/gcc.cfg'
Running "specperl /cpu2006-1.2-setup/Docs/sysinfo" to gather system information.
Loading "http://www.spec.org/auto/cpu2006/current_version" for version check: OK
Reportable runs must include a 'test' run; adding to run list
Reportable runs must include a 'train' run; adding to run list
Retrieving flags file (/cpu2006-1.2-setup/config/flags/Example-gcc4x-flags-revA.xml)...
Retrieving flags file (/cpu2006-1.2-setup/config/flags/Example-linux-platform-revA.xml)...
Benchmarks selected: 400.perlbench, 401.bzip2, 403.gcc, 429.mcf, 445.gobmk, 456.hmmer, 458.sjeng, 462.libquantum, 464.h264ref, 471.omnetpp, 473.astar, 483.xalancbmk, 999.specrand, 410.bwaves, 416.gamess, 433.milc, 434.zeusmp, 435.gromacs, 436.cactusADM, 437.leslie3d, 444.namd, 447.dealII, 450.soplex, 453.povray, 454.calculix, 459.GemsFDTD, 465.tonto, 470.lbm, 481.wrf, 482.sphinx3, 998.specrandNotice: Errors may not be ignored for reportable runs.
Compiling BinariesUp to date 400.perlbench base gcc43-64bit defaultUp to date 401.bzip2 base gcc43-64bit defaultUp to date 403.gcc base gcc43-64bit defaultUp to date 429.mcf base gcc43-64bit defaultUp to date 445.gobmk base gcc43-64bit defaultUp to date 456.hmmer base gcc43-64bit defaultUp to date 458.sjeng base gcc43-64bit defaultUp to date 462.libquantum base gcc43-64bit defaultUp to date 464.h264ref base gcc43-64bit defaultUp to date 471.omnetpp base gcc43-64bit defaultUp to date 473.astar base gcc43-64bit defaultUp to date 483.xalancbmk base gcc43-64bit defaultUp to date 999.specrand base gcc43-64bit defaultUp to date 410.bwaves base gcc43-64bit defaultUp to date 416.gamess base gcc43-64bit defaultUp to date 433.milc base gcc43-64bit defaultUp to date 434.zeusmp base gcc43-64bit defaultUp to date 435.gromacs base gcc43-64bit defaultUp to date 436.cactusADM base gcc43-64bit defaultUp to date 437.leslie3d base gcc43-64bit defaultUp to date 444.namd base gcc43-64bit defaultUp to date 447.dealII base gcc43-64bit defaultUp to date 450.soplex base gcc43-64bit defaultUp to date 453.povray base gcc43-64bit defaultUp to date 454.calculix base gcc43-64bit defaultUp to date 459.GemsFDTD base gcc43-64bit defaultUp to date 465.tonto base gcc43-64bit defaultUp to date 470.lbm base gcc43-64bit defaultUp to date 481.wrf base gcc43-64bit defaultUp to date 482.sphinx3 base gcc43-64bit defaultUp to date 998.specrand base gcc43-64bit defaultRunning Benchmarks (up to 8 concurrent processes)Running 400.perlbench test base gcc43-64bit defaultRunning 401.bzip2 test base gcc43-64bit defaultRunning 403.gcc test base gcc43-64bit defaultRunning 429.mcf test base gcc43-64bit defaultRunning 445.gobmk test base gcc43-64bit defaultRunning 456.hmmer test base gcc43-64bit defaultRunning 458.sjeng test base gcc43-64bit defaultRunning 462.libquantum test base gcc43-64bit defaultRunning 464.h264ref test base gcc43-64bit defaultRunning 471.omnetpp test base gcc43-64bit defaultRunning 473.astar test base gcc43-64bit defaultRunning 483.xalancbmk test base gcc43-64bit defaultRunning 999.specrand test base gcc43-64bit defaultRunning 410.bwaves test base gcc43-64bit defaultRunning 416.gamess test base gcc43-64bit defaultRunning 433.milc test base gcc43-64bit defaultRunning 434.zeusmp test base gcc43-64bit default
ERROR: Run for 416.gamess test base gcc43-64bit default FAILED (exit code 1).See the log file for details.Waiting for subprocesses to exit...
ERROR: do_exit for 464.h264ref test base gcc43-64bit default FAILED (exit code 1).See the log file for details.The log for this run is in /cpu2006-1.2-setup/result/CPU2006.007.log
The debug log for this run is in /cpu2006-1.2-setup/result/CPU2006.007.log.debug*
* Temporary files were NOT deleted; keeping temporaries such as
* /cpu2006-1.2-setup/result/CPU2006.007.log.debug and
* /cpu2006-1.2-setup/tmp/CPU2006.007
* (These may be large!)
*
runspec finished at Tue Jul 18 10:52:04 2023; 75 total seconds elapsed

分析debug日志

1689648687.91: 1689648687.79: *** Miscompare of exam29.out; for details see
1689648687.91: 1689648687.79:     /cpu2006-1.2-setup/benchspec/CPU2006/416.gamess/run/run_base_test_gcc43-64bit.0000/exam29.out.mis
1689648687.91: 1689648687.79: 0423:     1  0  0     -228.438026762  -228.438026762   0.585016182   0.000000000
1689648687.91: 1689648687.79:           1  0  0     -228.438026762  -228.438026762   2.057216987   0.000000000
1689648687.91: 1689648687.79:                                                                  ^
1689648687.91: 1689648687.79: 0424:            ---------------START SECOND ORDER SCF---------------
1689648687.91: 1689648687.79:           2  1  0      -13.398272306   215.039754456   0.019611730   2.138165837
1689648687.91: 1689648687.79:        ^
1689648687.91: 1689648687.79: 0425:     2  1  0     -228.975183270    -0.537156507   0.141897260   0.111481465
1689648687.91: 1689648687.79:                  ---------------START SECOND ORDER SCF---------------
1689648687.91: 1689648687.79:        ^
1689648687.91: 1689648687.79: 0426:     3  2  0     -229.014081256    -0.038897986   0.064028396   0.079634004
1689648687.91: 1689648687.79:           3  2  0      -13.404086244    -0.005813938   0.000644098   0.008801378
1689648687.91: 1689648687.79:                                    ^
1689648687.91: 1689648687.79: 0427:     4  3  0     -229.036210679    -0.022129423   0.025840433   0.007697238
1689648687.91: 1689648687.79:           4  3  0      -13.404093666    -0.000007422   0.000028154   0.000448854
1689648687.91: 1689648687.79:                                    ^
1689648687.91: 1689648687.79: 0428:     5  4  0     -229.036777024    -0.000566345   0.008639408   0.001874192
1689648687.91: 1689648687.79:           5  4  0      -13.404093683    -0.000000017   0.000000370   0.000004470
1689648687.91: 1689648687.79:                                    ^
1689648687.91: 1689648687.79: 0429:     6  5  0     -229.036824895    -0.000047871   0.001734717   0.000979860
1689648687.91: 1689648687.79:           6  5  0      -13.404093683    -0.000000000   0.000000008   0.000000051
1689648687.91: 1689648687.79:                                    ^
1689648687.91: 1689648687.79: 0431:     7  6  0     -229.036831711    -0.000006816   0.000315932   0.000297576
1689648687.91: 1689648687.79:                  -----------------
1689648687.91: 1689648687.79:        ^
1689648687.91: 1689648687.79: 0432:     8  7  0     -229.036832335    -0.000000624   0.000112760   0.000083271
1689648687.91: 1689648687.79:                  DENSITY CONVERGED
1689648687.91: 1689648687.79:        ^
1689648687.91: 1689648687.79: 0433:     9  8  0     -229.036832426    -0.000000092   0.000074046   0.000042607
1689648687.91: 1689648687.79:                  -----------------
1689648687.91: 1689648687.79:        ^
1689648687.91: 1689648687.79: Benchmark Times:
1689648687.91: 1689648687.79:   Start:    Tue Jul 18 10:51:26 2023 (1689648686)
1689648687.91: 1689648687.79:   Stop:     Tue Jul 18 10:51:26 2023 (1689648686)
1689648687.91: 1689648687.79:   Elapsed:  00:00:00 (0)
1689648687.91: 1689648687.79:   Reported: 0 48422000 0.048422
1689648687.91: 1689648687.79:  Error 416.gamess base test ratio=-0.00, runtime=0.048422, power=0.00w, temp=0.00 deg, humidity=0.00%
1689648687.91: 1689648687.79: Invalid run; unable to continue.
1689648687.91: 1689648687.79: If you wish to ignore errors please use '-I' or ignore_errors
1689648687.91: REAPER reaped 171607 (rc was 256)
1689648687.91: check_children(Run): kill says 1 about 171314
1689648687.91: check_children(Run): reporting on 171607
1689648687.91: ERROR: Run for 416.gamess test base gcc43-64bit default FAILED (exit code 1).
1689648687.91:         See the log file for details.

经测试,docker gcc:4容器内也报此错误

手动执行

root@1903469d91ae:/cpu2006-1.2-setup/benchspec/CPU2006/416.gamess/run/run_base_test_gcc43-64bit.0000# /cpu2006-1.2-setup/bin/specinvoke -E -d /cpu2006-1.2-setup/benchspec/CPU2006/416.gamess/run/run_base_test_gcc43-64bit.0000 -c 1 -e compare.err -o compare.stdout -f compare.cmd
root@1903469d91ae:/cpu2006-1.2-setup/benchspec/CPU2006/416.gamess/run/run_base_test_gcc43-64bit.0000# echo $?
1

返回值为1,与日志想同。

一顿百度,发现还是gcc版本高了。CPU SPEC 2006 416.gamess 报错 ABRT_speccpu2006 416测试项报错_朱乐乐在路上的博客-CSDN博客

待续。。。

参考资料

runspec (CPU2006)

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/3382.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

JS逆向系列之猿人学爬虫第18题-jsvmp - 洞察先机

文章目录 目标网址加密参数分析Python 实现往期逆向文章推荐目标网址 https://match.yuanrenxue.cn/match/18题目标着难度是困难级别,主要还是vmp保护的JS代码调试困难,理清逻辑就会变得简单了 加密参数分析 请求第一页时没有加密参数,从第二页开始,url会携带t和v两个参数…

240. 搜索二维矩阵 II

题目描述&#xff1a; 主要思路&#xff1a; 利用矩阵中的单调性进行搜索。 class Solution { public:bool searchMatrix(vector<vector<int>>& matrix, int target) {int nmatrix.size(),mmatrix[0].size();int in-1,j0;while(i>0&&j<m){if(m…

详解CPU的态

目录 1.CPU的工作过程 2.寄存器 3.CPU的上下文 4.系统调用 5.CPU的态 1.CPU的工作过程 CPU要执行的指令的地址存在寄存器中&#xff0c;指令存放在内存中&#xff0c;而CPU本质上就是一个去内存中根据地址取指令&#xff0c;然后执行指令的硬件。 举一个例子&#xff1a…

【蓝图】p27开关门互动实现

p27开关门互动实现 创建一个门 添加初学者内容包 拖拽一个门到场景中 添加一个碰撞 创建盒体触发器 左侧模式->基础->盒体触发器&#xff0c;拖拽到门上&#xff0c;调整大小 开关门互动实现 做一个开门互动 要把开门逻辑写在关卡蓝图里 门设置为可移动 打开关卡蓝…

link和@import的区别,性能优化

link和import的区别 两者都是外部引用CSS的方式&#xff0c;它们的区别如下&#xff1a; link是XHTML标签&#xff0c;除了加载CSS外&#xff0c;还可以定义RSS等其他事务&#xff1b;import属于CSS范畴&#xff0c;只能加载CSS。 link引用CSS时&#xff0c;在页面载入时同时加…

url解析与拼接工具UrlUtils

import java.io.UnsupportedEncodingException; import java.util.HashMap; import java.util.Map;/*** 功能描述:url解析与拼接*/ public class UrlUtils {/*** 在给定的url后面拼接查询参数* param baseUrl url地址* param params 要拼接的查询参数map* return 拼接上params查…

SpringBoot整合knife4j

knife4j 文档地址&#xff1a;https://doc.xiaominfo.com/ knife4j是为Java MVC框架集成Swagger生成Api文档的增强解决方案。 Swagger介绍 前后端分离开发模式中&#xff0c;api文档是最好的沟通方式。 Swagger 是一个规范和完整的框架&#xff0c;用于生成、描述、调用和…

实用在线工具网站分享

一、bejson网站&#xff1a; 1.功能 1&#xff09;json工具 2&#xff09;编码/解码、加密/解密 3&#xff09;格式化工具 4&#xff09;网络相关工具 5&#xff09;前后端工具 6&#xff09;正则生成等其他 7&#xff09;文档处理 8&#xff09;图片处理 9&#xff09;文字处…

Docker中Mysql数据备份

Docker中Mysql数据备份 1.创建备份用户2.准备测试数据3.完全备份4.知识点解析 1.创建备份用户 百度过程中&#xff0c;有人说用最高权限root直接备份&#xff0c;不可取不安全&#xff0c;所以单独创建一个用于备份的用户 学习–去看–Mysql 备份所需要的权限 1.进入Mysql容器…

6.Hive系列之DML数据操作(二)

语句和Mysql、PgSQL都类似&#xff0c;简单过一遍 # 全表查询 select * from studen; # 列查询 select name, age from student; # 列别名 select name AS name1, age age1 from student; # 常用函数 count max min sum avg等 select avg(score) avg_score from student; # 限…

修复漏洞(一)离线升级Docker版本

前言 一般人最好用的修复漏洞的方式就是更新版本起因是使用的Docker版本被检测出来有一堆漏洞&#xff08;例如&#xff1a;Docker 操作系统命令注入漏洞(CVE-2019-5736)&#xff09;更新环境无法联网&#xff0c;只能通过下载二进制文件的形式进行安装 步骤 可先通过which …

基于单片机的智能窗帘智能晾衣架系统的设计与实现

功能介绍 以STM32单片机单片机作为主控系统&#xff1b;OLED液晶显示当前环境温湿度&#xff0c;光照强度&#xff0c;时间&#xff0c;开关状态等信息&#xff1b;雨滴传感器检测当前环境是否下雨&#xff0c;天气下雨检测&#xff0c;天气潮湿时自动收衣服&#xff1b;可以通…

RabbitMq(一)

一、基本概念、常见工作模式以及简单使用 MQ全称Message Queue (消息队列)&#xff0c;是在消息的传输过程中保存消息的容器。多用于分布式系统之间进行通信。 小结 MQ消息队列&#xff0c;存储消息的中间件分布式系统通信两种方式:直接远程调用和借助第三方完成间接通信发…

openGauss学习笔记-09 openGauss 简单数据管理-创建数据库

文章目录 openGauss学习笔记-09 openGauss 简单数据管理-创建数据库9.1 语法格式9.2 参数说明9.3 示例 openGauss学习笔记-09 openGauss 简单数据管理-创建数据库 数据库安装完成后&#xff0c;默认生成名称为postgres的数据库。您需要自己创建一个新的数据库。 9.1 语法格式…

低代码技术:提高效率降低成本的全新选择

一、前言 企业想要独立的应用程序&#xff0c;开发者在寻求更快速、更高效、更灵活的开发方法&#xff0c;以适应快速变化的市场需求。在这个背景下&#xff0c;低代码技术以提高效率降低成本的方式走进人们视野&#xff0c;成为了一种全新的应用程序开发方式。 二、相比传统的…

金融中的数学:概率分布(下)

上篇博客介绍了离散型概率分布&#xff0c;本篇博客介绍连续型概率分布。 1.连续型概率分布 连续型均匀分布&#xff08;Continuous Uniform distribution&#xff09;是一种描述在特定区间内取值均匀分布的概率分布。在该分布中&#xff0c;随机变量在给定区间内的取值概率密…

上门服务小程序|上门家政小程序开发

随着现代生活节奏的加快和人们对便利性的追求&#xff0c;上门家政服务逐渐成为了许多家庭的首选。然而&#xff0c;传统的家政服务存在着信息不透明、服务质量不稳定等问题&#xff0c;给用户带来了困扰。为了解决这些问题&#xff0c;上门家政小程序应运而生。上门家政小程序…

Jupyter入门使用教程

1 Jupyter Notebook与Jupyter Lab简介 Jupyter Notebook是一个开源的Web应用&#xff0c;在深度学习领域非常活跃。用户可以在这里创建和分享可执行代码、可视化结构和注释说明的文档。 Jupyter Notebook以网页的形式展现&#xff0c;用户可以在此网页中直接编辑代码、运行程…

通过 Lucene.Net 支持的 .NET 索引和搜索引擎的高效使用与探索:Examine 的简单索引与搜索数据应用以及其可扩展性分析

通过 Lucene.Net 支持的 .NET 索引和搜索引擎的高效使用与探索&#xff1a;Examine 的简单索引与搜索数据应用以及其可扩展性分析 在当前的技术环境中&#xff0c;搜索和索引数据变得越来越重要&#xff0c;尤其是在处理大量数据时。这就使得我们需要一种能够快速、精确、高效…

程序员如何制作PPT?

有道无术&#xff0c;术尚可求也&#xff1b;有术无道&#xff0c;止于术。大家好&#xff0c;我是程序员雪球&#xff0c;今天让我们一起探讨如何从零开始制作高质量的 PPT。 上周&#xff0c;领导要求我撰写一份关于 4到6月持续集成运营分析的报告&#xff0c;并通过 PPT 的形…