简单的活着

runspec

Posted on By Mista Cai

SPEC CPU2006


SPEC CPU2006:


  • SPECint2006
  • SPECint2006 Rates
  • SPECfp2006
  • SPECfp2006 Rates

Integer Benchmarks:

  • 400.perlbench
  • 401.bzip2
  • 403.gcc
  • 429.mcf
  • 445.gobmk
  • 456.hmmer
  • 458.sjeng
  • 462.libquantum
  • 464.h264ref
  • 471.omnetpp
  • 473.astar
  • 483.xalancbmk

Floating Point Benchmarks:

  • 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
  • 999.specrand

Example-windows-ia32-visualstudio.cfg


build这一步403.gcc报错,换了别的配置文件也是同一错误,

Error with make 'specmake build': check file
'C:/cpu2006/benchspec/CPU2006/403.gcc/build/build_base_none.0000/make.err' and 'C:/cpu2006/benchspec/CPU2006/403.gcc/build/build_base_none.0000/make.out'
  Command returned exit code 2
  Error with make!
*** Error building 403.gcc

根据官网FAQ,是因为specmake无法找到编译器导致的问题。原因如下:

  1. shrc.bat引用编译器出错。
  2. congif file引用编译器出错。

但是,更换444.namd,搭建成功,测试数据集也成功。

Example-windows-ia32-visualstudio.cfg可以测试的benchmark:

  • 401.bzip2
  • 429.mcf
  • 433.milc
  • 444.namd
  • 445.gobmk
  • 453.povray
  • 456.hmmer
  • 458.sjeng
  • 464.h264ref
  • 470.lbm
  • 482.sphinx3
  • 483.xalancbmk
  • 999.specrand

出现编译问题的benchmark:

  • 400.perlbench
  • 403.gcc
  • 410.bwaves
  • 416.gamess
  • 434.zeusmp
  • 435.gromacs
  • 436.cactusADM
  • 437.leslie3d
  • 450.soplex
  • 454.calculix
  • 459.GemsFDTD
  • 454.calculix
  • 462.libquantum
  • 465.tonto
  • 471.omnetpp
  • 473.astar
  • 481.wrf

常用的benchmark

  • 400.perlbench :运行失败
  • 401.bzip2
  • 403.gcc :运行失败
  • 429.mcf
  • 433.milc
  • 444.namd
  • 445.gobmk
  • 447.dealII :与VC++不兼容
  • 450.soplex
  • 453.povray
  • 456.hmmer
  • 458.sjeng
  • 462.libquantum :与VC++不兼容
  • 464.h264ref
  • 470.lbm
  • 471.omnetpp
  • 473.astar
  • 482.sphinx3
  • 483.xalancbmk :vs17编译成功,12失败

visual studio12 Express

问题可能与vs版本有关,尝试低版本vs。vs2012几乎可解决该问题。

**使用vs2012的vsvars32.bat文件路径修改shrc.bat;使用amd64-visualstudio配置文件。

尝试VS2013+Intel Compiler 16.0组合

# Intel Compiler 16.0 (Intel® Parallel Studio XE 2016 )
# Visual Studio 2013

For Windows 64-bit targets: "<compiler-install_dir>\bin\compilervars.bat"批处理文件,patch file compiler。

VS版本 内部版本 VC版本
Visual Studio 4.0 Visual C++ 4.0
Visual Studio 97 5.0 Visual C++ 5.0
Visual Studio 6.0 6.0 Visual C++ 6.0
Visual Studio .NET 2002 7.0 Visual C++ 2002
Visual Studio .NET 2003 7.1 Visual C++ 2003
Visual Studio 2005 8.0 Visual C++ 2005
Visual Studio 2008 9.0 Visual C++ 2008
Visual Studio 2010 10.0 Visual C++ 2010
Visual Studio 2012 11.0 Visual C++ 2012
Visual Studio 2013 12.0 Visual C++ 2013
Visual Studio 2015 14.0 Visual C++ 2015
Visual Studio 2015 RTM 14.0 Visual C++ 2015
Visual Studio 2017 15.0 Visual C++
Visual Studio 2019 16.0  

vs icl

update on 3.22

纯生的tcg模式安装不了spec cpu2006,无法识别新架构,需自行安装tools,包括specmake, specperl ...;win下cpu2006\tools\src\buildtools.bat自行安装tools,VS .net VS .net 2003可以成功,但是不支持64位版本。

Setting SPEC environment variable to C:\cpu2006\
We do not appear to have vendor supplied binaries for your
architecture.  You will have to compile specmake and specperl
by yourself.  Please read \Docs\tools_build.txt and
\tools\src\buildtools.bat.