speccpu2017 500.perlbench 和600.perlbench报错

在运行SpeCCPU2017的intspeed和intrate测试时,遇到500和600测试用例报错,涉及perlbench_r基准测试。错误主要出现在t/op/pack、t/op/sprintf2和t/op/time测试中。解决方法是在编译时添加-fno-unsafe-math-optimizations和-fno-finite-math-only参数。
摘要由CSDN通过智能技术生成

在speccpu2017运行intspeed和intrate时,遇到600和500测试用例报错。

报错内容如下:

 

 

报错内容如下:     

 

  ****************************************
  *** Miscompare of test.out; for details see
      /home/speccpu2017/benchspec/CPU/500.perlbench_r/run/run_base_test_PCLtest-64.0000/test.out.mis
  0155:  t/op/pack ................................... ok
         t/op/pack ................................... FAILED at test 237
                                                       ^
  0185:  t/op/sprintf2 ............................... ok
         t/op/sprintf2 ............................... FAILED at test 1459
                                                       ^
  0201:  t/op/time ................................... ok
         t/op/time ................................... FAILED at test 72
                                                       ^
  0318:  All tests successful.
                op/pack.t
          ^
  'test.out' long
  Benchmark Times:
    Run Start:    2020-10-14 00:02:03 (1602648123)
    Rate Start:   2020-10-14 00:02:03 (1602648123.05235)
    Rate End:     2020-10-14 00:02:33 (1602648153.12298)
    Run Stop:     2020-10-14 00:02:33 (1602648153)
    Run Elapsed:  00:00:30 (30)
    Run Reported: 00:00:30 (30 70636987 30.070637)
   Error 500.perlbench_r base test ratio=-0.00, runtime=30.070637, copies=1, threads=1, power=0.00W, temp=0.00 degC, humidity=0.00%, errorcode=VE
  Invalid run; unable to continue.
  If you wish to ignore errors please use '-I' or ignore_errors
  runcpu finished at 2020-10-14 00:02:33; 34 total seconds elapsed
***************************
ERROR: Run for 500.perlbench_r test base PCLtest-64 FAILED (exit code 1).
        See the log file for details.
 

解决办法:

编译时,添加参数解决:-fno-unsafe-math-optimizations   -fno-finite-math-only

  • 2
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值