Ubuntu 20.04 LTS x86_64 SPEC CPU 2006 cpu2006-1.2.iso 测试笔记

news2024/9/27 5:52:13

环境

 

 

 安装依赖项

sudo apt install gfortran

挂载iso

sudo mkdir /mnt/cpu2006
sudo mount cpu2006-1.2.iso /mnt/cpu2006

安装

cd /mnt/cpu2006
sh install.sh -d /home/speccpu/cpu2006
SPEC CPU2006 Installation

Top of the CPU2006 tree is '/mnt/cpu2006'

Installing FROM /mnt/cpu2006
Installing TO /home/speccpu/cpu2006/

Is this correct? (Please enter 'yes' or 'no') 
yes

The following toolsets are expected to work on your platform.  If the
automatically installed one does not work, please re-run install.sh and
exclude that toolset using the '-e' switch.

The toolset selected will not affect your benchmark scores.

linux-suse10-amd64            For 64-bit AMD64/EM64T Linux systems running
                              SuSE Linux 10 or later, and other
                              compatible Linux distributions, including
                              some versions of RedHat Enterprise Linux
                              and Oracle Linux Server.

                              Built on SuSE Linux 10 with 
                              GCC v4.1.0 (SUSE Linux)

linux-suse10-ia32             For IA-32 Linux systems running SuSE
                              Linux 10 or later.
                              Built on SuSE Linux 10 with 
                              GCC v4.1.0 (SUSE Linux)

linux-redhat72-ia32           For x86, IA-64, EM64T, and AMD64-based Linux
                              systems with GLIBC 2.2.4+.
                              Built on RedHat 7.2 (x86) with gcc 3.1.1



=================================================================
Attempting to install the linux-suse10-amd64 toolset...


Unpacking CPU2006 base files (141.5 MB)
Unpacking 400.perlbench benchmark and data files (61.5 MB)
Unpacking 401.bzip2 benchmark and data files (110.7 MB)
Unpacking 403.gcc benchmark and data files (43 MB)
Unpacking 410.bwaves benchmark and data files (0.1 MB)
Unpacking 416.gamess benchmark and data files (16.8 MB)
Unpacking 429.mcf benchmark and data files (6.9 MB)
Unpacking 433.milc benchmark and data files (0.6 MB)
Unpacking 434.zeusmp benchmark and data files (1.1 MB)
Unpacking 435.gromacs benchmark and data files (13 MB)
Unpacking 436.cactusADM benchmark and data files (3.3 MB)
Unpacking 437.leslie3d benchmark and data files (0.3 MB)
Unpacking 444.namd benchmark and data files (7.6 MB)
Unpacking 445.gobmk benchmark and data files (9.2 MB)
Unpacking 447.dealII benchmark and data files (70.2 MB)
Unpacking 450.soplex benchmark and data files (321 MB)
Unpacking 453.povray benchmark and data files (10.3 MB)
Unpacking 454.calculix benchmark and data files (26 MB)
Unpacking 456.hmmer benchmark and data files (57 MB)
Unpacking 458.sjeng benchmark and data files (0.4 MB)
Unpacking 459.GemsFDTD benchmark and data files (2.6 MB)
Unpacking 462.libquantum benchmark and data files (0.2 MB)
Unpacking 464.h264ref benchmark and data files (52.9 MB)
Unpacking 465.tonto benchmark and data files (6.9 MB)
Unpacking 470.lbm benchmark and data files (4.7 MB)
Unpacking 471.omnetpp benchmark and data files (2.8 MB)
Unpacking 473.astar benchmark and data files (5.8 MB)
Unpacking 481.wrf benchmark and data files (67.1 MB)
Unpacking 482.sphinx3 benchmark and data files (51.7 MB)
Unpacking 483.xalancbmk benchmark and data files (213.7 MB)
Unpacking 998.specrand benchmark and data files (4.1 MB)
Unpacking 999.specrand benchmark and data files (4.1 MB)

Checking the integrity of your source tree...


Checksums are all okay.

Unpacking binary tools for linux-suse10-amd64...

Checking the integrity of your binary tools...

Checksums are all okay.

Testing the tools installation (this may take a minute)

........................................................................o.................................................................................................................................................

Installation successful.  Source the shrc or cshrc in
/home/speccpu/cpu2006/
to set up your environment for the benchmark.

测试

准备配置文件

cd /home/speccpu/cpu2006/config/
cp Example-linux64-amd64-gcc43+.cfg gcc.cfg

根据cpu调整绑核(单路,只有一个numa node)

运行测试

单核

runspec -c gcc.cfg -T base -n 3 -r 1 -I -i ref all

错误处理

error: invalid use of '__builtin_va_arg_pack ()'

specmake build 2> make.err | tee make.out
/usr/bin/gcc -c -o av.o -DSPEC_CPU -DNDEBUG -DPERL_CORE   -O2 -fno-strict-aliasing       -DSPEC_CPU_LP64 -DSPEC_CPU_LINUX_X64        av.c
In file included from /usr/include/stdio.h:894,
                 from perlio.h:65,
                 from iperlsys.h:51,
                 from perl.h:2585,
                 from av.c:22:
/usr/include/x86_64-linux-gnu/bits/stdio2.h: In function 'sprintf':
/usr/include/x86_64-linux-gnu/bits/stdio2.h:38:10: error: invalid use of '__builtin_va_arg_pack ()'
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |       __glibc_objsize (__s), __fmt,
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |       __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2.h: In function 'snprintf':
/usr/include/x86_64-linux-gnu/bits/stdio2.h:71:10: error: invalid use of '__builtin_va_arg_pack ()'
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |        __glibc_objsize (__s), __fmt,
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |        __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2.h: In function 'fprintf':
/usr/include/x86_64-linux-gnu/bits/stdio2.h:105:10: error: invalid use of '__builtin_va_arg_pack ()'
  105 |   return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  106 |    __va_arg_pack ());
      |    ~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2.h: In function 'printf':
/usr/include/x86_64-linux-gnu/bits/stdio2.h:112:10: error: invalid use of '__builtin_va_arg_pack ()'
  112 |   return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ());
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2.h: In function 'dprintf':
/usr/include/x86_64-linux-gnu/bits/stdio2.h:149:10: error: invalid use of '__builtin_va_arg_pack ()'
  149 |   return __dprintf_chk (__fd, __USE_FORTIFY_LEVEL - 1, __fmt,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  150 |    __va_arg_pack ());
      |    ~~~~~~~~~~~~~~~~~
In file included from /usr/include/features.h:486,
                 from /usr/include/x86_64-linux-gnu/sys/types.h:25,
                 from perl.h:384,
                 from av.c:22:
/usr/include/x86_64-linux-gnu/bits/fcntl2.h: In function 'open':
/usr/include/x86_64-linux-gnu/bits/fcntl2.h:43:7: error: invalid use of '__builtin_va_arg_pack_len ()'
   43 |   if (__va_arg_pack_len () > 1)
      |       ^~~~~~~~~~~~~~~~~
cc1: error: invalid use of '__builtin_va_arg_pack_len ()'
In file included from /usr/include/fcntl.h:314,
                 from /usr/include/x86_64-linux-gnu/sys/file.h:24,
                 from perl.h:4500,
                 from av.c:22:
/usr/include/x86_64-linux-gnu/bits/fcntl2.h:59:10: error: invalid use of '__builtin_va_arg_pack ()'
   59 |   return __open_alias (__path, __oflag, __va_arg_pack ());
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/features.h:486,
                 from /usr/include/x86_64-linux-gnu/sys/types.h:25,
                 from perl.h:384,
                 from av.c:22:
/usr/include/x86_64-linux-gnu/bits/fcntl2.h: In function 'openat':
/usr/include/x86_64-linux-gnu/bits/fcntl2.h:119:7: error: invalid use of '__builtin_va_arg_pack_len ()'
  119 |   if (__va_arg_pack_len () > 1)
      |       ^~~~~~~~~~~~~~~~~
cc1: error: invalid use of '__builtin_va_arg_pack_len ()'
In file included from /usr/include/fcntl.h:314,
                 from /usr/include/x86_64-linux-gnu/sys/file.h:24,
                 from perl.h:4500,
                 from av.c:22:
/usr/include/x86_64-linux-gnu/bits/fcntl2.h:135:10: error: invalid use of '__builtin_va_arg_pack ()'
  135 |   return __openat_alias (__fd, __path, __oflag, __va_arg_pack ());
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
specmake: *** [av.o] Error 1
Error with make 'specmake build': check file '/home/speccpu/cpu2006/benchspec/CPU2006/400.perlbench/build/build_base_gcc43-64bit.0000/make.err'
  Command returned exit code 2
  Error with make!
*** Error building 400.perlbench
If you wish to ignore this error, please use '-I' or ignore errors.

The log for this run is in /home/speccpu/cpu2006/result/CPU2006.001.log
The debug log for this run is in /home/speccpu/cpu2006/result/CPU2006.001.log.debug

*
* Temporary files were NOT deleted; keeping temporaries such as
* /home/speccpu/cpu2006/result/CPU2006.001.log.debug and
* /home/speccpu/cpu2006/tmp/CPU2006.001
* (These may be large!)
*

估计是GCC版本太高,speccpu2006太老。

gcc -O1 -O2 -O3均有此问题,改为-O0

注意:此修改,跑SPEC已经无意义,明显会降低跑分!后续还是重点研究2017 

Error: Type mismatch in argument 'ifa' at (1); passed REAL(8) to INTEGER(4)

涉及修改源码,太费劲了。

放弃在ubuntu20.04上的测试。

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

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

相关文章

【Vue3】学习笔记-toRef

作用 创建一个ref对象,其value值指向另一个对象中的某个属性。 语法 const nametoRef(person,‘name’) 应用 要将响应式对象中的某个属性单独提供给外部使用时 #扩展 toRefs与toRef功能一直,但可以批量创建多个ref对象,语法:toRefs(per…

浅谈消防应急照明和疏散指示系统在变电站的设计与应用

【摘要】:随着对消防安全重视程度的不断提高,消防设计要求更加严格。针对变电站的应用场景,以民用和工业建筑为对象设计的消防应急照明和疏散指示系统不宜直接套用。文章从变电站实际应用角度出发,梳理和对比了现行设计规范&#…

机器人制作开源方案 | 智能立体仓储系统模型

1. 功能说明 本文示例将通过程序控制模拟立体仓储系统的运动效果--模拟立体仓储系统进行运输货物时各个结构的运动方式。立体仓储系统的运动有整体系统的水平移动、载货台的纵向移动、货叉的平动,所有的运动表现形式都是旋转运动转化为平动。 2. 结构说明 该立体仓储…

netcat(nc)安装

网络工具中有“瑞士军刀”美誉的NetCat(以下简称nc)可以使用TCP或UDP协议的网络连接去读写数据。 问题 使用命令 nc -zv ip port 发现报错Ncat:Connection refused,其实是混淆了netcat(nc)与ncat where …

只要你会vue,5分钟学不会 svelte 你来找我

🌻 前言 2023年了,国内前端领域基本被Vue、React占领市场,近几年似乎前端技术栈的迭代更新缓慢了下来。 当然近几年也出现了像svelte、solid.js等一些新兴的前端框架,这些框架有很多创新的点,比如svelte相比于vue,re…

SSTI-lab

Level-1 no waf {{2*2}}测试发现存在ssti漏洞 {{.__class__}}{{.__class__.__bases__[0]}}{{.__class__.__bases__[0].__subclasses__}}import requestsurl"http://node1.anna.nssctf.cn:28430/level/1"#payload{{.__class__.__bases__[0].__subclasses__()[1]}} …

基于智慧消防系统的建设与应用

安科瑞 华楠 【摘要】随着“智慧城市”建设热潮的兴起,对推动人类社会发展与进步发挥重要作用,而“智慧消防”作为“智慧城市”的重要组成部分,其建设工作也越来越受到社会各界人士的高度关注,这对推动“智慧城市”构建发挥作用。…

途乐证券|Prada总部上海荣宅失事?230亿龙头突现重大利空,黑马也被带崩

Prada和蔡徐坤同时刷屏! 今天一早,Prada冲上微博热搜,原因是有网友称,“Prada总部上海荣宅起火”,相关视频在网上热传。据上海静安消防发布火情通报,2023年7月2日18时14分,静安区陕西北路靠近南…

登录校验-会话技术/JWT令牌

登录校验 会话技术 会话: 用户打开浏览器,访问web资源的时候,会话建立。直到一方断开连接,会话结束,一次会话中包含多次响应 会话跟踪:一种维护浏览器状态的方法,服务器需要识别多次请求是否来…

【MySQL】count()查询性能梳理

【MySQL】count()查询性能梳理 1、背景 使用的数据库是MySQL8,使用的存储引擎是Innodb。 通常情况下,分页接口一般会查询两次数据库,第一次是获取具体数据,第二次是获取总的记录行数,然后把结果整合之后&#xff0c…

【VB6|第19期】vb6通过COM组件操作Excel

日期:2023年7月3日 作者:Commas 签名:(ง •_•)ง 积跬步以致千里,积小流以成江海…… 注释:如果您觉得有所帮助,帮忙点个赞,也可以关注我,我们一起成长;如果有不对的地方&#xff…

软件测试工程师必备的27个基础技能

混迹于软件测试这么长时间了,一直想写一篇关于软件测试的经验分享的文章,但苦于工作原因迟迟未下笔。最近终于有了些闲余时间,遂决定把自己的心路历程及所感所想记录下来,与各位同行共勉。 以我多年的工作经验来看,软…

处理glibc堆栈缓冲区溢出漏洞(CVE-2018-11236)

GNU C Library(又名glibc,libc6)是一种按照LGPL许可协议发布的开源免费的C语言编译程序。 GNU C库(aka glibc或libc6)中的stdlib/canonicalize.c处理非常长的路径名参数到realpath函数时,可能会遇到32位体系…

判断平台现货白银价格趋势方法有哪些?

新手投资者面对平台现货白银走势总是束手无策,那是因为新手投资者对市场的运行规律,以及对一些常用的技术分析工具并不熟悉,最后无法判断市场走向,所以交易获利也无从谈起。下面,我们一起来讨论一些可以判别趋势的工具…

imazing是什么软件? iMazing 2.17.3备份神器,iPhone相册管理超方便!!!

相信很多小伙伴们听说过imazing,那么imazing这是一款什么软件呢,imazing是一款iOS设备管理软件,这款软件支持对基于iOS系统的设备进行数据传输与备份。 imazing是什么软件 答:imazing是一款iOS设备管理软件。 imazing是一款iOS设…

Steam搬运饰品诈骗套路,及补救措施

这几个月,圈内频频有人曝出Steam库存饰品被盗。今天我就来聊聊饰品安全问题,相信也是大家最关注的问题。 其实,市面上绝大多数库存被盗问题都是因为Steam安全信息泄露导致的。 最常见的钓鱼信息就是从Steam自身而来,例如Steam好友…

【测试数据】关于多路播放在mesh中卡顿问题

测试环境 ![(https://img-blog.csdnimg.cn/ab2c3fb7f4b945c3af2a8ecf36bd3d99.jpeg#pic_center) 各种场景数据 WEB端播放 web6路 VID_3路慢点 web第三路慢点 客户端播放 客户端6路 客户端vsWeb wifi vS mesh wifi Vs Mesh链路 wifi下还是很流畅,九路

用C语言实现“括号匹配“问题

🎈个人主页:🎈 :✨✨✨初阶牛✨✨✨ 🐻推荐专栏1: 🍔🍟🌯C语言初阶 🐻推荐专栏2: 🍔🍟🌯C语言进阶 🔑个人信条: 🌵知行合一 &#x1f…

Springboot整合Activiti详解

文章目录 版本依赖配置文件需要注意的问题画流程图activiti服务类进行编写流程部署流程定义启动流程流程实例 测试流程启动流程完成任务受理任务 版本依赖 开发工具 IDEASpringBoot 2.4.5(这里我试过SpringBoot 3.1.1版本,Activiti没有启动,…

现代卓越首席咨询顾问张智喨受邀为第十二届中国PMO大会演讲嘉宾

现代卓越首席咨询顾问张智喨老师受邀为由PMO评论主办的2023第十二届中国PMO大会演讲嘉宾,演讲议题:BANI时代下如何打造价值导向型PMO。大会将于8月12-13日在北京举办,敬请关注! 议题简要: 在BANI时代下,企…