gcc-llvm-all.patch

*** gcc-llvm.cfg	2023-08-04 13:35:34.466876744 +0800
--- Example-gcc-linux-x86.cfg	2018-05-04 20:53:19.000000000 +0800
*************** default:
*** 145,153 ****
     preENV_LD_LIBRARY_PATH  = %{gcc_dir}/lib64/:%{gcc_dir}/lib/:/lib64
    #preENV_LD_LIBRARY_PATH  = %{gcc_dir}/lib64/:%{gcc_dir}/lib/:/lib64:%{ENV_LD_LIBRARY_PATH}
     SPECLANG                = %{gcc_dir}/bin/
!    CC                      = /usr/local/bin/clang   %{model}
!    CXX                     = /usr/local/bin/clang++ %{model}
!    FC                      = gfortran               %{model}
     # How to say "Show me your version, please"
     CC_VERSION_OPTION       = -v
     CXX_VERSION_OPTION      = -v
--- 145,153 ----
     preENV_LD_LIBRARY_PATH  = %{gcc_dir}/lib64/:%{gcc_dir}/lib/:/lib64
    #preENV_LD_LIBRARY_PATH  = %{gcc_dir}/lib64/:%{gcc_dir}/lib/:/lib64:%{ENV_LD_LIBRARY_PATH}
     SPECLANG                = %{gcc_dir}/bin/
!    CC                      = $(SPECLANG)gcc     -std=c99   %{model}
!    CXX                     = $(SPECLANG)g++     -std=c++03 %{model}
!    FC                      = $(SPECLANG)gfortran           %{model}
     # How to say "Show me your version, please"
     CC_VERSION_OPTION       = -v
     CXX_VERSION_OPTION      = -v
*************** default:               # data model appl
*** 184,218 ****
  %endif
     PORTABILITY    = -DSPEC_%{os}_%{suffix}
  
- # ./ComputeNonbondedInl.h:61:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
- 508.namd_r:
-    CXXPORTABILITY  = -Wno-error=register
- 
- #  error: comparison between pointer and integer ('const char *' and 'char')
- 510.parest_r:
-    CXXPORTABILITY  = -std=c++03
- 
- # express.cpp:1485:4: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
- 511.povray_r:
-    CXXPORTABILITY  = -Wno-error=register
- 
- # lex.expryy.cc:816:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
- # <!> Error during startup: Register_Function() or cMathFunction: attempt to register function "SPEC_HYPOT" with wrong number of arguments 2, should be 3.
- # https://github.com/ccelio/Speckle/issues/21
- 520.omnetpp_r:
-    CXXPORTABILITY  = -Wno-error=register --std=c++14
- 
  521.wrf_r,621.wrf_s:  #lang='F,C'
     CPORTABILITY  = -DSPEC_CASE_FLAG
! # Build errors for fprate: 521.wrf_r(base; CE),  Error: Type mismatch between actual argument
!    FPORTABILITY  = -fconvert=big-endian -fallow-argument-mismatch
! # Command returned exit code 2  setfeenv.c:(.text+0x34): undefined reference to `__kmpc_fork_call'
!    EXTRA_FLIBS   = -L/usr/local/lib -lomp
! 
! 
! # process *** Error building 525.x264_r base
! 525.x264_r:
!    CPORTABILITY  = -fcommon
  
  523.xalancbmk_r,623.xalancbmk_s:  #lang='CXX'
     PORTABILITY   = -DSPEC_%{os}
--- 184,192 ----
  %endif
     PORTABILITY    = -DSPEC_%{os}_%{suffix}
  
  521.wrf_r,621.wrf_s:  #lang='F,C'
     CPORTABILITY  = -DSPEC_CASE_FLAG
!    FPORTABILITY  = -fconvert=big-endian
  
  523.xalancbmk_r,623.xalancbmk_s:  #lang='CXX'
     PORTABILITY   = -DSPEC_%{os}
*************** default:               # data model appl
*** 221,243 ****
     PORTABILITY   = -funsigned-char -DSPEC_LINUX
  
  527.cam4_r,627.cam4_s:  #lang='F,C'
!    PORTABILITY    = -DSPEC_CASE_FLAG
! # Build errors for fprate: 521.wrf_r(base; CE),  527.cam4_r(base; CE) Error: Type mismatch between actual argument
!    FPORTABILITY   = -fallow-argument-mismatch
! # mpi.c:23:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int
!    CPORTABILITY = -Wno-error=implicit-int
! 
! # *** Error building 620.omnetpp_s base
! 620.omnetpp_s:
!    CXXPORTABILITY  = -Wno-error=register --std=c++14
! 
! # *** Error building 625.x264_s base, /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x22
! 625.x264_s:
!    PORTABILITY   = -fcommon
  
  628.pop2_s:  #lang='F,C'
     CPORTABILITY    = -DSPEC_CASE_FLAG
!    FPORTABILITY    = -fconvert=big-endian -fallow-argument-mismatch
  
  #-------- Tuning Flags common to Base and Peak --------------------------------
  
--- 195,206 ----
     PORTABILITY   = -funsigned-char -DSPEC_LINUX
  
  527.cam4_r,627.cam4_s:  #lang='F,C'
!    PORTABILITY   = -DSPEC_CASE_FLAG
  
  628.pop2_s:  #lang='F,C'
     CPORTABILITY    = -DSPEC_CASE_FLAG
!    FPORTABILITY    = -fconvert=big-endian
! 
  
  #-------- Tuning Flags common to Base and Peak --------------------------------
  
*************** default:               # data model appl
*** 271,277 ****
  #                   switches here.  See also 'About the -fno switches' below.
  #
  default=base:         # flags for all base
!    OPTIMIZE       = -g -O3 -march=native -fno-unsafe-math-optimizations
  
  intrate,intspeed=base: # flags for integer base
     EXTRA_COPTIMIZE = -fno-strict-aliasing -fgnu89-inline
--- 234,240 ----
  #                   switches here.  See also 'About the -fno switches' below.
  #
  default=base:         # flags for all base
!    OPTIMIZE       = -g -O3 -march=native -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize
  
  intrate,intspeed=base: # flags for integer base
     EXTRA_COPTIMIZE = -fno-strict-aliasing -fgnu89-inline

编译日志

root@yeqiang-MS-7B23:/opt/cpu2017# runcpu -c gcc-llvm --action build all
SPEC CPU(r) 2017 Benchmark Suites
Copyright 1995-2017 Standard Performance Evaluation Corporation (SPEC)

runcpu v5825
Using 'linux-x86_64' tools
Reading file manifests... read 32272 entries from 2 files in 0.08s (393896 files/s)
Loading runcpu modules.................
Locating benchmarks...found 47 benchmarks in 53 benchsets.
Reading config file '/opt/cpu2017/config/gcc-llvm.cfg'
4 configurations selected:

Action   Benchmarks
------   ----------------------------------------------------------------------
build    fprate                                                                
build    fpspeed                                                               
build    intrate                                                               
build    intspeed                                                              
-------------------------------------------------------------------------------

Setting up environment for running fprate...
Starting runcpu for fprate...
Running "specperl /opt/cpu2017/bin/sysinfo" to gather system information.
sysinfo: r5974 of 2018-05-19 (9bcde8f2999c33d61f64985e45859ea9)
sysinfo: Getting system information for Linux...
sysinfo: ...getting CPU info
sysinfo: ...getting info from numactl
sysinfo: ...getting memory info
sysinfo: ...getting OS info
sysinfo: ...getting CPU vulnerability status from the kernel
sysinfo: ...getting disk info
sysinfo: ...trying to get DIMM info from dmidecode
Retrieving flags file (/opt/cpu2017/config/flags/gcc.xml)...
Benchmarks selected: 503.bwaves_r, 507.cactuBSSN_r, 508.namd_r, 510.parest_r, 511.povray_r, 519.lbm_r, 521.wrf_r, 526.blender_r, 527.cam4_r, 538.imagick_r, 544.nab_r, 549.fotonik3d_r, 554.roms_r, 997.specrand_fr
Compiling Binaries
  Up to date 503.bwaves_r base mytest-m64
  Up to date 507.cactuBSSN_r base mytest-m64
  Up to date 508.namd_r base mytest-m64
  Up to date 510.parest_r base mytest-m64
  Up to date 511.povray_r base mytest-m64
  Up to date 519.lbm_r base mytest-m64
  Up to date 521.wrf_r base mytest-m64
  Up to date 526.blender_r base mytest-m64
  Up to date 527.cam4_r base mytest-m64
  Up to date 538.imagick_r base mytest-m64
  Up to date 544.nab_r base mytest-m64
  Up to date 549.fotonik3d_r base mytest-m64
  Up to date 554.roms_r base mytest-m64
  Up to date 997.specrand_fr base mytest-m64


Build Complete
-------------------------------------------------------------------------------

Setting up environment for running fpspeed...
Starting runcpu for fpspeed...
Running "specperl /opt/cpu2017/bin/sysinfo" to gather system information.
sysinfo: r5974 of 2018-05-19 (9bcde8f2999c33d61f64985e45859ea9)
sysinfo: Getting system information for Linux...
sysinfo: ...getting CPU info
sysinfo: ...getting info from numactl
sysinfo: ...getting memory info
sysinfo: ...getting OS info
sysinfo: ...getting CPU vulnerability status from the kernel
sysinfo: ...getting disk info
sysinfo: ...trying to get DIMM info from dmidecode
Retrieving flags file (/opt/cpu2017/config/flags/gcc.xml)...
Benchmarks selected: 603.bwaves_s, 607.cactuBSSN_s, 619.lbm_s, 621.wrf_s, 627.cam4_s, 628.pop2_s, 638.imagick_s, 644.nab_s, 649.fotonik3d_s, 654.roms_s, 996.specrand_fs
Compiling Binaries
  Up to date 603.bwaves_s base mytest-m64
  Up to date 607.cactuBSSN_s base mytest-m64
  Up to date 619.lbm_s base mytest-m64
  Up to date 621.wrf_s base mytest-m64
  Up to date 627.cam4_s base mytest-m64
  Up to date 628.pop2_s base mytest-m64
  Up to date 638.imagick_s base mytest-m64
  Up to date 644.nab_s base mytest-m64
  Up to date 649.fotonik3d_s base mytest-m64
  Up to date 654.roms_s base mytest-m64
  Up to date 996.specrand_fs base mytest-m64


Build Complete
-------------------------------------------------------------------------------

Setting up environment for running intrate...
Starting runcpu for intrate...
Running "specperl /opt/cpu2017/bin/sysinfo" to gather system information.
sysinfo: r5974 of 2018-05-19 (9bcde8f2999c33d61f64985e45859ea9)
sysinfo: Getting system information for Linux...
sysinfo: ...getting CPU info
sysinfo: ...getting info from numactl
sysinfo: ...getting memory info
sysinfo: ...getting OS info
sysinfo: ...getting CPU vulnerability status from the kernel
sysinfo: ...getting disk info
sysinfo: ...trying to get DIMM info from dmidecode
Retrieving flags file (/opt/cpu2017/config/flags/gcc.xml)...
Benchmarks selected: 500.perlbench_r, 502.gcc_r, 505.mcf_r, 520.omnetpp_r, 523.xalancbmk_r, 525.x264_r, 531.deepsjeng_r, 541.leela_r, 548.exchange2_r, 557.xz_r, 999.specrand_ir
Compiling Binaries
  Up to date 500.perlbench_r base mytest-m64
  Up to date 502.gcc_r base mytest-m64
  Up to date 505.mcf_r base mytest-m64
  Up to date 520.omnetpp_r base mytest-m64
  Up to date 523.xalancbmk_r base mytest-m64
  Up to date 525.x264_r base mytest-m64
  Up to date 531.deepsjeng_r base mytest-m64
  Up to date 541.leela_r base mytest-m64
  Up to date 548.exchange2_r base mytest-m64
  Up to date 557.xz_r base mytest-m64
  Up to date 999.specrand_ir base mytest-m64


Build Complete
-------------------------------------------------------------------------------

Setting up environment for running intspeed...
Starting runcpu for intspeed...
Running "specperl /opt/cpu2017/bin/sysinfo" to gather system information.
sysinfo: r5974 of 2018-05-19 (9bcde8f2999c33d61f64985e45859ea9)
sysinfo: Getting system information for Linux...
sysinfo: ...getting CPU info
sysinfo: ...getting info from numactl
sysinfo: ...getting memory info
sysinfo: ...getting OS info
sysinfo: ...getting CPU vulnerability status from the kernel
sysinfo: ...getting disk info
sysinfo: ...trying to get DIMM info from dmidecode
Retrieving flags file (/opt/cpu2017/config/flags/gcc.xml)...
Benchmarks selected: 600.perlbench_s, 602.gcc_s, 605.mcf_s, 620.omnetpp_s, 623.xalancbmk_s, 625.x264_s, 631.deepsjeng_s, 641.leela_s, 648.exchange2_s, 657.xz_s, 998.specrand_is
Compiling Binaries
  Up to date 600.perlbench_s base mytest-m64
  Up to date 602.gcc_s base mytest-m64
  Up to date 605.mcf_s base mytest-m64
  Up to date 620.omnetpp_s base mytest-m64
  Up to date 623.xalancbmk_s base mytest-m64
  Up to date 625.x264_s base mytest-m64
  Up to date 631.deepsjeng_s base mytest-m64
  Up to date 641.leela_s base mytest-m64
  Up to date 648.exchange2_s base mytest-m64
  Up to date 657.xz_s base mytest-m64
  Up to date 998.specrand_is base mytest-m64


Build Complete
The log for this run is in /opt/cpu2017/result/CPU2017.023.log

runcpu finished at 2023-08-04 08:59:15; 32 total seconds elapsed

试运行

root@yeqiang-MS-7B23:/opt/cpu2017# runcpu -c gcc-llvm -T all intrate
SPEC CPU(r) 2017 Benchmark Suites
Copyright 1995-2017 Standard Performance Evaluation Corporation (SPEC)

runcpu v5825
Using 'linux-x86_64' tools
Reading file manifests... read 32272 entries from 2 files in 0.08s (405279 files/s)
Loading runcpu modules.................
Locating benchmarks...found 47 benchmarks in 53 benchsets.
Reading config file '/opt/cpu2017/config/gcc-llvm.cfg'
1 configuration selected:

 Action    Run Mode   Workload     Report Type      Benchmarks
--------   --------   --------   ----------------   ---------------------------
validate   rate       refrate    SPECrate2017_int   intrate                    
-------------------------------------------------------------------------------

Setting up environment for running intrate...
Starting runcpu for intrate...
Running "specperl /opt/cpu2017/bin/sysinfo" to gather system information.
sysinfo: r5974 of 2018-05-19 (9bcde8f2999c33d61f64985e45859ea9)
sysinfo: Getting system information for Linux...
sysinfo: ...getting CPU info
sysinfo: ...getting info from numactl
sysinfo: ...getting memory info
sysinfo: ...getting OS info
sysinfo: ...getting CPU vulnerability status from the kernel
sysinfo: ...getting disk info
sysinfo: ...trying to get DIMM info from dmidecode
Retrieving flags file (/opt/cpu2017/config/flags/gcc.xml)...
Benchmarks selected: 500.perlbench_r, 502.gcc_r, 505.mcf_r, 520.omnetpp_r, 523.xalancbmk_r, 525.x264_r, 531.deepsjeng_r, 541.leela_r, 548.exchange2_r, 557.xz_r, 999.specrand_ir
Compiling Binaries
  Up to date 500.perlbench_r base mytest-m64
  Up to date 502.gcc_r base mytest-m64
  Up to date 505.mcf_r base mytest-m64
  Up to date 520.omnetpp_r base mytest-m64
  Up to date 523.xalancbmk_r base mytest-m64
  Up to date 525.x264_r base mytest-m64
  Up to date 531.deepsjeng_r base mytest-m64
  Up to date 541.leela_r base mytest-m64
  Up to date 548.exchange2_r base mytest-m64
  Up to date 557.xz_r base mytest-m64
  Up to date 999.specrand_ir base mytest-m64


Setting Up Run Directories
  Setting up 500.perlbench_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0000
  Setting up 502.gcc_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0000
  Setting up 505.mcf_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0000
  Setting up 520.omnetpp_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0000
  Setting up 523.xalancbmk_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0000
  Setting up 525.x264_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0000
  Setting up 531.deepsjeng_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0000
  Setting up 541.leela_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0000
  Setting up 548.exchange2_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0000
  Setting up 557.xz_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0000
  Setting up 999.specrand_ir refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0000
  Setting up 500.perlbench_r refrate (ref) peak mytest-m64 (1 copy): run_base_refrate_mytest-m64.0001
  Setting up 502.gcc_r refrate (ref) peak mytest-m64 (1 copy): run_base_refrate_mytest-m64.0001
  Setting up 505.mcf_r refrate (ref) peak mytest-m64 (1 copy): run_base_refrate_mytest-m64.0001
  Setting up 520.omnetpp_r refrate (ref) peak mytest-m64 (1 copy): run_base_refrate_mytest-m64.0001
  Setting up 523.xalancbmk_r refrate (ref) peak mytest-m64 (1 copy): run_base_refrate_mytest-m64.0001
  Setting up 525.x264_r refrate (ref) peak mytest-m64 (1 copy): run_base_refrate_mytest-m64.0001
  Setting up 531.deepsjeng_r refrate (ref) peak mytest-m64 (1 copy): run_base_refrate_mytest-m64.0001
  Setting up 541.leela_r refrate (ref) peak mytest-m64 (1 copy): run_base_refrate_mytest-m64.0001
  Setting up 548.exchange2_r refrate (ref) peak mytest-m64 (1 copy): run_base_refrate_mytest-m64.0001
  Setting up 557.xz_r refrate (ref) peak mytest-m64 (1 copy): run_base_refrate_mytest-m64.0001
  Setting up 999.specrand_ir refrate (ref) peak mytest-m64 (1 copy): run_base_refrate_mytest-m64.0001
Running Benchmarks
  Running 500.perlbench_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 09:11:57]


root@yeqiang-MS-7B23:/opt/cpu2017# runcpu -c gcc-llvm -T all fprate
SPEC CPU(r) 2017 Benchmark Suites
Copyright 1995-2017 Standard Performance Evaluation Corporation (SPEC)

runcpu v5825
Using 'linux-x86_64' tools
Reading file manifests... read 32272 entries from 2 files in 0.08s (404684 files/s)
Loading runcpu modules.................
Locating benchmarks...found 47 benchmarks in 53 benchsets.
Reading config file '/opt/cpu2017/config/gcc-llvm.cfg'
1 configuration selected:

 Action    Run Mode   Workload     Report Type     Benchmarks
--------   --------   --------   ---------------   ----------------------------
validate   rate       refrate    SPECrate2017_fp   fprate                      
-------------------------------------------------------------------------------

Setting up environment for running fprate...
Starting runcpu for fprate...
Running "specperl /opt/cpu2017/bin/sysinfo" to gather system information.
sysinfo: r5974 of 2018-05-19 (9bcde8f2999c33d61f64985e45859ea9)
sysinfo: Getting system information for Linux...
sysinfo: ...getting CPU info
sysinfo: ...getting info from numactl
sysinfo: ...getting memory info
sysinfo: ...getting OS info
sysinfo: ...getting CPU vulnerability status from the kernel
sysinfo: ...getting disk info
sysinfo: ...trying to get DIMM info from dmidecode
Retrieving flags file (/opt/cpu2017/config/flags/gcc.xml)...
Benchmarks selected: 503.bwaves_r, 507.cactuBSSN_r, 508.namd_r, 510.parest_r, 511.povray_r, 519.lbm_r, 521.wrf_r, 526.blender_r, 527.cam4_r, 538.imagick_r, 544.nab_r, 549.fotonik3d_r, 554.roms_r, 997.specrand_fr
Compiling Binaries
  Up to date 503.bwaves_r base mytest-m64
  Up to date 507.cactuBSSN_r base mytest-m64
  Up to date 508.namd_r base mytest-m64
  Up to date 510.parest_r base mytest-m64
  Up to date 511.povray_r base mytest-m64
  Up to date 519.lbm_r base mytest-m64
  Up to date 521.wrf_r base mytest-m64
  Up to date 526.blender_r base mytest-m64
  Up to date 527.cam4_r base mytest-m64
  Up to date 538.imagick_r base mytest-m64
  Up to date 544.nab_r base mytest-m64
  Up to date 549.fotonik3d_r base mytest-m64
  Up to date 554.roms_r base mytest-m64
  Up to date 997.specrand_fr base mytest-m64


Setting Up Run Directories
  Setting up 503.bwaves_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0002
  Setting up 507.cactuBSSN_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0002
  Setting up 508.namd_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0002
  Setting up 510.parest_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0002
  Setting up 511.povray_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0002
  Setting up 519.lbm_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0002
  Setting up 521.wrf_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0002
  Setting up 526.blender_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0002
  Setting up 527.cam4_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0002
  Setting up 538.imagick_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0002
  Setting up 544.nab_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0002
  Setting up 549.fotonik3d_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0002
  Setting up 554.roms_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0002
  Setting up 997.specrand_fr refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0002
  Setting up 503.bwaves_r refrate (ref) peak mytest-m64 (1 copy): run_base_refrate_mytest-m64.0003
  Setting up 507.cactuBSSN_r refrate (ref) peak mytest-m64 (1 copy): run_base_refrate_mytest-m64.0003
  Setting up 508.namd_r refrate (ref) peak mytest-m64 (1 copy): run_base_refrate_mytest-m64.0003
  Setting up 510.parest_r refrate (ref) peak mytest-m64 (1 copy): run_base_refrate_mytest-m64.0003
  Setting up 511.povray_r refrate (ref) peak mytest-m64 (1 copy): run_base_refrate_mytest-m64.0003
  Setting up 519.lbm_r refrate (ref) peak mytest-m64 (1 copy): run_base_refrate_mytest-m64.0003
  Setting up 521.wrf_r refrate (ref) peak mytest-m64 (1 copy): run_base_refrate_mytest-m64.0003
  Setting up 526.blender_r refrate (ref) peak mytest-m64 (1 copy): run_base_refrate_mytest-m64.0003
  Setting up 527.cam4_r refrate (ref) peak mytest-m64 (1 copy): run_base_refrate_mytest-m64.0003
  Setting up 538.imagick_r refrate (ref) peak mytest-m64 (1 copy): run_base_refrate_mytest-m64.0003
  Setting up 544.nab_r refrate (ref) peak mytest-m64 (1 copy): run_base_refrate_mytest-m64.0003
  Setting up 549.fotonik3d_r refrate (ref) peak mytest-m64 (1 copy): run_base_refrate_mytest-m64.0003
  Setting up 554.roms_r refrate (ref) peak mytest-m64 (1 copy): run_base_refrate_mytest-m64.0003
  Setting up 997.specrand_fr refrate (ref) peak mytest-m64 (1 copy): run_base_refrate_mytest-m64.0003
Running Benchmarks
  Running 503.bwaves_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 09:10:41]

intrate,fprate单核单次

runcpu.sh

#!/bin/bash

source shrc
ulimit -s unlimited
runcpu -c gcc-llvm -T base -n 1 intrate fprate > runcpu.log 2>&1 &
tail -f runcpu.log

runcpu.log

SPEC CPU(r) 2017 Benchmark Suites
Copyright 1995-2017 Standard Performance Evaluation Corporation (SPEC)

runcpu v5825
Using 'linux-x86_64' tools
Reading file manifests... read 32272 entries from 2 files in 0.09s (371203 files/s)
Loading runcpu modules.................
Locating benchmarks...found 47 benchmarks in 53 benchsets.
Reading config file '/opt/cpu2017/config/gcc-llvm.cfg'
2 configurations selected:

 Action    Run Mode   Workload     Report Type      Benchmarks
--------   --------   --------   ----------------   ---------------------------
validate   rate       refrate    SPECrate2017_int   intrate                    
validate   rate       refrate    SPECrate2017_fp    fprate                     
-------------------------------------------------------------------------------

Setting up environment for running intrate...
Starting runcpu for intrate...
Running "specperl /opt/cpu2017/bin/sysinfo" to gather system information.
sysinfo: r5974 of 2018-05-19 (9bcde8f2999c33d61f64985e45859ea9)
sysinfo: Getting system information for Linux...
sysinfo: ...getting CPU info
sysinfo: ...getting info from numactl
sysinfo: ...getting memory info
sysinfo: ...getting OS info
sysinfo: ...getting CPU vulnerability status from the kernel
sysinfo: ...getting disk info
sysinfo: ...trying to get DIMM info from dmidecode
Retrieving flags file (/opt/cpu2017/config/flags/gcc.xml)...
Benchmarks selected: 500.perlbench_r, 502.gcc_r, 505.mcf_r, 520.omnetpp_r, 523.xalancbmk_r, 525.x264_r, 531.deepsjeng_r, 541.leela_r, 548.exchange2_r, 557.xz_r, 999.specrand_ir
Compiling Binaries
  Up to date 500.perlbench_r base mytest-m64
  Up to date 502.gcc_r base mytest-m64
  Up to date 505.mcf_r base mytest-m64
  Up to date 520.omnetpp_r base mytest-m64
  Up to date 523.xalancbmk_r base mytest-m64
  Up to date 525.x264_r base mytest-m64
  Up to date 531.deepsjeng_r base mytest-m64
  Up to date 541.leela_r base mytest-m64
  Up to date 548.exchange2_r base mytest-m64
  Up to date 557.xz_r base mytest-m64
  Up to date 999.specrand_ir base mytest-m64


Setting Up Run Directories
  Setting up 500.perlbench_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0003
  Setting up 502.gcc_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0003
  Setting up 505.mcf_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0003
  Setting up 520.omnetpp_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0003
  Setting up 523.xalancbmk_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0003
  Setting up 525.x264_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0003
  Setting up 531.deepsjeng_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0003
  Setting up 541.leela_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0003
  Setting up 548.exchange2_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0003
  Setting up 557.xz_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0003
  Setting up 999.specrand_ir refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0003
Running Benchmarks
  Running 500.perlbench_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 10:19:34]
  Running 502.gcc_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 10:25:11]
  Running 505.mcf_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 10:29:00]
  Running 520.omnetpp_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 10:34:29]
  Running 523.xalancbmk_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 10:40:43]
  Running 525.x264_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 10:45:30]
  Running 531.deepsjeng_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 10:47:59]
  Running 541.leela_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 10:52:22]
  Running 548.exchange2_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 10:58:48]
  Running 557.xz_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 11:03:42]
  Running 999.specrand_ir refrate (ref) base mytest-m64 (1 copy) [2023-08-04 11:09:24]
Success: 1x500.perlbench_r 1x502.gcc_r 1x505.mcf_r 1x520.omnetpp_r 1x523.xalancbmk_r 1x525.x264_r 1x531.deepsjeng_r 1x541.leela_r 1x548.exchange2_r 1x557.xz_r 1x999.specrand_ir
Producing Raw Reports
 label: mytest-m64
  workload: refrate (ref)
   metric: SPECrate2017_int_base
    format: raw -> /opt/cpu2017/result/CPU2017.001.intrate.refrate.rsf
Parsing flags for 500.perlbench_r base: done
Parsing flags for 502.gcc_r base: done
Parsing flags for 505.mcf_r base: done
Parsing flags for 520.omnetpp_r base: done
Parsing flags for 523.xalancbmk_r base: done
Parsing flags for 525.x264_r base: done
Parsing flags for 531.deepsjeng_r base: done
Parsing flags for 541.leela_r base: done
Parsing flags for 548.exchange2_r base: done
Parsing flags for 557.xz_r base: done
Doing flag reduction: done
    format: flags -> /opt/cpu2017/result/CPU2017.001.intrate.refrate.flags.html
    format: cfg -> /opt/cpu2017/result/CPU2017.001.intrate.refrate.cfg, /opt/cpu2017/result/CPU2017.001.intrate.refrate.orig.cfg
    format: CSV -> /opt/cpu2017/result/CPU2017.001.intrate.refrate.csv
    format: PDF -> 
A line in your Compiler Version Notes section is too long!

/opt/cpu2017/result/CPU2017.001.intrate.refrate.pdf
    format: HTML -> /opt/cpu2017/result/CPU2017.001.intrate.refrate.html, /opt/cpu2017/result/invalid.gif
    format: Text -> /opt/cpu2017/result/CPU2017.001.intrate.refrate.txt
-------------------------------------------------------------------------------

Setting up environment for running fprate...
Starting runcpu for fprate...
Running "specperl /opt/cpu2017/bin/sysinfo" to gather system information.
sysinfo: r5974 of 2018-05-19 (9bcde8f2999c33d61f64985e45859ea9)
sysinfo: Getting system information for Linux...
sysinfo: ...getting CPU info
sysinfo: ...getting info from numactl
sysinfo: ...getting memory info
sysinfo: ...getting OS info
sysinfo: ...getting CPU vulnerability status from the kernel
sysinfo: ...getting disk info
sysinfo: ...trying to get DIMM info from dmidecode
Retrieving flags file (/opt/cpu2017/config/flags/gcc.xml)...
Benchmarks selected: 503.bwaves_r, 507.cactuBSSN_r, 508.namd_r, 510.parest_r, 511.povray_r, 519.lbm_r, 521.wrf_r, 526.blender_r, 527.cam4_r, 538.imagick_r, 544.nab_r, 549.fotonik3d_r, 554.roms_r, 997.specrand_fr
Compiling Binaries
  Up to date 503.bwaves_r base mytest-m64
  Up to date 507.cactuBSSN_r base mytest-m64
  Up to date 508.namd_r base mytest-m64
  Up to date 510.parest_r base mytest-m64
  Up to date 511.povray_r base mytest-m64
  Up to date 519.lbm_r base mytest-m64
  Up to date 521.wrf_r base mytest-m64
  Up to date 526.blender_r base mytest-m64
  Up to date 527.cam4_r base mytest-m64
  Up to date 538.imagick_r base mytest-m64
  Up to date 544.nab_r base mytest-m64
  Up to date 549.fotonik3d_r base mytest-m64
  Up to date 554.roms_r base mytest-m64
  Up to date 997.specrand_fr base mytest-m64


Setting Up Run Directories
  Setting up 503.bwaves_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0005
  Setting up 507.cactuBSSN_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0005
  Setting up 508.namd_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0005
  Setting up 510.parest_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0005
  Setting up 511.povray_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0005
  Setting up 519.lbm_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0005
  Setting up 521.wrf_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0005
  Setting up 526.blender_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0005
  Setting up 527.cam4_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0005
  Setting up 538.imagick_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0005
  Setting up 544.nab_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0005
  Setting up 549.fotonik3d_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0005
  Setting up 554.roms_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0005
  Setting up 997.specrand_fr refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0005
Running Benchmarks
  Running 503.bwaves_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 11:09:45]
  Running 507.cactuBSSN_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 11:16:33]
  Running 508.namd_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 11:20:08]
  Running 510.parest_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 11:23:14]
  Running 511.povray_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 11:30:10]
  Running 519.lbm_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 11:35:39]
  Running 521.wrf_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 11:38:51]
  Running 526.blender_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 11:43:36]
  Running 527.cam4_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 11:47:35]
  Running 538.imagick_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 11:50:52]
  Running 544.nab_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 11:56:55]
  Running 549.fotonik3d_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 12:00:57]
  Running 554.roms_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 12:05:34]
  Running 997.specrand_fr refrate (ref) base mytest-m64 (1 copy) [2023-08-04 12:08:36]
Success: 1x503.bwaves_r 1x507.cactuBSSN_r 1x508.namd_r 1x510.parest_r 1x511.povray_r 1x519.lbm_r 1x521.wrf_r 1x526.blender_r 1x527.cam4_r 1x538.imagick_r 1x544.nab_r 1x549.fotonik3d_r 1x554.roms_r 1x997.specrand_fr
Producing Raw Reports
 label: mytest-m64
  workload: refrate (ref)
   metric: SPECrate2017_fp_base
    format: raw -> /opt/cpu2017/result/CPU2017.001.fprate.refrate.rsf
Parsing flags for 503.bwaves_r base: done
Parsing flags for 507.cactuBSSN_r base: done
Parsing flags for 508.namd_r base: done
Parsing flags for 510.parest_r base: done
Parsing flags for 511.povray_r base: done
Parsing flags for 519.lbm_r base: done
Parsing flags for 521.wrf_r base: done
Parsing flags for 526.blender_r base: done
Parsing flags for 527.cam4_r base: done
Parsing flags for 538.imagick_r base: done
Parsing flags for 544.nab_r base: done
Parsing flags for 549.fotonik3d_r base: done
Parsing flags for 554.roms_r base: done
Doing flag reduction: done
    format: flags -> /opt/cpu2017/result/CPU2017.001.fprate.refrate.flags.html
    format: cfg -> /opt/cpu2017/result/CPU2017.001.fprate.refrate.cfg, /opt/cpu2017/result/CPU2017.001.fprate.refrate.orig.cfg
    format: CSV -> /opt/cpu2017/result/CPU2017.001.fprate.refrate.csv
    format: PDF -> 
A line in your Compiler Version Notes section is too long!

A line in your Compiler Version Notes section is too long!
A line in your Compiler Version Notes section is too long!

/opt/cpu2017/result/CPU2017.001.fprate.refrate.pdf
    format: HTML -> /opt/cpu2017/result/CPU2017.001.fprate.refrate.html
    format: Text -> /opt/cpu2017/result/CPU2017.001.fprate.refrate.txt
The log for this run is in /opt/cpu2017/result/CPU2017.001.log

runcpu finished at 2023-08-04 12:08:53; 6591 total seconds elapsed
  Running 507.cactuBSSN_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 10:24:12]
  Running 508.namd_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 10:27:31]
  Running 510.parest_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 10:30:42]
  Running 511.povray_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 10:38:37]
  Running 519.lbm_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 10:44:21]
  Running 521.wrf_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 10:47:40]
  Running 526.blender_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 10:52:30]
  Running 527.cam4_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 10:56:36]
  Running 538.imagick_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 10:59:55]
  Running 544.nab_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 11:06:04]
  Running 549.fotonik3d_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 11:10:11]
  Running 554.roms_r refrate (ref) base mytest-m64 (1 copy) [2023-08-04 11:16:29]
  Running 997.specrand_fr refrate (ref) base mytest-m64 (1 copy) [2023-08-04 11:19:53]
Success: 1x503.bwaves_r 1x507.cactuBSSN_r 1x508.namd_r 1x510.parest_r 1x511.povray_r 1x519.lbm_r 1x521.wrf_r 1x526.blender_r 1x527.cam4_r 1x538.imagick_r 1x544.nab_r 1x549.fotonik3d_r 1x554.roms_r 1x997.specrand_fr
Producing Raw Reports
 label: mytest-m64
  workload: refrate (ref)
   metric: SPECrate2017_fp_base
    format: raw -> /opt/cpu2017/result/CPU2017.030.fprate.refrate.rsf
Parsing flags for 503.bwaves_r base: done
Parsing flags for 507.cactuBSSN_r base: done
Parsing flags for 508.namd_r base: done
Parsing flags for 510.parest_r base: done
Parsing flags for 511.povray_r base: done
Parsing flags for 519.lbm_r base: done
Parsing flags for 521.wrf_r base: done
Parsing flags for 526.blender_r base: done
Parsing flags for 527.cam4_r base: done
Parsing flags for 538.imagick_r base: done
Parsing flags for 544.nab_r base: done
Parsing flags for 549.fotonik3d_r base: done
Parsing flags for 554.roms_r base: done
Doing flag reduction: done
    format: flags -> /opt/cpu2017/result/CPU2017.030.fprate.refrate.flags.html
    format: cfg -> /opt/cpu2017/result/CPU2017.030.fprate.refrate.cfg, /opt/cpu2017/result/CPU2017.030.fprate.refrate.orig.cfg
    format: CSV -> /opt/cpu2017/result/CPU2017.030.fprate.refrate.csv
    format: PDF -> 
A line in your Compiler Version Notes section is too long!
A line in your Compiler Version Notes section is too long!

A line in your Compiler Version Notes section is too long!

/opt/cpu2017/result/CPU2017.030.fprate.refrate.pdf
    format: HTML -> /opt/cpu2017/result/CPU2017.030.fprate.refrate.html
    format: Text -> /opt/cpu2017/result/CPU2017.030.fprate.refrate.txt
The log for this run is in /opt/cpu2017/result/CPU2017.030.log

runcpu finished at 2023-08-04 11:20:11; 6576 total seconds elapsed

成绩

 

 

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐