Overview
- SPEC CPU 2017 is not intended to stress other computer componeents such as networking, graphics, Java libraries, or the I/O system. Note that there are other SPEC benchmarks that focus on those areas.
- Most of the benchmark programs are drawn from actual end-user applications, as opposed to being synthetic benchmarks.
- benchmark suite
- category: speed/rate; inter/fp; base/peak
Run Command Examples
runcpu -c tryi 603 --tuning peak --iterations 1 --loose --threads 8 --size train
- --size: ref(default) test,train,ref
- --action: run(default) build
- --tuning: base(default), peak
- --iterations: 2(default), affect by reportable
- --loose examples
- speed: allow openmp; allow --threads
- rate/throughput: openmp/auto para disabled; allow --copies
Known issues from my trial
- Visual Studio which is prior than VS2022, need to install latest WinSDK, or it cannot find header.
- Need to download Intel compiler to build, because fortran is Not supported in VS.
- Intel compiler has been integrated from XE studio to OneAPI.
- Need to use new compiler command since classic compiler command is not supported after 2013
- Example config need to be changed according to ICC logs.
windows
Reference: www.spec.org/cpu2017/Doc…
prepare
install visual studio and install win11 sdk.
install
- create a folder as the install dir.
- attach iso file && start a cmd terminal in that folder
install.bat c:\cpu2017
set compiler
- edit
shrc.bat
set SHRC_COMPILER_PATH_SET=yes
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvars64.bat"
- run
shrc.batin terminal
config
- copy
Example-VisualStudio.cfgtotry.cfg - edit in
try.cfg% define VSVERSION 2019 # the runcpu command line. Use a four
run
runcpu -c try.cfg --action build 508.namd_r
runcpu -c try.cfg --size test --iterations 1 -noreportable fprate
runcpu --config=try --reportable --copies=10 fprate
linux
Reference:www.spec.org/cpu2017/Doc…
install
mount cpu2017-1.1.8.iso mount_point/
./install.sh -d /home/gy/cpu2017
source shrc
config
set correct gcc dir in ubuntu
define gcc_dir "/usr" # EDIT (see above)
run
runcpu --config=try1 --action=build 505.mcf_r
runcpu --config=try1 --size=test --copies=1 --noreportable --iterations=1 intrate
runcpu --config=try1 --reportable intrate
log
cpu2017/resultcontains the log of each runcpu2017/benchspec/CPUcontains the details of each benchmark