SPEC CPU 2017 Ubuntu 20.04 LTS cpu2017-1_0_5.iso 安装、测试 单核成绩 笔记

news2024/12/28 5:42:46

环境

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.4.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04) 
$ lscpu
架构:                           x86_64
CPU 运行模式:                   32-bit, 64-bit
字节序:                         Little Endian
Address sizes:                   39 bits physical, 48 bits virtual
CPU:                             6
在线 CPU 列表:                  0-5
每个核的线程数:                 1
每个座的核数:                   6
座:                             1
NUMA 节点:                      1
厂商 ID:                        GenuineIntel
CPU 系列:                       6
型号:                           158
型号名称:                       Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz
步进:                           13
CPU MHz:                        800.010
CPU 最大 MHz:                   4600.0000
CPU 最小 MHz:                   800.0000
BogoMIPS:                       7399.70
虚拟化:                         VT-x
L1d 缓存:                       192 KiB
L1i 缓存:                       192 KiB
L2 缓存:                        1.5 MiB
L3 缓存:                        9 MiB
NUMA 节点0 CPU:                 0-5
Vulnerability Itlb multihit:     KVM: Mitigation: Split huge pages
Vulnerability L1tf:              Not affected
Vulnerability Mds:               Not affected
Vulnerability Meltdown:          Not affected
Vulnerability Mmio stale data:   Mitigation; Clear CPU buffers; SMT disabled
Vulnerability Retbleed:          Mitigation; Enhanced IBRS
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:        Mitigation; Enhanced IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS SW sequence
Vulnerability Srbds:             Mitigation; Microcode
Vulnerability Tsx async abort:   Mitigation; TSX disabled
标记:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf 
                                 pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single ssbd ibrs ibpb stibp i
                                 brs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_e
                                 pp md_clear flush_l1d arch_capabilities

依赖

sudo apt install gfortran

安装SPEC CPU 2017

sudo mkdir /mnt/cpu2017
sudo mount cpu2017-1_0_5.iso /mnt/cpu2017/
cd /mnt/cpu2017/
bash install.sh -d /home/speccpu/cpu2017

安装日志

SPEC CPU2017 Installation

Top of the CPU2017 tree is '/mnt/cpu2017'

Installing FROM /mnt/cpu2017
Installing TO /home/speccpu/cpu2017

Is this correct? (Please enter 'yes' or 'no') 
yes

The following toolset is expected to work on your platform.  If the
automatically installed one does not work, please re-run install.sh and
exclude that toolset using the '-e' switch.

The toolset selected will not affect your benchmark scores.

linux-x86_64                  For x86_64 Linux systems
                              Built on Oracle Linux 6.0 with
                              GCC v4.4.4 20100726 (Red Hat 4.4.4-13)



=================================================================
Attempting to install the linux-x86_64 toolset...


Unpacking CPU2017 base files (44 MB)
Unpacking CPU2017 tools binary files (150.2 MB)
Unpacking 500.perlbench_r benchmark and data files (102 MB)
Unpacking 502.gcc_r benchmark and data files (240.3 MB)
Unpacking 503.bwaves_r benchmark and data files (0.2 MB)
Unpacking 505.mcf_r benchmark and data files (8.5 MB)
Unpacking 507.cactuBSSN_r benchmark and data files (12.5 MB)
Unpacking 508.namd_r benchmark and data files (8.3 MB)
Unpacking 510.parest_r benchmark and data files (25.6 MB)
Unpacking 511.povray_r benchmark and data files (23.3 MB)
Unpacking 519.lbm_r benchmark and data files (4.3 MB)
Unpacking 520.omnetpp_r benchmark and data files (56.6 MB)
Unpacking 521.wrf_r benchmark and data files (217.2 MB)
Unpacking 523.xalancbmk_r benchmark and data files (212 MB)
Unpacking 525.x264_r benchmark and data files (57.9 MB)
Unpacking 526.blender_r benchmark and data files (215.7 MB)
Unpacking 527.cam4_r benchmark and data files (348.6 MB)
Unpacking 531.deepsjeng_r benchmark and data files (0.5 MB)
Unpacking 538.imagick_r benchmark and data files (80.7 MB)
Unpacking 541.leela_r benchmark and data files (3.8 MB)
Unpacking 544.nab_r benchmark and data files (38.6 MB)
Unpacking 548.exchange2_r benchmark and data files (0.1 MB)
Unpacking 549.fotonik3d_r benchmark and data files (5.2 MB)
Unpacking 554.roms_r benchmark and data files (11.4 MB)
Unpacking 557.xz_r benchmark and data files (104.1 MB)
Unpacking 600.perlbench_s benchmark and data files (3.1 MB)
Unpacking 602.gcc_s benchmark and data files (0.9 MB)
Unpacking 603.bwaves_s benchmark and data files (0 MB)
Unpacking 605.mcf_s benchmark and data files (0.1 MB)
Unpacking 607.cactuBSSN_s benchmark and data files (0.1 MB)
Unpacking 619.lbm_s benchmark and data files (30.4 MB)
Unpacking 620.omnetpp_s benchmark and data files (0.1 MB)
Unpacking 621.wrf_s benchmark and data files (0.3 MB)
Unpacking 623.xalancbmk_s benchmark and data files (0.1 MB)
Unpacking 625.x264_s benchmark and data files (0.2 MB)
Unpacking 627.cam4_s benchmark and data files (0.5 MB)
Unpacking 628.pop2_s benchmark and data files (283.8 MB)
Unpacking 631.deepsjeng_s benchmark and data files (0.2 MB)
Unpacking 638.imagick_s benchmark and data files (0.3 MB)
Unpacking 641.leela_s benchmark and data files (0 MB)
Unpacking 644.nab_s benchmark and data files (0.1 MB)
Unpacking 648.exchange2_s benchmark and data files (0 MB)
Unpacking 649.fotonik3d_s benchmark and data files (0.1 MB)
Unpacking 654.roms_s benchmark and data files (1.1 MB)
Unpacking 657.xz_s benchmark and data files (0.2 MB)
Unpacking 996.specrand_fs benchmark and data files (0 MB)
Unpacking 997.specrand_fr benchmark and data files (0 MB)
Unpacking 998.specrand_is benchmark and data files (0 MB)
Unpacking 999.specrand_ir benchmark and data files (6.4 MB)

Checking the integrity of your source tree...

Checksums are all okay.

Unpacking binary tools for linux-x86_64...

Checking the integrity of your binary tools...

Checksums are all okay.

Testing the tools installation (this may take a minute)

...................................................................................................................................................................................................................................................................................................................-.......

Installation successful.  Source the shrc or cshrc in
/home/speccpu/cpu2017
to set up your environment for the benchmark.

配置

gcc.cfg

cd /home/speccpu/cpu2017/config/
cp Example-gcc-linux-x86.cfg gcc.cfg

配置gcc路径

*** Example-gcc-linux-x86.cfg	2021-12-16 19:24:09.000000000 +0800
--- gcc.cfg	2023-07-05 11:49:55.369840502 +0800
*************** default:
*** 151,157 ****
  #      WARNING: See section "Older GCC" above.
  #
  %ifndef %{gcc_dir}
! %   define  gcc_dir        "/opt/rh/devtoolset-9/root/usr"  # EDIT (see above)
  %endif
  
  # EDIT: If your compiler version is 10 or greater, you must enable the next 
--- 151,157 ----
  #      WARNING: See section "Older GCC" above.
  #
  %ifndef %{gcc_dir}
! %   define  gcc_dir        "/usr"  # EDIT (see above)
  %endif
  
  # EDIT: If your compiler version is 10 or greater, you must enable the next 
*************** default:               # data model appl
*** 254,280 ****
     511.povray_r=peak:                       # https://www.spec.org/cpu2017/Docs/benchmarks/511.povray_r.html
        EXTRA_CFLAGS = -fno-strict-aliasing 
     521.wrf_r,621.wrf_s=peak:                # https://www.spec.org/cpu2017/Docs/benchmarks/521.wrf_r.html
! %     ifdef %{GCCge10}                      # workaround for GCC v10 (and presumably later)
!          EXTRA_FFLAGS = -fallow-argument-mismatch
! %     endif
     527.cam4_r,627.cam4_s=peak:              # https://www.spec.org/cpu2017/Docs/benchmarks/527.cam4_r.html
        EXTRA_CFLAGS = -fno-strict-aliasing 
! %     ifdef %{GCCge10}                      # workaround for GCC v10 (and presumably later)
!          EXTRA_FFLAGS = -fallow-argument-mismatch
! %     endif
     # See also topic "628.pop2_s basepeak" below
     628.pop2_s=peak:                         # https://www.spec.org/cpu2017/Docs/benchmarks/628.pop2_s.html
! %     ifdef %{GCCge10}                      # workaround for GCC v10 (and presumably later)
!          EXTRA_FFLAGS = -fallow-argument-mismatch
! %     endif
  #
  # FP workarounds - base - combine the above - https://www.spec.org/cpu2017/Docs/runrules.html#BaseFlags
  #
     fprate,fpspeed=base:    
        EXTRA_CFLAGS = -fno-strict-aliasing 
! %     ifdef %{GCCge10}                      # workaround for GCC v10 (and presumably later)
!          EXTRA_FFLAGS = -fallow-argument-mismatch
! %     endif
  
  
  #-------- Tuning Flags common to Base and Peak --------------------------------
--- 254,275 ----
     511.povray_r=peak:                       # https://www.spec.org/cpu2017/Docs/benchmarks/511.povray_r.html
        EXTRA_CFLAGS = -fno-strict-aliasing 
     521.wrf_r,621.wrf_s=peak:                # https://www.spec.org/cpu2017/Docs/benchmarks/521.wrf_r.html
!       EXTRA_FFLAGS = -fallow-argument-mismatch
     527.cam4_r,627.cam4_s=peak:              # https://www.spec.org/cpu2017/Docs/benchmarks/527.cam4_r.html
        EXTRA_CFLAGS = -fno-strict-aliasing 
!       EXTRA_FFLAGS = -fallow-argument-mismatch
! 
     # See also topic "628.pop2_s basepeak" below
     628.pop2_s=peak:                         # https://www.spec.org/cpu2017/Docs/benchmarks/628.pop2_s.html
!       EXTRA_FFLAGS = -fallow-argument-mismatch
! 
  #
  # FP workarounds - base - combine the above - https://www.spec.org/cpu2017/Docs/runrules.html#BaseFlags
  #
     fprate,fpspeed=base:    
        EXTRA_CFLAGS = -fno-strict-aliasing 
!       EXTRA_FFLAGS = -fallow-argument-mismatch
! 

gcc.xml

直接使用config/flags/gcc.xml

在线更新 SPEC CPU 2017

source shrc
runcpu --update

日志

(base) yeqiang@yeqiang-MS-7B23:/home/speccpu/cpu2017$ runcpu --update
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 (402042 files/s)
Loading runcpu modules.................
Locating benchmarks...found 47 benchmarks in 53 benchsets.

CPU2017 update mode selected
Downloading update information...

Selected update:
	From v1.0.5 to v1.1.9
	Update size: 35 MB

Downloading update metadata: 6745 B (18 KB/s)
Update metadata parsed successfully.

Update summary:
	Files to remove: 21
	Directories to remove: 0
	Files to change: 584
	Files to add: 101
Update metadata downloaded and verified.

Checking files that will be changed or removed by the update...
Checks completed.
Update: Downloading update: 35 MB/35 MB (100%; 1982 KB/s))
Update downloaded and verified.

Uncompressing update file

Proceed with update? (y/n)
y

Suite update successful!

There is no log file for this run.

runcpu finished at 2023-07-03 14:55:49; 80 total seconds elapsed

测试

单核整形、浮点

cd /home/speccpu/cpu2017
source shrc
runcpu -c gcc.cfg -T base -s -F config/flags/gcc.xml -n 3 -C 0 -i ref intrate fprate

日志

yeqiang@yeqiang-MS-7B23:/home/speccpu/cpu2017$ runcpu -c gcc.cfg -T base -s -F config/flags/gcc.xml -n 3 -C 0 -i ref intrate fprate
SPEC CPU(r) 2017 Benchmark Suites
Copyright 1995-2019 Standard Performance Evaluation Corporation (SPEC)

runcpu v6612
Using 'linux-x86_64' tools
Reading file manifests... read 32225 entries from 2 files in 0.12s (261611 files/s)
Loading runcpu modules.................
Locating benchmarks...found 47 benchmarks in 73 benchsets.
Reading config file '/home/speccpu/cpu2017/config/gcc.cfg'
2 configurations selected:

 Action    Run Mode   Workload     Report Type      Benchmarks
--------   --------   --------   ----------------   ---------------------------
validate   rate       refrate    SPECrate2017_int   intrate                    
validate   rate       refrate    SPECrate2017_fp    fprate                     
Downloading update information for version check...
OK
	Version 1.1.9 of CPU2017 is the latest available.

Reportable runs must include a 'test' run; adding to run list
Reportable runs must include a 'train' run; adding to run list
Reportable runs must include a 'test' run; adding to run list
Reportable runs must include a 'train' run; adding to run list
-------------------------------------------------------------------------------

Setting up environment for running intrate...
Starting runcpu for intrate...
Running "specperl /home/speccpu/cpu2017/bin/sysinfo" to gather system information.
sysinfo: r6732 of 2022-11-07 (fe91c89b7ed5c36ae2c92cc097bec197)
sysinfo: ...getting basic information about kernel, users, and limits
sysinfo: Getting system information for Linux...
sysinfo: ...getting CPU info
sysinfo: ...getting info from numactl
sysinfo: ...getting memory info
sysinfo: ...getting info from systemd
sysinfo: ...getting power info
sysinfo: ...getting system tuning info
sysinfo: ...getting OS info
sysinfo: ...getting disk info
sysinfo: ...getting info from /sys/devices/virtual/dmi/id
sysinfo: ...getting info from dmidecode
Retrieving flags file (config/flags/gcc.xml)...
Reportable runs must include a 'test' run; adding to run list
Reportable runs must include a 'train' run; adding to run list
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
Notice: Errors may not be ignored for reportable runs.
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 test base mytest-m64 (1 copy): run_base_test_mytest-m64.0000
  Setting up 502.gcc_r test base mytest-m64 (1 copy): run_base_test_mytest-m64.0000
  Setting up 505.mcf_r test base mytest-m64 (1 copy): run_base_test_mytest-m64.0000
  Setting up 520.omnetpp_r test base mytest-m64 (1 copy): run_base_test_mytest-m64.0000
  Setting up 523.xalancbmk_r test base mytest-m64 (1 copy): run_base_test_mytest-m64.0000
  Setting up 525.x264_r test base mytest-m64 (1 copy): run_base_test_mytest-m64.0000
  Setting up 531.deepsjeng_r test base mytest-m64 (1 copy): run_base_test_mytest-m64.0000
  Setting up 541.leela_r test base mytest-m64 (1 copy): run_base_test_mytest-m64.0000
  Setting up 548.exchange2_r test base mytest-m64 (1 copy): run_base_test_mytest-m64.0000
  Setting up 557.xz_r test base mytest-m64 (1 copy): run_base_test_mytest-m64.0000
  Setting up 999.specrand_ir test base mytest-m64 (1 copy): run_base_test_mytest-m64.0000
Running Benchmarks
  Running 500.perlbench_r test base mytest-m64 (1 copy) [2023-07-05 08:29:29]
  Running 502.gcc_r test base mytest-m64 (1 copy) [2023-07-05 08:29:53]
  Running 505.mcf_r test base mytest-m64 (1 copy) [2023-07-05 08:29:53]
  Running 520.omnetpp_r test base mytest-m64 (1 copy) [2023-07-05 08:30:02]
  Running 523.xalancbmk_r test base mytest-m64 (1 copy) [2023-07-05 08:30:08]
  Running 525.x264_r test base mytest-m64 (1 copy) [2023-07-05 08:30:09]
  Running 531.deepsjeng_r test base mytest-m64 (1 copy) [2023-07-05 08:30:28]
  Running 541.leela_r test base mytest-m64 (1 copy) [2023-07-05 08:30:34]
  Running 548.exchange2_r test base mytest-m64 (1 copy) [2023-07-05 08:30:38]
  Running 557.xz_r test base mytest-m64 (1 copy) [2023-07-05 08:30:46]
  Running 999.specrand_ir test base mytest-m64 (1 copy) [2023-07-05 08:30:56]
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
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
Notice: Errors may not be ignored for reportable runs.
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 train base mytest-m64 (1 copy): run_base_train_mytest-m64.0000
  Setting up 502.gcc_r train base mytest-m64 (1 copy): run_base_train_mytest-m64.0000
  Setting up 505.mcf_r train base mytest-m64 (1 copy): run_base_train_mytest-m64.0000
  Setting up 520.omnetpp_r train base mytest-m64 (1 copy): run_base_train_mytest-m64.0000
  Setting up 523.xalancbmk_r train base mytest-m64 (1 copy): run_base_train_mytest-m64.0000
  Setting up 525.x264_r train base mytest-m64 (1 copy): run_base_train_mytest-m64.0000
  Setting up 531.deepsjeng_r train base mytest-m64 (1 copy): run_base_train_mytest-m64.0000
  Setting up 541.leela_r train base mytest-m64 (1 copy): run_base_train_mytest-m64.0000
  Setting up 548.exchange2_r train base mytest-m64 (1 copy): run_base_train_mytest-m64.0000
  Setting up 557.xz_r train base mytest-m64 (1 copy): run_base_train_mytest-m64.0000
  Setting up 999.specrand_ir train base mytest-m64 (1 copy): run_base_train_mytest-m64.0000
Running Benchmarks
  Running 500.perlbench_r train base mytest-m64 (1 copy) [2023-07-05 08:31:40]
  Running 502.gcc_r train base mytest-m64 (1 copy) [2023-07-05 08:31:59]
  Running 505.mcf_r train base mytest-m64 (1 copy) [2023-07-05 08:32:32]
  Running 520.omnetpp_r train base mytest-m64 (1 copy) [2023-07-05 08:33:17]
  Running 523.xalancbmk_r train base mytest-m64 (1 copy) [2023-07-05 08:34:02]
  Running 525.x264_r train base mytest-m64 (1 copy) [2023-07-05 08:34:31]
  Running 531.deepsjeng_r train base mytest-m64 (1 copy) [2023-07-05 08:34:46]
  Running 541.leela_r train base mytest-m64 (1 copy) [2023-07-05 08:35:28]
  Running 548.exchange2_r train base mytest-m64 (1 copy) [2023-07-05 08:36:31]
  Running 557.xz_r train base mytest-m64 (1 copy) [2023-07-05 08:36:54]
  Running 999.specrand_ir train base mytest-m64 (1 copy) [2023-07-05 08:37:21]
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
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
Notice: Errors may not be ignored for reportable runs.
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.0002
  Setting up 502.gcc_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0002
  Setting up 505.mcf_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0002
  Setting up 520.omnetpp_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0002
  Setting up 523.xalancbmk_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0002
  Setting up 525.x264_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0002
  Setting up 531.deepsjeng_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0002
  Setting up 541.leela_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0002
  Setting up 548.exchange2_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0002
  Setting up 557.xz_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0002
  Setting up 999.specrand_ir refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0002
Running Benchmarks
  Running (#1) 500.perlbench_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 08:37:52]
  Running (#1) 502.gcc_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 08:42:09]
  Running (#1) 505.mcf_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 08:45:20]
  Running (#1) 520.omnetpp_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 08:50:01]
  Running (#1) 523.xalancbmk_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 08:55:49]
  Running (#1) 525.x264_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 09:00:10]
  Running (#1) 531.deepsjeng_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 09:02:45]
  Running (#1) 541.leela_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 09:06:44]
  Running (#1) 548.exchange2_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 09:13:04]
  Running (#1) 557.xz_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 09:17:43]
  Running (#1) 999.specrand_ir refrate (ref) base mytest-m64 (1 copy) [2023-07-05 09:22:50]
  Running (#2) 500.perlbench_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 09:22:51]
  Running (#2) 502.gcc_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 09:27:11]
  Running (#2) 505.mcf_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 09:30:21]
  Running (#2) 520.omnetpp_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 09:35:03]
  Running (#2) 523.xalancbmk_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 09:40:48]
  Running (#2) 525.x264_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 09:45:03]
  Running (#2) 531.deepsjeng_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 09:47:37]
  Running (#2) 541.leela_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 09:51:35]
  Running (#2) 548.exchange2_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 09:57:55]
  Running (#2) 557.xz_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 10:02:31]
  Running (#2) 999.specrand_ir refrate (ref) base mytest-m64 (1 copy) [2023-07-05 10:07:33]
  Running (#3) 500.perlbench_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 10:07:34]
  Running (#3) 502.gcc_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 10:11:51]
  Running (#3) 505.mcf_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 10:15:00]
  Running (#3) 520.omnetpp_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 10:19:41]
  Running (#3) 523.xalancbmk_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 10:25:31]
  Running (#3) 525.x264_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 10:29:56]
  Running (#3) 531.deepsjeng_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 10:32:34]
  Running (#3) 541.leela_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 10:36:49]
  Running (#3) 548.exchange2_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 10:43:28]
  Running (#3) 557.xz_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 10:48:13]
  Running (#3) 999.specrand_ir refrate (ref) base mytest-m64 (1 copy) [2023-07-05 10:53:39]
Success: 3x500.perlbench_r 3x502.gcc_r 3x505.mcf_r 3x520.omnetpp_r 3x523.xalancbmk_r 3x525.x264_r 3x531.deepsjeng_r 3x541.leela_r 3x548.exchange2_r 3x557.xz_r 3x999.specrand_ir
Producing Raw Reports
 label: mytest-m64
  workload: refrate (ref)
   metric: SPECrate2017_int_base
    format: raw -> /home/speccpu/cpu2017/result/CPU2017.007.intrate.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 -> /home/speccpu/cpu2017/result/CPU2017.007.intrate.flags.html
    format: cfg -> /home/speccpu/cpu2017/result/CPU2017.007.intrate.cfg, /home/speccpu/cpu2017/result/CPU2017.007.intrate.orig.cfg
    format: CSV -> /home/speccpu/cpu2017/result/CPU2017.007.intrate.csv
    format: PDF -> /home/speccpu/cpu2017/result/CPU2017.007.intrate.pdf
    format: HTML -> /home/speccpu/cpu2017/result/CPU2017.007.intrate.html
    format: Text -> /home/speccpu/cpu2017/result/CPU2017.007.intrate.txt
    format: Reportable Check -> FAILED.  Found the following errors:
                 - The fw_bios field must include this phrase:
                      "Version <id> released MMM-YYYY"
                   where: 
                      "Version" (or "version") is literal text.
                      "<id>" is the version identifier string as seen by customers.
                              The <id> may include multiple words and/or punctuation.
                      "released" (or "Released") is literal text.
                      "MMM" is the three-letter English month abbreviation.
                      "YYYY" is the full four digit year.
                   No value for fw_bios was specified.
                 
                 
                 - The "hw_avail" field is invalid.
                     It must be MMM-YYYY, where YYYY is the full four digit
                     year, and MMM is the three-letter English month abbreviation.
                 
                 - The "hw_cpu_max_mhz" field is invalid.
                     It must be entirely numeric.
                    The current value is "".
                 
                 - The "hw_cpu_nominal_mhz" field is invalid.
                     It must be entirely numeric.
                    The current value is "".
                 
                 - Fractional memory size in the "hw_memory000" field.
                    "31.275 GB" should be changed to "32025 MB"
                 
                 - The hw_model field must not be empty.
                 
                 - The "hw_ncores" field is invalid.
                     It must be entirely numeric.
                    The current value is "".
                 
                 - The "hw_ncpuorder" field is invalid.
                     The value must contain a number, list of
                     numbers, or range of numbers, followed by a unit.
                    The current value is "".
                 
                 - The "hw_nthreadspercore" field is invalid.
                     It must be entirely numeric.
                    The current value is "".
                 
                 - The other cache description (hw_ocache) is not in the required format.
                     It must either be set to "None" or conform to the
                     following format (in-line spaces are literal):
                        <digits> <unit> I+D <on|off> chip per <whatever>
                     for a unified cache, or
                        <digits> <unit> I + <digits> <unit> D <on|off> chip per <whatever>
                     or
                        <digits> <unit> I <on|off> chip per <whatever>[optional text]; <digits> <unit> D <on|off> chip per <whatever>[optional text]
                     for split caches.
                     Acceptable values for <unit> are KB, MB, GB, or TB.
                   No value for hw_ocache was specified.
                 
                 
                 - The "hw_other" field is invalid.
                     The value must be non-blank.  If you are not using
                     any other hardware relevant to SPEC CPU performance,
                     you can say "None" here.
                 
                 - The primary cache description (hw_pcache) is not in the required format.
                     It must either be set to "None" or conform to the
                     following format (in-line spaces are literal):
                        <digits> <unit> I+D <on|off> chip per <chip|core>
                     for a unified cache, or
                        <digits> <unit> I + <digits> <unit> D <on|off> chip per <chip|core>
                     or
                        <digits> <unit> I <on|off> chip per <whatever>[optional text]; <digits> <unit> D <on|off> chip per <whatever>[optional text]
                     for split caches.
                     Acceptable values for <unit> are KB, MB, GB, TB,
                     or "<prefix> micro-ops", and [] indicates optional content.
                   No value for hw_pcache was specified.
                 
                 
                 - The secondary cache description (hw_scache) is not in the required format.
                     It must either be set to "None" or conform to the
                     following format (in-line spaces are literal):
                        <digits> <unit> I+D <on|off> chip per <whatever>
                     for a unified cache, or
                        <digits> <unit> I + <digits> <unit> D <on|off> chip per <whatever>
                     or
                        <digits> <unit> I <on|off> chip per <whatever>[optional text]; <digits> <unit> D <on|off> chip per <whatever>[optional text]
                     for split caches.
                     Acceptable values for <unit> are KB, MB, GB, or TB.
                   No value for hw_scache was specified.
                 
                 
                 - The tertiary cache description (hw_tcache) is not in the required format.
                     It must either be set to "None" or conform to the
                     following format (in-line spaces are literal):
                        <digits> <unit> I+D <on|off> chip per <whatever>
                     for a unified cache, or
                        <digits> <unit> I + <digits> <unit> D <on|off> chip per <whatever>
                     or
                        <digits> <unit> I <on|off> chip per <whatever>[optional text]; <digits> <unit> D <on|off> chip per <whatever>[optional text]
                     for split caches.
                     Acceptable values for <unit> are KB, MB, GB, or TB.
                   No value for hw_tcache was specified.
                 
                 
                 - The "license_num" field is invalid.
                     It must be numeric, with or without a leading or trailing "A".
                    The current value is "nnn (Your SPEC license number)".
                 
                 - The "notes_*.*?_*" field (any field matching "notes_*.*?_*\d+") is missing.
                 
                  
                 
                 - The "power_management" field is invalid.
                     This field is used to briefly summarize any non-default settings for
                     power management, whether set in BIOS, firmware, operating system, or
                     elsewhere.
                     Details of the settings are in the power notes section of the result.
                 
                 - The "sw_avail" field is invalid.
                     It must be MMM-YYYY, where YYYY is the full four digit
                     year, and MMM is the three-letter English month abbreviation.
                 
                 - The "sw_other" field is invalid.
                     The value must be non-blank and may not begin with "--".
                     If you are not using any other software relevant to SPEC
                     CPU performance, you must say "None" here.
                 

-------------------------------------------------------------------------------

Setting up environment for running fprate...
Starting runcpu for fprate...
Running "specperl /home/speccpu/cpu2017/bin/sysinfo" to gather system information.
sysinfo: r6732 of 2022-11-07 (fe91c89b7ed5c36ae2c92cc097bec197)
sysinfo: ...getting basic information about kernel, users, and limits
sysinfo: Getting system information for Linux...
sysinfo: ...getting CPU info
sysinfo: ...getting info from numactl
sysinfo: ...getting memory info
sysinfo: ...getting info from systemd
sysinfo: ...getting power info
sysinfo: ...getting system tuning info
sysinfo: ...getting OS info
sysinfo: ...getting disk info
sysinfo: ...getting info from /sys/devices/virtual/dmi/id
sysinfo: ...getting info from dmidecode
Retrieving flags file (config/flags/gcc.xml)...
Reportable runs must include a 'test' run; adding to run list
Reportable runs must include a 'train' run; adding to run list
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
Notice: Errors may not be ignored for reportable runs.
Compiling Binaries
  Building 503.bwaves_r base mytest-m64: (build_base_mytest-m64.0000) [2023-07-05 10:53:50]
  Building 507.cactuBSSN_r base mytest-m64: (build_base_mytest-m64.0000) [2023-07-05 10:53:52]
  Building 508.namd_r base mytest-m64: (build_base_mytest-m64.0000) [2023-07-05 10:54:25]
  Building 510.parest_r base mytest-m64: (build_base_mytest-m64.0000) [2023-07-05 10:54:36]
  Building 511.povray_r base mytest-m64: (build_base_mytest-m64.0000) [2023-07-05 10:56:19]
  Building 519.lbm_r base mytest-m64: (build_base_mytest-m64.0000) [2023-07-05 10:56:27]
  Building 521.wrf_r base mytest-m64: (build_base_mytest-m64.0000) [2023-07-05 10:56:29]
Error with make.diffwrf_521 'specmake --output-sync --jobs=8 build TARGET=diffwrf_521':
  ----------------------------------------------------------------------------
  Please review this file:
    "/home/speccpu/cpu2017/benchspec/CPU/521.wrf_r/build/build_base_mytest-m64.0000/make.diffwrf_521.out"
  ----------------------------------------------------------------------------
  Command returned exit code 2
  Error with make!
*** Error building 521.wrf_r base
The log for this run is in /home/speccpu/cpu2017/result/CPU2017.007.log
The debug log for this run is in /home/speccpu/cpu2017/result/CPU2017.007.log.debug
*
* Temporary files were NOT deleted; keeping temporaries such as
* /home/speccpu/cpu2017/result/CPU2017.007.log.debug and
* /home/speccpu/cpu2017/tmp/CPU2017.007
* (These may be large!)
*
runcpu finished at 2023-07-05 10:56:39; 8858 total seconds elapsed

等待。。。

中途浮点编译报错了,参考前面的patch已修复。记录单独跑浮点日志

runcpu -c gcc.cfg -T base -s -F config/flags/gcc.xml -n 3 -C 0 -i ref fprate
SPEC CPU(r) 2017 Benchmark Suites
Copyright 1995-2019 Standard Performance Evaluation Corporation (SPEC)

runcpu v6612
Using 'linux-x86_64' tools
Reading file manifests... read 32225 entries from 2 files in 0.08s (419089 files/s)
Loading runcpu modules.................
Locating benchmarks...found 47 benchmarks in 73 benchsets.
Reading config file '/home/speccpu/cpu2017/config/gcc.cfg'
1 configuration selected:

 Action    Run Mode   Workload     Report Type     Benchmarks
--------   --------   --------   ---------------   ----------------------------
validate   rate       refrate    SPECrate2017_fp   fprate                      
Downloading update information for version check...
OK
	Version 1.1.9 of CPU2017 is the latest available.

Reportable runs must include a 'test' run; adding to run list
Reportable runs must include a 'train' run; adding to run list
-------------------------------------------------------------------------------

Setting up environment for running fprate...
Starting runcpu for fprate...
Running "specperl /home/speccpu/cpu2017/bin/sysinfo" to gather system information.
sysinfo: r6732 of 2022-11-07 (fe91c89b7ed5c36ae2c92cc097bec197)
sysinfo: ...getting basic information about kernel, users, and limits
sysinfo: Getting system information for Linux...
sysinfo: ...getting CPU info
sysinfo: ...getting info from numactl
sysinfo: ...getting memory info
sysinfo: ...getting info from systemd
sysinfo: ...getting power info
sysinfo: ...getting system tuning info
sysinfo: ...getting OS info
sysinfo: ...getting disk info
sysinfo: ...getting info from /sys/devices/virtual/dmi/id
sysinfo: ...getting info from dmidecode
Retrieving flags file (config/flags/gcc.xml)...
Reportable runs must include a 'test' run; adding to run list
Reportable runs must include a 'train' run; adding to run list
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
Notice: Errors may not be ignored for reportable runs.
Compiling Binaries
  Building 503.bwaves_r base mytest-m64: (build_base_mytest-m64.0000) [2023-07-05 11:56:15]
  Building 507.cactuBSSN_r base mytest-m64: (build_base_mytest-m64.0000) [2023-07-05 11:56:17]
  Building 508.namd_r base mytest-m64: (build_base_mytest-m64.0000) [2023-07-05 11:56:47]
  Building 510.parest_r base mytest-m64: (build_base_mytest-m64.0000) [2023-07-05 11:56:59]
  Building 511.povray_r base mytest-m64: (build_base_mytest-m64.0000) [2023-07-05 11:58:35]
  Building 519.lbm_r base mytest-m64: (build_base_mytest-m64.0000) [2023-07-05 11:58:43]
  Building 521.wrf_r base mytest-m64: (build_base_mytest-m64.0000) [2023-07-05 11:58:44]
  Building 526.blender_r base mytest-m64: (build_base_mytest-m64.0000) [2023-07-05 12:09:04]
  Building 527.cam4_r base mytest-m64: (build_base_mytest-m64.0000) [2023-07-05 12:10:06]
  Building 538.imagick_r base mytest-m64: (build_base_mytest-m64.0000) [2023-07-05 12:11:03]
  Building 544.nab_r base mytest-m64: (build_base_mytest-m64.0000) [2023-07-05 12:11:18]
  Building 549.fotonik3d_r base mytest-m64: (build_base_mytest-m64.0000) [2023-07-05 12:11:21]
  Building 554.roms_r base mytest-m64: (build_base_mytest-m64.0000) [2023-07-05 12:11:32]
  Building 997.specrand_fr base mytest-m64: (build_base_mytest-m64.0000) [2023-07-05 12:11:48]

Build successes for fprate: 503.bwaves_r(base), 507.cactuBSSN_r(base), 508.namd_r(base), 510.parest_r(base), 511.povray_r(base), 519.lbm_r(base), 521.wrf_r(base), 526.blender_r(base), 527.cam4_r(base), 538.imagick_r(base), 544.nab_r(base), 549.fotonik3d_r(base), 554.roms_r(base), 997.specrand_fr(base)
Build errors for fprate: None

Setting Up Run Directories
  Setting up 503.bwaves_r test base mytest-m64 (1 copy): run_base_test_mytest-m64.0000
  Setting up 507.cactuBSSN_r test base mytest-m64 (1 copy): run_base_test_mytest-m64.0000
  Setting up 508.namd_r test base mytest-m64 (1 copy): run_base_test_mytest-m64.0000
  Setting up 510.parest_r test base mytest-m64 (1 copy): run_base_test_mytest-m64.0000
  Setting up 511.povray_r test base mytest-m64 (1 copy): run_base_test_mytest-m64.0000
  Setting up 519.lbm_r test base mytest-m64 (1 copy): run_base_test_mytest-m64.0000
  Setting up 521.wrf_r test base mytest-m64 (1 copy): run_base_test_mytest-m64.0000
  Setting up 526.blender_r test base mytest-m64 (1 copy): run_base_test_mytest-m64.0000
  Setting up 527.cam4_r test base mytest-m64 (1 copy): run_base_test_mytest-m64.0000
  Setting up 538.imagick_r test base mytest-m64 (1 copy): run_base_test_mytest-m64.0000
  Setting up 544.nab_r test base mytest-m64 (1 copy): run_base_test_mytest-m64.0000
  Setting up 549.fotonik3d_r test base mytest-m64 (1 copy): run_base_test_mytest-m64.0000
  Setting up 554.roms_r test base mytest-m64 (1 copy): run_base_test_mytest-m64.0000
  Setting up 997.specrand_fr test base mytest-m64 (1 copy): run_base_test_mytest-m64.0000
Running Benchmarks
  Running 503.bwaves_r test base mytest-m64 (1 copy) [2023-07-05 12:11:56]
  Running 507.cactuBSSN_r test base mytest-m64 (1 copy) [2023-07-05 12:12:00]
  Running 508.namd_r test base mytest-m64 (1 copy) [2023-07-05 12:12:04]
  Running 510.parest_r test base mytest-m64 (1 copy) [2023-07-05 12:12:08]
  Running 511.povray_r test base mytest-m64 (1 copy) [2023-07-05 12:12:13]
  Running 519.lbm_r test base mytest-m64 (1 copy) [2023-07-05 12:12:13]
  Running 521.wrf_r test base mytest-m64 (1 copy) [2023-07-05 12:12:16]
  Running 526.blender_r test base mytest-m64 (1 copy) [2023-07-05 12:12:22]
  Running 527.cam4_r test base mytest-m64 (1 copy) [2023-07-05 12:12:23]
  Running 538.imagick_r test base mytest-m64 (1 copy) [2023-07-05 12:12:35]
  Running 544.nab_r test base mytest-m64 (1 copy) [2023-07-05 12:12:35]
  Running 549.fotonik3d_r test base mytest-m64 (1 copy) [2023-07-05 12:12:37]
  Running 554.roms_r test base mytest-m64 (1 copy) [2023-07-05 12:12:40]
  Running 997.specrand_fr test base mytest-m64 (1 copy) [2023-07-05 12:12:43]
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
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
Notice: Errors may not be ignored for reportable runs.
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 train base mytest-m64 (1 copy): run_base_train_mytest-m64.0000
  Setting up 507.cactuBSSN_r train base mytest-m64 (1 copy): run_base_train_mytest-m64.0000
  Setting up 508.namd_r train base mytest-m64 (1 copy): run_base_train_mytest-m64.0000
  Setting up 510.parest_r train base mytest-m64 (1 copy): run_base_train_mytest-m64.0000
  Setting up 511.povray_r train base mytest-m64 (1 copy): run_base_train_mytest-m64.0000
  Setting up 519.lbm_r train base mytest-m64 (1 copy): run_base_train_mytest-m64.0000
  Setting up 521.wrf_r train base mytest-m64 (1 copy): run_base_train_mytest-m64.0000
  Setting up 526.blender_r train base mytest-m64 (1 copy): run_base_train_mytest-m64.0000
  Setting up 527.cam4_r train base mytest-m64 (1 copy): run_base_train_mytest-m64.0000
  Setting up 538.imagick_r train base mytest-m64 (1 copy): run_base_train_mytest-m64.0000
  Setting up 544.nab_r train base mytest-m64 (1 copy): run_base_train_mytest-m64.0000
  Setting up 549.fotonik3d_r train base mytest-m64 (1 copy): run_base_train_mytest-m64.0000
  Setting up 554.roms_r train base mytest-m64 (1 copy): run_base_train_mytest-m64.0000
  Setting up 997.specrand_fr train base mytest-m64 (1 copy): run_base_train_mytest-m64.0000
Running Benchmarks
  Running 503.bwaves_r train base mytest-m64 (1 copy) [2023-07-05 12:12:58]
  Running 507.cactuBSSN_r train base mytest-m64 (1 copy) [2023-07-05 12:13:21]
  Running 508.namd_r train base mytest-m64 (1 copy) [2023-07-05 12:13:45]
  Running 510.parest_r train base mytest-m64 (1 copy) [2023-07-05 12:14:04]
  Running 511.povray_r train base mytest-m64 (1 copy) [2023-07-05 12:14:32]
  Running 519.lbm_r train base mytest-m64 (1 copy) [2023-07-05 12:14:35]
  Running 521.wrf_r train base mytest-m64 (1 copy) [2023-07-05 12:14:52]
  Running 526.blender_r train base mytest-m64 (1 copy) [2023-07-05 12:15:25]
  Running 527.cam4_r train base mytest-m64 (1 copy) [2023-07-05 12:17:02]
  Running 538.imagick_r train base mytest-m64 (1 copy) [2023-07-05 12:17:16]
  Running 544.nab_r train base mytest-m64 (1 copy) [2023-07-05 12:17:37]
  Running 549.fotonik3d_r train base mytest-m64 (1 copy) [2023-07-05 12:18:37]
  Running 554.roms_r train base mytest-m64 (1 copy) [2023-07-05 12:18:59]
  Running 997.specrand_fr train base mytest-m64 (1 copy) [2023-07-05 12:20:07]
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
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
Notice: Errors may not be ignored for reportable runs.
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.0000
  Setting up 507.cactuBSSN_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0000
  Setting up 508.namd_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0000
  Setting up 510.parest_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0000
  Setting up 511.povray_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0000
  Setting up 519.lbm_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0000
  Setting up 521.wrf_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0000
  Setting up 526.blender_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0000
  Setting up 527.cam4_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0000
  Setting up 538.imagick_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0000
  Setting up 544.nab_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0000
  Setting up 549.fotonik3d_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0000
  Setting up 554.roms_r refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0000
  Setting up 997.specrand_fr refrate (ref) base mytest-m64 (1 copy): run_base_refrate_mytest-m64.0000
Running Benchmarks
  Running (#1) 503.bwaves_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 12:20:23]
  Running (#1) 507.cactuBSSN_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 12:25:45]
  Running (#1) 508.namd_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 12:28:47]
  Running (#1) 510.parest_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 12:31:25]
  Running (#1) 511.povray_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 12:37:30]
  Running (#1) 519.lbm_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 12:42:33]
  Running (#1) 521.wrf_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 12:45:31]
  Running (#1) 526.blender_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 12:50:05]
  Running (#1) 527.cam4_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 12:54:12]
  Running (#1) 538.imagick_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 12:57:23]
  Running (#1) 544.nab_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 13:02:36]
  Running (#1) 549.fotonik3d_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 13:07:09]
  Running (#1) 554.roms_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 13:11:35]
  Running (#1) 997.specrand_fr refrate (ref) base mytest-m64 (1 copy) [2023-07-05 13:14:34]
  Running (#2) 503.bwaves_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 13:14:35]
  Running (#2) 507.cactuBSSN_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 13:20:03]
  Running (#2) 508.namd_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 13:23:09]
  Running (#2) 510.parest_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 13:25:52]
  Running (#2) 511.povray_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 13:33:11]
  Running (#2) 519.lbm_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 13:38:46]
  Running (#2) 521.wrf_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 13:41:50]
  Running (#2) 526.blender_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 13:46:20]
  Running (#2) 527.cam4_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 13:50:31]
  Running (#2) 538.imagick_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 13:53:48]
  Running (#2) 544.nab_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 13:58:57]
  Running (#2) 549.fotonik3d_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 14:03:25]
  Running (#2) 554.roms_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 14:07:56]
  Running (#2) 997.specrand_fr refrate (ref) base mytest-m64 (1 copy) [2023-07-05 14:10:53]
  Running (#3) 503.bwaves_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 14:10:54]
  Running (#3) 507.cactuBSSN_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 14:16:22]
  Running (#3) 508.namd_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 14:19:30]
  Running (#3) 510.parest_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 14:22:15]
  Running (#3) 511.povray_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 14:28:41]
  Running (#3) 519.lbm_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 14:33:58]
  Running (#3) 521.wrf_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 14:37:04]
  Running (#3) 526.blender_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 14:41:44]
  Running (#3) 527.cam4_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 14:45:57]
  Running (#3) 538.imagick_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 14:49:14]
  Running (#3) 544.nab_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 14:54:25]
  Running (#3) 549.fotonik3d_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 14:58:53]
  Running (#3) 554.roms_r refrate (ref) base mytest-m64 (1 copy) [2023-07-05 15:03:27]
  Running (#3) 997.specrand_fr refrate (ref) base mytest-m64 (1 copy) [2023-07-05 15:06:26]
Success: 3x503.bwaves_r 3x507.cactuBSSN_r 3x508.namd_r 3x510.parest_r 3x511.povray_r 3x519.lbm_r 3x521.wrf_r 3x526.blender_r 3x527.cam4_r 3x538.imagick_r 3x544.nab_r 3x549.fotonik3d_r 3x554.roms_r 3x997.specrand_fr
Producing Raw Reports
 label: mytest-m64
  workload: refrate (ref)
   metric: SPECrate2017_fp_base
    format: raw -> /home/speccpu/cpu2017/result/CPU2017.009.fprate.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 -> /home/speccpu/cpu2017/result/CPU2017.009.fprate.flags.html
    format: cfg -> /home/speccpu/cpu2017/result/CPU2017.009.fprate.cfg, /home/speccpu/cpu2017/result/CPU2017.009.fprate.orig.cfg
    format: CSV -> /home/speccpu/cpu2017/result/CPU2017.009.fprate.csv
    format: PDF -> /home/speccpu/cpu2017/result/CPU2017.009.fprate.pdf
    format: HTML -> /home/speccpu/cpu2017/result/CPU2017.009.fprate.html
    format: Text -> /home/speccpu/cpu2017/result/CPU2017.009.fprate.txt
    format: Reportable Check -> FAILED.  Found the following errors:
                 - The fw_bios field must include this phrase:
                      "Version <id> released MMM-YYYY"
                   where: 
                      "Version" (or "version") is literal text.
                      "<id>" is the version identifier string as seen by customers.
                              The <id> may include multiple words and/or punctuation.
                      "released" (or "Released") is literal text.
                      "MMM" is the three-letter English month abbreviation.
                      "YYYY" is the full four digit year.
                   No value for fw_bios was specified.
                 
                 
                 - The "hw_avail" field is invalid.
                     It must be MMM-YYYY, where YYYY is the full four digit
                     year, and MMM is the three-letter English month abbreviation.
                 
                 - The "hw_cpu_max_mhz" field is invalid.
                     It must be entirely numeric.
                    The current value is "".
                 
                 - The "hw_cpu_nominal_mhz" field is invalid.
                     It must be entirely numeric.
                    The current value is "".
                 
                 - Fractional memory size in the "hw_memory000" field.
                    "31.275 GB" should be changed to "32025 MB"
                 
                 - The hw_model field must not be empty.
                 
                 - The "hw_ncores" field is invalid.
                     It must be entirely numeric.
                    The current value is "".
                 
                 - The "hw_ncpuorder" field is invalid.
                     The value must contain a number, list of
                     numbers, or range of numbers, followed by a unit.
                    The current value is "".
                 
                 - The "hw_nthreadspercore" field is invalid.
                     It must be entirely numeric.
                    The current value is "".
                 
                 - The other cache description (hw_ocache) is not in the required format.
                     It must either be set to "None" or conform to the
                     following format (in-line spaces are literal):
                        <digits> <unit> I+D <on|off> chip per <whatever>
                     for a unified cache, or
                        <digits> <unit> I + <digits> <unit> D <on|off> chip per <whatever>
                     or
                        <digits> <unit> I <on|off> chip per <whatever>[optional text]; <digits> <unit> D <on|off> chip per <whatever>[optional text]
                     for split caches.
                     Acceptable values for <unit> are KB, MB, GB, or TB.
                   No value for hw_ocache was specified.
                 
                 
                 - The "hw_other" field is invalid.
                     The value must be non-blank.  If you are not using
                     any other hardware relevant to SPEC CPU performance,
                     you can say "None" here.
                 
                 - The primary cache description (hw_pcache) is not in the required format.
                     It must either be set to "None" or conform to the
                     following format (in-line spaces are literal):
                        <digits> <unit> I+D <on|off> chip per <chip|core>
                     for a unified cache, or
                        <digits> <unit> I + <digits> <unit> D <on|off> chip per <chip|core>
                     or
                        <digits> <unit> I <on|off> chip per <whatever>[optional text]; <digits> <unit> D <on|off> chip per <whatever>[optional text]
                     for split caches.
                     Acceptable values for <unit> are KB, MB, GB, TB,
                     or "<prefix> micro-ops", and [] indicates optional content.
                   No value for hw_pcache was specified.
                 
                 
                 - The secondary cache description (hw_scache) is not in the required format.
                     It must either be set to "None" or conform to the
                     following format (in-line spaces are literal):
                        <digits> <unit> I+D <on|off> chip per <whatever>
                     for a unified cache, or
                        <digits> <unit> I + <digits> <unit> D <on|off> chip per <whatever>
                     or
                        <digits> <unit> I <on|off> chip per <whatever>[optional text]; <digits> <unit> D <on|off> chip per <whatever>[optional text]
                     for split caches.
                     Acceptable values for <unit> are KB, MB, GB, or TB.
                   No value for hw_scache was specified.
                 
                 
                 - The tertiary cache description (hw_tcache) is not in the required format.
                     It must either be set to "None" or conform to the
                     following format (in-line spaces are literal):
                        <digits> <unit> I+D <on|off> chip per <whatever>
                     for a unified cache, or
                        <digits> <unit> I + <digits> <unit> D <on|off> chip per <whatever>
                     or
                        <digits> <unit> I <on|off> chip per <whatever>[optional text]; <digits> <unit> D <on|off> chip per <whatever>[optional text]
                     for split caches.
                     Acceptable values for <unit> are KB, MB, GB, or TB.
                   No value for hw_tcache was specified.
                 
                 
                 - The "license_num" field is invalid.
                     It must be numeric, with or without a leading or trailing "A".
                    The current value is "nnn (Your SPEC license number)".
                 
                 - The "notes_*.*?_*" field (any field matching "notes_*.*?_*\d+") is missing.
                 
                  
                 
                 - The "power_management" field is invalid.
                     This field is used to briefly summarize any non-default settings for
                     power management, whether set in BIOS, firmware, operating system, or
                     elsewhere.
                     Details of the settings are in the power notes section of the result.
                 
                 - The "sw_avail" field is invalid.
                     It must be MMM-YYYY, where YYYY is the full four digit
                     year, and MMM is the three-letter English month abbreviation.
                 
                 - The "sw_other" field is invalid.
                     The value must be non-blank and may not begin with "--".
                     If you are not using any other software relevant to SPEC
                     CPU performance, you must say "None" here.
                 

The log for this run is in /home/speccpu/cpu2017/result/CPU2017.009.log

runcpu finished at 2023-07-05 15:06:45; 11441 total seconds elapsed

结果

 

 

 

错误处理

警告Version check returned "1.1.7 1613543369" NOTICE: Your version, 1.0.5, is not the newest

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 (399173 files/s)
Loading runcpu modules.................
Locating benchmarks...found 47 benchmarks in 53 benchsets.
Reading config file '/home/speccpu/cpu2017/config/gcc.cfg'
2 configurations selected:

 Action    Run Mode   Workload     Report Type      Benchmarks
--------   --------   --------   ----------------   ---------------------------
validate   rate       refrate    SPECrate2017_int   intrate                    
validate   rate       refrate    SPECrate2017_fp    fprate                     
Loading "http://www.spec.org/auto/cpu2017/current_version" for version check...
OK
        Version check returned "1.1.7 1613543369"
NOTICE: Your version, 1.0.5, is not the newest
        Version 1.1.7 was released on 2021-02-17 14:29:29
        Use 'runcpu --update' to get the new version.  For more info, see:
        https://www.spec.org/cpu2017/Docs/runcpu.html#update

                       ----------------------------------
                       The run will continue in 5 seconds
                       ----------------------------------

在线更新 SPEC CPU 2017

runcpu --update

日志

(base) yeqiang@yeqiang-MS-7B23:/home/speccpu/cpu2017$ runcpu --update
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 (402042 files/s)
Loading runcpu modules.................
Locating benchmarks...found 47 benchmarks in 53 benchsets.

CPU2017 update mode selected
Downloading update information...

Selected update:
	From v1.0.5 to v1.1.9
	Update size: 35 MB

Downloading update metadata: 6745 B (18 KB/s)
Update metadata parsed successfully.

Update summary:
	Files to remove: 21
	Directories to remove: 0
	Files to change: 584
	Files to add: 101
Update metadata downloaded and verified.

Checking files that will be changed or removed by the update...
Checks completed.
Update: Downloading update: 35 MB/35 MB (100%; 1982 KB/s))
Update downloaded and verified.

Uncompressing update file

Proceed with update? (y/n)
y

Suite update successful!

There is no log file for this run.

runcpu finished at 2023-07-03 14:55:49; 80 total seconds elapsed

Error with make.diffwrf_521 'specmake --output-sync --jobs=8 build TARGET=diffwrf_521'

  Building 521.wrf_r base mytest-m64: (build_base_mytest-m64.0000) [2023-07-05 10:56:29]
Error with make.diffwrf_521 'specmake --output-sync --jobs=8 build TARGET=diffwrf_521':
  ----------------------------------------------------------------------------
  Please review this file:
    "/home/speccpu/cpu2017/benchspec/CPU/521.wrf_r/build/build_base_mytest-m64.0000/make.diffwrf_521.out"
  ----------------------------------------------------------------------------
  Command returned exit code 2
  Error with make!
*** Error building 521.wrf_r base
The log for this run is in /home/speccpu/cpu2017/result/CPU2017.007.log
The debug log for this run is in /home/speccpu/cpu2017/result/CPU2017.007.log.debug
*
* Temporary files were NOT deleted; keeping temporaries such as
* /home/speccpu/cpu2017/result/CPU2017.007.log.debug and
* /home/speccpu/cpu2017/tmp/CPU2017.007
* (These may be large!)
*
runcpu finished at 2023-07-05 10:56:39; 8858 total seconds elapsed
Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(4)/COMPLEX(4)).
c1fm1b.fppized.f90:87:33:

   85 |       call c1f5kb ( ido, l1, na, c, inc2, ch, 2, wa(iw) )
      |                                 2
   86 |     else if ( nbr == 8 ) then
   87 |       call c1f5kb ( ido, l1, na, ch, 2, c, inc2, wa(iw) )
      |                                 1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(4)/COMPLEX(4)).
c1fm1b.fppized.f90:91:42:

   89 |       call c1fgkb ( ido, ip, l1, lid, na, c, c, inc2, ch, ch, 2, wa(iw) )
      |                                          2
   90 |     else if ( nbr == 10 ) then
   91 |       call c1fgkb ( ido, ip, l1, lid, na, ch, ch, 2, c, c, inc2, wa(iw) )
      |                                          1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(4)/COMPLEX(4)).
specmake: *** [/home/speccpu/cpu2017/benchspec/Makefile.defaults:386: c1fm1b.fppized.o] Error 1
specmake: *** Waiting for unfinished jobs....

参考官网解释

FAQ - CPU 2017

Build.08  q. I have GCC 10. Why are several Fortran benchmarks failing to build, complaining about "type mismatches"?

a. If you compile using GCC 10 (and presumably later) you must include -fallow-argument-mismatch. If you do not include this flag, compiling 527.cam4_r, 627.cam4_s, 521.wrf_r, 621.wrf_s, and 628.pop2_s will fail with message:

Error: Type mismatch between actual argument at (1) and actual argument at (2)

For more information, see Porting to GCC 10- GNU Project.

Note that in accordance with the same-for-all rule www.spec.org/cpu2017/Docs/runrules.html#BaseFlags it is not allowed to set -fallow-argument-mismatch as a PORTABILITY option. Instead, it must be applied to all of Base. The Example GCC config files as updated for SPEC CPU 2017 v1.1.5 obey this rule.

原因gcc版本11.4.0已经大于gcc 10,虽然gcc.cfg有配置,但没有生效

删掉 ifdef endif判断,保留中间EXTRA_FFLAGS = -fallow-argument-mismatch

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/727115.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

vue3中的computed和watch

一、computed 1. vue2和vue3中计算属性用法对比 Vue2中的计算属性 Vue2中的计算属性是通过在Vue实例的computed选项中定义函数来创建的。计算属性会根据依赖的响应式属性进行缓存&#xff0c;只有当依赖的属性发生变化时&#xff0c;计算属性才会重新求值。 举个例子&#x…

【环境配置】Conda报错 requests.exceptions.HTTPError

问题&#xff1a; conda 创建新的虚拟环境时报错 Collecting package metadata (current_repodata.json): done Solving environment: done# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<…

OpenCVForUnity(二)基本图像容器Mat

这里写目录标题 前言Mat指针引用说明存储的方式如何创建一个Mat对像 前言 今天继续学习OpenCV的基本单位Mat. 学计算机的同学都知道在计算机中,你所看到的一切其都是数据的呈现.期最底层的本质皆是0和1的构成的.当然图片,视频等等也不例外.我们用相机,扫描仪核磁共振成像等方式…

OpenAI深夜放大招,GPT4 API全面开放并弃用一系列旧模型

GPT-4 API 现已向所有付费 OpenAI API 客户开放。GPT-3.5 Turbo、DALLE 和 Whisper API 现已普遍可用&#xff0c;我们宣布了一些旧型号的弃用计划&#xff0c;这些型号将于 2024 年初退役。 ✅ GPT4 API面向付费用户开放&#xff0c;不需要再额外申请,并且具有8K上下文&#…

bash文件输入到txt文件中

bash test_bct.sh >> test.txt结果如下

WeeChat 4.0.0 正式发布

导读WeeChat (Wee Enhanced Environment for Chat) 是一款自由开源的轻量级 IRC 客户端&#xff0c;具有高度的可定制特性&#xff0c;并且可以通过脚本进行扩展。 WeeChat 支持大多数的平台和操作系统&#xff0c;例如 Linux、BSD、macOS、Debian GNU/Hurd、HP-UX、Solaris、…

全国产化适配低代码平台,政企数字化的不二选择

编者按&#xff1a;在国家政策及战略方向的指导下&#xff0c;信创产业已成为奠定中国未来发展的重要数字基础&#xff0c;而国产化则可以解决核心技术关键被“卡脖子”的问题。另一方面&#xff0c;低代码平台能够为企业加速交付业务应用&#xff0c;降低运营成本&#xff0c;…

插入排序(思路+代码)

变量&#xff1a; index &#xff1a;代表待插入数的前一个数的下标&#xff0c;依次往回找&#xff0c;找到找到结果。 indexvalue&#xff1a;代表待插入元素的值&#xff0c;找到位置之后往index1的位置插入元素 代码&#xff1a; import java.util.Arrays;public class …

【库表操作】

一、数据库Market中创建表customers 1、创建数据库 #创建数据库 mysql> create database Market; mysql> use Market;2、创建数据表 #创建数据表 mysql> create table customers(-> c_num int(11) primary key auto_increment,-> c_name varchar(50),-> c_…

iOS-配置Universal Links通用链接

1、开启Associated Domains服务 登录苹果开发者网站&#xff0c;在Certificates, Identifiers & Profiles页面左侧选择Identifiers&#xff0c;右侧选择对应的App ID&#xff0c;点击进入配置详情页&#xff0c;开启Associated Domains服务&#xff1b; 2、更新Profile文件…

【动手学习深度学习--逐行代码解析合集】09权重衰减

【动手学习深度学习】逐行代码解析合集 09权重衰减 视频链接&#xff1a;动手学习深度学习–权重衰减 课程主页&#xff1a;https://courses.d2l.ai/zh-v2/ 教材&#xff1a;https://zh-v2.d2l.ai/ 0、准备工作 import matplotlib # 注意这个也要import一次 import matplotli…

Wordpress的mysql迁库遇到问题

在我们迁移库的时候经常会出现如下问题&#xff1a; 5.7日期默认0000-00-00 00:00:00 设置错误。 MySQL默认设置中不支持日期datetime格式下的0000-00-00 00:00:00。 解决方法如下&#xff1a; select sql_mode 来查看对应内容 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO…

vue打包后,生成的dist文件出现浏览器缓存问题——技能提升

最近同事问我&#xff0c;打包后的项目放在服务器上后&#xff0c;在终端打开时&#xff0c;必须清除浏览器缓存也就是ctrlF5才可以。 我打包后查看dist/index.html文件 发现没有css和js文件都有不同版本号的标识&#xff0c;按道理来说&#xff0c;是不会出现这个缓存的问题…

在Chrome谷歌浏览器中执行JavaScript的方法

在Chrome谷歌浏览器中如何执行JavaScript&#xff1f;在Chrome 浏览器中可以通过按下 F12 按钮或者右击页面&#xff0c;选择"检查"来开启开发者工具。 也可以在右上角菜单栏选择 "更多工具"》"开发者工具" 来开启&#xff1a; 1、Console 窗口调…

基于机器学习的情感分析

1基于机器学习 是指选取情感词作为特征词&#xff0c;将文本矩阵化&#xff0c;利用logistic Regression, 朴素贝叶斯(Naive Bayes)&#xff0c;支持向量机&#xff08;SVM&#xff09;等方法进行分类。最终分类效果取决于训练文本的选择以及正确的情感标注。 在训练过程&#…

骨传导耳机音质怎么样,盘点在音质方面表现不错的五款骨传导耳机

骨传导耳机凭借不入耳就能轻松听音乐的特点&#xff0c;被越来越多人所认识&#xff0c;相比传统的入耳式耳机&#xff0c;骨传导耳机拥有更多的可玩性&#xff0c;比如说跑步、游泳、健身都可以佩戴骨传导耳机&#xff0c;即使长时间佩戴也不会出现不适感&#xff0c;也不会出…

LinearAlgebraMIT_3_InverseMatrix

x.1 矩阵乘法 矩阵乘法的常用运算规则有五种&#xff0c;如下是一种&#xff0c;是最简单的矩阵乘法&#xff0c;用一行乘以一列&#xff0c;假设A是mxn的矩阵&#xff0c;B是nxp的矩阵&#xff0c;则最终得到mxp的矩阵。 在矩阵A和向量a乘法中&#xff0c;我们已经习惯性地将…

Sumifs函数(excel)

SUMIFS 函数是一个数学与三角函数&#xff0c;用于计算其满足多个条件的全部参数的总量。excel如何使用Sumifs函数&#xff1f; 工具/原料 联想ThinkPad X1 windows7 WPS office2021 方法/步骤 首先运行office软件&#xff0c;打开一份表格&#xff0c;今天我们要计算以“…

SDN-OpenDaylight与Mininet的原理、安装、使用

一、前言 本文将介绍OpenDaylight与Mininet的原理并介绍他们的安装及简单的使用&#xff0c;本实验的环境为Liunx Ubuntu 16.04&#xff0c;已成功安装OVS&#xff0c;但没有安装Mininet。 二、原理 &#xff08;一&#xff09;OpenDaylight OpenDaylight是一个软件定义网络&…

【抖音小游戏】 Unity制作抖音小游戏方案 最新完整详细教程来袭【持续更新】

前言 【抖音小游戏】 Unity制作抖音小游戏方案 最新完整详细教程来袭【持续更新】一、相关准备工作1.1 用到的相关网址1.2 注册字节开发者后台账号 二、相关集成工作2.1 下载需要的集成资源2.2 安装StarkSDK和starksdk-unity-tools工具包2.3 搭建测试场景 三、构建发布3.1 发布…