SPEC CPU®2017 Floating Point Speed Result

Copyright 2017-2019 Standard Performance Evaluation Corporation

Quanta Cloud Technology (Test Sponsor: Quanta Computer Inc.)

QuantaGrid D43K-1U
(AMD EPYC 7742 64-Core, 2.25GHz)

SPECspeed®2017_fp_base = 20100

SPECspeed®2017_fp_peak = 21100

CPU2017 License: 9050 Test Date: Oct-2019
Test Sponsor: Quanta Computer Inc. Hardware Availability: Aug-2019
Tested by: Quanta Computer Inc. Software Availability: Aug-2019

Benchmark result graphs are available in the PDF report.

Hardware
CPU Name: AMD EPYC 7742
  Max MHz: 3400
  Nominal: 2250
Enabled: 128 cores, 2 chips, 2 threads/core
Orderable: 1,2 chips
Cache L1: 32 KB I + 32 KB D on chip per core
  L2: 512 KB I+D on chip per core
  L3: 256 MB I+D on chip per chip, 16 MB shared / 4
cores
  Other: None
Memory: 1 TB (32 x 32 GB 2Rx4 PC4-3200AA-R,
running at 2933)
Storage: 1 x 512GB SATA M.2 SSD
Other: None
Software
OS: Ubuntu 19.04
Kernel 5.0.0-25-generic
Compiler: C/C++/Fortran: Version 2.0.0 of AOCC
Parallel: Yes
Firmware: Version 3A07.04 released Oct-2019
File System: ext4
System State: Run level 5 (multi-user)
Base Pointers: 64-bit
Peak Pointers: 64-bit
Other: jemalloc: jemalloc memory allocator library v5.2.1
Power Management: --

Results Table

Benchmark Base Peak
Threads Seconds Ratio Seconds Ratio Seconds Ratio Threads Seconds Ratio Seconds Ratio Seconds Ratio
SPECspeed®2017_fp_base 20100
SPECspeed®2017_fp_peak 21100
Results appear in the order in which they were run. Bold underlined text indicates a median measurement.
603.bwaves_s 128 88.5 6660 88.9 6640 88.7 6650 128 88.5 6660 88.9 6640 88.7 6650
607.cactuBSSN_s 128 52.3 3190 53.2 3140 52.9 3150 128 53.5 3120 52.2 3190 52.3 3190
619.lbm_s 128 68.4 76.6 68.4 76.6 68.3 76.7 256 47.6 1100 47.6 1100 47.7 1100
621.wrf_s 128 93.0 1420 92.2 1430 92.9 1420 128 90.1 1470 95.1 1390 91.9 1440
627.cam4_s 128 68.5 1290 68.0 1300 68.5 1290 128 68.2 1300 68.2 1300 68.7 1290
628.pop2_s 128 1680 70.7 1680 70.6 1670 70.9 128 1680 70.7 1680 70.6 1670 70.9
638.imagick_s 128 43.9 3290 40.1 3600 45.1 3200 128 40.6 3560 40.7 3550 40.9 3530
644.nab_s 128 36.1 4840 36.1 4840 36.6 4780 256 35.4 4940 35.4 4930 35.4 4940
649.fotonik3d_s 128 93.0 98.0 93.9 97.1 93.9 97.0 128 93.1 97.9 93.5 97.5 92.1 98.9
654.roms_s 128 46.8 3370 46.6 3380 47.0 3350 128 46.8 3370 46.6 3380 47.0 3350

Compiler Notes

The AMD64 AOCC Compiler Suite is available at
http://developer.amd.com/amd-aocc/

Submit Notes

The config file option 'submit' was used.
'numactl' was used to bind copies to the cores.
See the configuration file for details.

Operating System Notes

'ulimit -s unlimited' was used to set environment stack size
'ulimit -l 2097152' was used to set environment locked pages in memory limit

runcpu command invoked through numactl i.e.:
numactl --interleave=all runcpu <etc>

Set dirty_ratio=8 to limit dirty cache to 8% of memory
Set swappiness=1 to swap only if necessary
Set zone_reclaim_mode=1 to free local node memory and avoid remote memory
sync then drop_caches=3 to reset caches before invoking runcpu

dirty_ratio, swappiness, zone_reclaim_mode and drop_caches were
all set using privileged echo (e.g. echo 1 > /proc/sys/vm/swappiness).

Transparent huge pages set to 'always' for this run (OS default)

General Notes

Environment variables set by runcpu before the start of the run:
GOMP_CPU_AFFINITY = "0-255"
LD_LIBRARY_PATH = "/root/speccpu/amd_speed_aocc200_rome_B_lib/64;/root/speccpu/amd_speed_aocc200_rome_B_lib/32:"
MALLOC_CONF = "retain:true"
OMP_DYNAMIC = "false"
OMP_SCHEDULE = "static"
OMP_STACKSIZE = "128M"
OMP_THREAD_LIMIT = "256"

Binaries were compiled on a system with 2x AMD EPYC 7601 CPU + 512GB Memory using Fedora 26

NA: The test sponsor attests, as of date of publication, that CVE-2017-5754 (Meltdown)
is mitigated in the system as tested and documented.
Yes: The test sponsor attests, as of date of publication, that CVE-2017-5753 (Spectre variant 1)
is mitigated in the system as tested and documented.
Yes: The test sponsor attests, as of date of publication, that CVE-2017-5715 (Spectre variant 2)
is mitigated in the system as tested and documented.

jemalloc: configured and built with GCC v9.1.0 in Ubuntu 19.04 with -O3 -znver2 -flto
jemalloc 5.2.1 is available here:
https://github.com/jemalloc/jemalloc/releases/download/5.2.1/jemalloc-5.2.1.tar.bz2

Platform Notes

BIOS settings:
 SMT Control is Auto
 NUMA nodes per socket is NPS1
 cTDP Control is Manual
 cTDP set to 240
 Package Power Limit Control is Manual
 Package Power Limit set to 240
 Determinism Control is Manual
 Determinism Slider set to Power
 Sysinfo program /root/speccpu/bin/sysinfo
 Rev: r5974 of 2018-05-19 9bcde8f2999c33d61f64985e45859ea9
 running on ubuntu Wed Oct 30 14:34:46 2019

 SUT (System Under Test) info as seen by some common utilities.
 For more information on this section, see
    https://www.spec.org/cpu2017/Docs/config.html#sysinfo

 From /proc/cpuinfo
    model name : AMD EPYC 7742 64-Core Processor
       2  "physical id"s (chips)
       256 "processors"
    cores, siblings (Caution: counting these is hw and system dependent. The following
    excerpts from /proc/cpuinfo might not be reliable.  Use with caution.)
       cpu cores : 64
       siblings  : 128
       physical 0: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
       25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
       53 54 55 56 57 58 59 60 61 62 63
       physical 1: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
       25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
       53 54 55 56 57 58 59 60 61 62 63

 From lscpu:
      Architecture:        x86_64
      CPU op-mode(s):      32-bit, 64-bit
      Byte Order:          Little Endian
      Address sizes:       43 bits physical, 48 bits virtual
      CPU(s):              256
      On-line CPU(s) list: 0-255
      Thread(s) per core:  2
      Core(s) per socket:  64
      Socket(s):           2
      NUMA node(s):        2
      Vendor ID:           AuthenticAMD
      CPU family:          23
      Model:               49
      Model name:          AMD EPYC 7742 64-Core Processor
      Stepping:            0
      CPU MHz:             1795.212
      CPU max MHz:         2250.0000
      CPU min MHz:         1500.0000
      BogoMIPS:            4491.52
      Virtualization:      AMD-V
      L1d cache:           32K
      L1i cache:           32K
      L2 cache:            512K
      L3 cache:            16384K
      NUMA node0 CPU(s):   0-63,128-191
      NUMA node1 CPU(s):   64-127,192-255
      Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
      pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm
      constant_tsc rep_good nopl xtopology nonstop_tsc cpuid extd_apicid aperfmperf pni
      pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx
      f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse
      3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext
      perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate sme ssbd mba sev ibrs ibpb stibp
      vmmcall fsgsbase bmi1 avx2 smep bmi2 cqm rdt_a rdseed adx smap clflushopt clwb
      sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total
      cqm_mbm_local clzero irperf xsaveerptr wbnoinvd arat npt lbrv svm_lock nrip_save
      tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic
      v_vmsave_vmload vgif umip rdpid overflow_recov succor smca

 /proc/cpuinfo cache data
    cache size : 512 KB

 From numactl --hardware  WARNING: a numactl 'node' might or might not correspond to a
 physical chip.
   available: 2 nodes (0-1)
   node 0 cpus: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
   28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
   57 58 59 60 61 62 63 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143
   144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165
   166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187
   188 189 190 191
   node 0 size: 515890 MB
   node 0 free: 514002 MB
   node 1 cpus: 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
   89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112
   113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 192 193 194 195 196 197 198
   199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220
   221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242
   243 244 245 246 247 248 249 250 251 252 253 254 255
   node 1 size: 516066 MB
   node 1 free: 514713 MB
   node distances:
   node   0   1
     0:  10  32
     1:  32  10

 From /proc/meminfo
    MemTotal:       1056723868 kB
    HugePages_Total:       0
    Hugepagesize:       2048 kB

 From /etc/*release* /etc/*version*
    debian_version: buster/sid
    os-release:
       NAME="Ubuntu"
       VERSION="19.04 (Disco Dingo)"
       ID=ubuntu
       ID_LIKE=debian
       PRETTY_NAME="Ubuntu 19.04"
       VERSION_ID="19.04"
       HOME_URL="https://www.ubuntu.com/"
       SUPPORT_URL="https://help.ubuntu.com/"

 uname -a:
    Linux ubuntu 5.0.0-25-generic #26-Ubuntu SMP Thu Aug 1 12:04:58 UTC 2019 x86_64 x86_64
    x86_64 GNU/Linux

 Kernel self-reported vulnerability status:

 CVE-2017-5754 (Meltdown):          Not affected
 CVE-2017-5753 (Spectre variant 1): Mitigation: usercopy/swapgs barriers and __user
 pointer sanitization
 CVE-2017-5715 (Spectre variant 2): Mitigation: Full AMD retpoline, IBPB: conditional,
 IBRS_FW, STIBP: conditional, RSB filling

 run-level 5 Oct 30 13:23

 SPEC is set to: /root/speccpu
    Filesystem     Type  Size  Used Avail Use% Mounted on
    /dev/sda2      ext4  468G   17G  428G   4% /

 Additional information from dmidecode follows.  WARNING: Use caution when you interpret
 this section. The 'dmidecode' program reads system data which is "intended to allow
 hardware to be accurately determined", but the intent may not be met, as there are
 frequent changes to hardware, firmware, and the "DMTF SMBIOS" standard.
   BIOS American Megatrends Inc. 3A07.04 10/08/2019
   Memory:
    32x SK Hynix HMA84GR7CJR4N-XN 32 GB 2 rank 3200

 (End of data from sysinfo program)

Compiler Version Notes

==============================================================================
C               | 619.lbm_s(base, peak) 638.imagick_s(base, peak)
                | 644.nab_s(base, peak)
------------------------------------------------------------------------------
AOCC.LLVM.2.0.0.B191.2019_07_19 clang version 8.0.0 (CLANG: Jenkins
  AOCC_2_0_0-Build#191) (based on LLVM AOCC.LLVM.2.0.0.B191.2019_07_19)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /sppo/dev/compilers/aocc-compiler-2.0.0/bin
------------------------------------------------------------------------------

==============================================================================
C++, C, Fortran | 607.cactuBSSN_s(base, peak)
------------------------------------------------------------------------------
AOCC.LLVM.2.0.0.B191.2019_07_19 clang version 8.0.0 (CLANG: Jenkins
  AOCC_2_0_0-Build#191) (based on LLVM AOCC.LLVM.2.0.0.B191.2019_07_19)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /sppo/dev/compilers/aocc-compiler-2.0.0/bin
AOCC.LLVM.2.0.0.B191.2019_07_19 clang version 8.0.0 (CLANG: Jenkins
  AOCC_2_0_0-Build#191) (based on LLVM AOCC.LLVM.2.0.0.B191.2019_07_19)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /sppo/dev/compilers/aocc-compiler-2.0.0/bin
AOCC.LLVM.2.0.0.B191.2019_07_19 clang version 8.0.0 (CLANG: Jenkins
  AOCC_2_0_0-Build#191) (based on LLVM AOCC.LLVM.2.0.0.B191.2019_07_19)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /sppo/dev/compilers/aocc-compiler-2.0.0/bin
------------------------------------------------------------------------------

==============================================================================
Fortran         | 603.bwaves_s(base, peak) 649.fotonik3d_s(base, peak)
                | 654.roms_s(base, peak)
------------------------------------------------------------------------------
AOCC.LLVM.2.0.0.B191.2019_07_19 clang version 8.0.0 (CLANG: Jenkins
  AOCC_2_0_0-Build#191) (based on LLVM AOCC.LLVM.2.0.0.B191.2019_07_19)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /sppo/dev/compilers/aocc-compiler-2.0.0/bin
------------------------------------------------------------------------------

==============================================================================
Fortran, C      | 621.wrf_s(base, peak) 627.cam4_s(base, peak)
                | 628.pop2_s(base, peak)
------------------------------------------------------------------------------
AOCC.LLVM.2.0.0.B191.2019_07_19 clang version 8.0.0 (CLANG: Jenkins
  AOCC_2_0_0-Build#191) (based on LLVM AOCC.LLVM.2.0.0.B191.2019_07_19)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /sppo/dev/compilers/aocc-compiler-2.0.0/bin
AOCC.LLVM.2.0.0.B191.2019_07_19 clang version 8.0.0 (CLANG: Jenkins
  AOCC_2_0_0-Build#191) (based on LLVM AOCC.LLVM.2.0.0.B191.2019_07_19)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /sppo/dev/compilers/aocc-compiler-2.0.0/bin
------------------------------------------------------------------------------

Base Compiler Invocation

C benchmarks:

 clang 

Fortran benchmarks:

 flang 

Benchmarks using both Fortran and C:

 flang   clang 

Benchmarks using Fortran, C, and C++:

 clang++   clang   flang 

Base Portability Flags

603.bwaves_s:  -DSPEC_LP64 
607.cactuBSSN_s:  -DSPEC_LP64 
619.lbm_s:  -DSPEC_LP64 
621.wrf_s:  -DSPEC_CASE_FLAG   -Mbyteswapio   -DSPEC_LP64 
627.cam4_s:  -DSPEC_CASE_FLAG   -DSPEC_LP64 
628.pop2_s:  -DSPEC_CASE_FLAG   -Mbyteswapio   -DSPEC_LP64 
638.imagick_s:  -DSPEC_LP64 
644.nab_s:  -DSPEC_LP64 
649.fotonik3d_s:  -DSPEC_LP64 
654.roms_s:  -DSPEC_LP64 

Base Optimization Flags

C benchmarks:

 -flto   -Wl,-mllvm -Wl,-function-specialize   -Wl,-mllvm -Wl,-region-vectorize   -Wl,-mllvm -Wl,-vector-library=LIBMVEC   -Wl,-mllvm -Wl,-reduce-array-computations=3   -O3   -ffast-math   -march=znver2   -fstruct-layout=3   -mllvm -unroll-threshold=50   -fremap-arrays   -mllvm -function-specialize   -mllvm -enable-gvn-hoist   -mllvm -reduce-array-computations=3   -mllvm -global-vectorize-slp   -mllvm -vector-library=LIBMVEC   -mllvm -inline-threshold=1000   -flv-function-specialization   -z muldefs   -DSPEC_OPENMP   -fopenmp   -DUSE_OPENMP   -fopenmp=libomp   -lomp   -lpthread   -ldl   -lmvec   -lamdlibm   -ljemalloc   -lflang 

Fortran benchmarks:

 -flto   -Wl,-mllvm -Wl,-function-specialize   -Wl,-mllvm -Wl,-region-vectorize   -Wl,-mllvm -Wl,-vector-library=LIBMVEC   -Wl,-mllvm -Wl,-reduce-array-computations=3   -O3   -march=znver2   -funroll-loops   -Mrecursive   -mllvm -vector-library=LIBMVEC   -z muldefs   -Kieee   -fno-finite-math-only   -DSPEC_OPENMP   -fopenmp   -DUSE_OPENMP   -fopenmp=libomp   -lomp   -lpthread   -ldl   -lmvec   -lamdlibm   -ljemalloc   -lflang 

Benchmarks using both Fortran and C:

 -flto   -Wl,-mllvm -Wl,-function-specialize   -Wl,-mllvm -Wl,-region-vectorize   -Wl,-mllvm -Wl,-vector-library=LIBMVEC   -Wl,-mllvm -Wl,-reduce-array-computations=3   -O3   -ffast-math   -march=znver2   -fstruct-layout=3   -mllvm -unroll-threshold=50   -fremap-arrays   -mllvm -function-specialize   -mllvm -enable-gvn-hoist   -mllvm -reduce-array-computations=3   -mllvm -global-vectorize-slp   -mllvm -vector-library=LIBMVEC   -mllvm -inline-threshold=1000   -flv-function-specialization   -funroll-loops   -Mrecursive   -z muldefs   -Kieee   -fno-finite-math-only   -DSPEC_OPENMP   -fopenmp   -DUSE_OPENMP   -fopenmp=libomp   -lomp   -lpthread   -ldl   -lmvec   -lamdlibm   -ljemalloc   -lflang 

Benchmarks using Fortran, C, and C++:

 -std=c++98   -flto   -Wl,-mllvm -Wl,-function-specialize   -Wl,-mllvm -Wl,-region-vectorize   -Wl,-mllvm -Wl,-vector-library=LIBMVEC   -Wl,-mllvm -Wl,-reduce-array-computations=3   -Wl,-mllvm -Wl,-suppress-fmas   -O3   -ffast-math   -march=znver2   -fstruct-layout=3   -mllvm -unroll-threshold=50   -fremap-arrays   -mllvm -function-specialize   -mllvm -enable-gvn-hoist   -mllvm -reduce-array-computations=3   -mllvm -global-vectorize-slp   -mllvm -vector-library=LIBMVEC   -mllvm -inline-threshold=1000   -flv-function-specialization   -mllvm -loop-unswitch-threshold=200000   -mllvm -unroll-threshold=100   -mllvm -enable-partial-unswitch   -funroll-loops   -Mrecursive   -z muldefs   -Kieee   -fno-finite-math-only   -DSPEC_OPENMP   -fopenmp   -DUSE_OPENMP   -fopenmp=libomp   -lomp   -lpthread   -ldl   -lmvec   -lamdlibm   -ljemalloc   -lflang 

Base Other Flags

C benchmarks:

 -Wno-return-type 

Fortran benchmarks:

 -Wno-return-type 

Benchmarks using both Fortran and C:

 -Wno-return-type 

Benchmarks using Fortran, C, and C++:

 -Wno-return-type 

Peak Compiler Invocation

C benchmarks:

 clang 

Fortran benchmarks:

 flang 

Benchmarks using both Fortran and C:

 flang   clang 

Benchmarks using Fortran, C, and C++:

 clang++   clang   flang 

Peak Portability Flags

Same as Base Portability Flags

Peak Optimization Flags

C benchmarks:

 -flto   -Wl,-mllvm -Wl,-function-specialize   -Wl,-mllvm -Wl,-region-vectorize   -Wl,-mllvm -Wl,-vector-library=LIBMVEC   -Wl,-mllvm -Wl,-reduce-array-computations=3   -Ofast   -march=znver2   -mno-sse4a   -fstruct-layout=5   -mllvm -vectorize-memory-aggressively   -mllvm -function-specialize   -mllvm -enable-gvn-hoist   -mllvm -unroll-threshold=50   -fremap-arrays   -mllvm -vector-library=LIBMVEC   -mllvm -reduce-array-computations=3   -mllvm -global-vectorize-slp   -mllvm -inline-threshold=1000   -flv-function-specialization   -DSPEC_OPENMP   -fopenmp   -DUSE_OPENMP   -lmvec   -lamdlibm   -fopenmp=libomp   -lomp   -lpthread   -ldl   -ljemalloc   -lflang 

Fortran benchmarks:

603.bwaves_s:  basepeak = yes 
649.fotonik3d_s:  -flto   -Wl,-mllvm -Wl,-function-specialize   -Wl,-mllvm -Wl,-region-vectorize   -Wl,-mllvm -Wl,-vector-library=LIBMVEC   -Wl,-mllvm -Wl,-reduce-array-computations=3   -O3   -march=znver2   -funroll-loops   -Mrecursive   -mllvm -vector-library=LIBMVEC   -Kieee   -fno-finite-math-only   -DSPEC_OPENMP   -fopenmp   -DUSE_OPENMP   -fopenmp=libomp   -lomp   -lpthread   -ldl   -lmvec   -lamdlibm   -ljemalloc   -lflang 
654.roms_s:  basepeak = yes 

Benchmarks using both Fortran and C:

621.wrf_s:  -flto   -Wl,-mllvm -Wl,-function-specialize   -Wl,-mllvm -Wl,-region-vectorize   -Wl,-mllvm -Wl,-vector-library=LIBMVEC   -Wl,-mllvm -Wl,-reduce-array-computations=3   -Ofast   -march=znver2   -mno-sse4a   -fstruct-layout=5   -mllvm -vectorize-memory-aggressively   -mllvm -function-specialize   -mllvm -enable-gvn-hoist   -mllvm -unroll-threshold=50   -fremap-arrays   -mllvm -vector-library=LIBMVEC   -mllvm -reduce-array-computations=3   -mllvm -global-vectorize-slp   -mllvm -inline-threshold=1000   -flv-function-specialization   -O3   -funroll-loops   -Mrecursive   -Kieee   -fno-finite-math-only   -DSPEC_OPENMP   -fopenmp   -DUSE_OPENMP   -fopenmp=libomp   -lomp   -lpthread   -ldl   -lmvec   -lamdlibm   -ljemalloc   -lflang 
627.cam4_s:  Same as 621.wrf_s 
628.pop2_s:  basepeak = yes 

Benchmarks using Fortran, C, and C++:

 -std=c++98   -flto   -Wl,-mllvm -Wl,-function-specialize   -Wl,-mllvm -Wl,-region-vectorize   -Wl,-mllvm -Wl,-vector-library=LIBMVEC   -Wl,-mllvm -Wl,-reduce-array-computations=3   -Ofast   -march=znver2   -mno-sse4a   -fstruct-layout=5   -mllvm -vectorize-memory-aggressively   -mllvm -function-specialize   -mllvm -enable-gvn-hoist   -mllvm -unroll-threshold=50   -fremap-arrays   -mllvm -vector-library=LIBMVEC   -mllvm -reduce-array-computations=3   -mllvm -global-vectorize-slp   -mllvm -inline-threshold=1000   -flv-function-specialization   -mllvm -unroll-threshold=100   -mllvm -enable-partial-unswitch   -mllvm -loop-unswitch-threshold=200000   -O3   -funroll-loops   -Mrecursive   -Kieee   -fno-finite-math-only   -DSPEC_OPENMP   -fopenmp   -DUSE_OPENMP   -fopenmp=libomp   -lomp   -lpthread   -ldl   -lmvec   -lamdlibm   -ljemalloc   -lflang 

Peak Other Flags

C benchmarks:

 -Wno-return-type 

Fortran benchmarks:

 -Wno-return-type 

Benchmarks using both Fortran and C:

 -Wno-return-type 

Benchmarks using Fortran, C, and C++:

 -Wno-return-type 

The flags files that were used to format this result can be browsed at
http://www.spec.org/cpu2017/flags/aocc200-flags-B1_v2.html,
http://www.spec.org/cpu2017/flags/Quanta-Computer-Inc-amd-speccpu-setting-v1_AMD_ROME.html.

You can also download the XML flags sources by saving the following links:
http://www.spec.org/cpu2017/flags/aocc200-flags-B1_v2.xml,
http://www.spec.org/cpu2017/flags/Quanta-Computer-Inc-amd-speccpu-setting-v1_AMD_ROME.xml.