在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