SPEC CPU®2017 Floating Point Speed Result

Copyright 2017-2025 Standard Performance Evaluation Corporation

xFusion

FusionServer 2158H V8
(AMD EPYC 9825)

SPECspeed®2017_fp_base = 41200

SPECspeed®2017_fp_peak = 41200

CPU2017 License: 6488 Test Date: Apr-2025
Test Sponsor: xFusion Hardware Availability: Oct-2024
Tested by: xFusion Software Availability: Oct-2024

Benchmark result graphs are available in the PDF report.

Hardware
CPU Name: AMD EPYC 9825
  Max MHz: 3700
  Nominal: 2200
Enabled: 144 cores, 1 chip
Orderable: 1 chip
Cache L1: 32 KB I + 48 KB D on chip per core
  L2: 1 MB I+D on chip per core
  L3: 384 MB I+D on chip per chip, 32 MB shared / 12
cores
  Other: None
Memory: 768 GB (12 x 64 GB 2Rx4 PC5-6400B-R)
Storage: 1 x 1.6 TB NVMe SSD
Other: CPU Cooling: Air
Software
OS: Red Hat Enterprise Linux release 9.4 (Plow)
5.14.0-427.13.1.el9_4.x86_64
Compiler: C/C++/Fortran: Version 5.0.0 of AOCC
Parallel: Yes
Firmware: Version 00.13.02.04 released Apr-2025
File System: xfs
System State: Run level 3 (multi-user)
Base Pointers: 64-bit
Peak Pointers: 64-bit
Other: None
Power Management: BIOS and OS set to prefer performance at the cost
of additional power usage

Results Table

Benchmark Base Peak
Threads Seconds Ratio Seconds Ratio Seconds Ratio Threads Seconds Ratio Seconds Ratio Seconds Ratio
SPECspeed®2017_fp_base 41200
SPECspeed®2017_fp_peak 41200
Results appear in the order in which they were run. Bold underlined text indicates a median measurement.
603.bwaves_s 144 49.9 1180 50.0 1180 50.0 1180 144 49.9 1180 49.7 1190 49.7 1190
607.cactuBSSN_s 144 23.2 719 23.4 712 23.2 717 144 23.3 715 23.1 720 23.0 726
619.lbm_s 144 18.2 288 18.2 288 18.2 288 144 18.2 288 18.2 288 18.2 288
621.wrf_s 144 63.0 210 62.9 210 63.1 210 144 62.2 213 62.1 213 62.1 213
627.cam4_s 144 34.8 254 34.9 254 34.8 255 144 35.2 252 35.2 251 35.3 251
628.pop2_s 144 1060 112 1070 111 1060 112 144 1080 110 1070 110 1060 112
638.imagick_s 144 16.6 872 16.5 873 16.5 873 144 16.6 870 16.6 871 16.6 872
644.nab_s 144 16.7 1050 16.7 1050 16.7 1050 144 16.7 1050 16.7 1050 16.7 1050
649.fotonik3d_s 144 51.9 176 51.5 177 51.5 177 144 51.4 177 51.5 177 53.2 171
654.roms_s 144 26.1 604 26.0 605 26.1 604 144 26.0 607 25.9 607 27.2 579

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 limit
'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>

To limit dirty cache to 8% of memory, 'sysctl -w vm.dirty_ratio=8' run as root.
To limit swap usage to minimum necessary, 'sysctl -w vm.swappiness=1' run as root.
To free node-local memory and avoid remote memory usage,
'sysctl -w vm.zone_reclaim_mode=1' run as root.
To clear filesystem caches, 'sync; sysctl -w vm.drop_caches=3' run as root.
To disable address space layout randomization (ASLR) to reduce run-to-run
variability, 'sysctl -w kernel.randomize_va_space=0' run as root.

To enable Transparent Hugepages (THP) for all allocations,
'echo always > /sys/kernel/mm/transparent_hugepage/enabled' and
'echo always > /sys/kernel/mm/transparent_hugepage/defrag' run as root.

Environment Variables Notes

Environment variables set by runcpu before the start of the run:
GOMP_CPU_AFFINITY = "0-143"
LD_LIBRARY_PATH =
     "/home/cpu2017/amd_speed_aocc500_znver5_A_lib/lib:/home/cpu2017/amd_speed_aocc500_znver5_A_lib/lib32:"
LIBOMP_NUM_HIDDEN_HELPER_THREADS = "0"
MALLOC_CONF = "retain:true"
OMP_DYNAMIC = "false"
OMP_SCHEDULE = "static"
OMP_STACKSIZE = "128M"
OMP_THREAD_LIMIT = "144"

Environment variables set by runcpu during the 603.bwaves_s peak run:
GOMP_CPU_AFFINITY = "0-143"

Environment variables set by runcpu during the 607.cactuBSSN_s peak run:
GOMP_CPU_AFFINITY = "0-143"

Environment variables set by runcpu during the 619.lbm_s peak run:
GOMP_CPU_AFFINITY = "0-143"

Environment variables set by runcpu during the 621.wrf_s peak run:
GOMP_CPU_AFFINITY = "0-143"

Environment variables set by runcpu during the 627.cam4_s peak run:
GOMP_CPU_AFFINITY = "0-143"

Environment variables set by runcpu during the 628.pop2_s peak run:
GOMP_CPU_AFFINITY = "0-143"

Environment variables set by runcpu during the 638.imagick_s peak run:
GOMP_CPU_AFFINITY = "0-143"

Environment variables set by runcpu during the 644.nab_s peak run:
GOMP_CPU_AFFINITY = "0-143"

Environment variables set by runcpu during the 649.fotonik3d_s peak run:
GOMP_CPU_AFFINITY = "0-143"

Environment variables set by runcpu during the 654.roms_s peak run:
GOMP_CPU_AFFINITY = "0-143"

General Notes

Binaries were compiled on a system with 2x AMD EPYC 9D64 CPU + 500GiB Memory using Ubuntu 22.04

 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.

Platform Notes

BIOS settings:
 Determinism Control = Manual
 Determinism Enable = Power
 TDP Control = Manual
 TDP = 500
 PPT Control = Manual
 PPT = 500
 NUMA Nodes Per Socket = Auto
 SMT = Disabled

 Sysinfo program /home/cpu2017/bin/sysinfo
 Rev: r6732 of 2022-11-07 fe91c89b7ed5c36ae2c92cc097bec197
 running on localhost.localdomain Wed Apr 16 19:42:11 2025

 SUT (System Under Test) info as seen by some common utilities.

 ------------------------------------------------------------
 Table of contents
 ------------------------------------------------------------
  1. uname -a
  2. w
  3. Username
  4. ulimit -a
  5. sysinfo process ancestry
  6. /proc/cpuinfo
  7. lscpu
  8. numactl --hardware
  9. /proc/meminfo
 10. who -r
 11. Systemd service manager version: systemd 252 (252-32.el9_4)
 12. Failed units, from systemctl list-units --state=failed
 13. Services, from systemctl list-unit-files
 14. Linux kernel boot-time arguments, from /proc/cmdline
 15. cpupower frequency-info
 16. tuned-adm active
 17. sysctl
 18. /sys/kernel/mm/transparent_hugepage
 19. /sys/kernel/mm/transparent_hugepage/khugepaged
 20. OS release
 21. Disk information
 22. /sys/devices/virtual/dmi/id
 23. dmidecode
 24. BIOS
 ------------------------------------------------------------

 ------------------------------------------------------------
 1. uname -a
   Linux localhost.localdomain 5.14.0-427.13.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Apr 10 10:29:16 EDT
   2024 x86_64 x86_64 x86_64 GNU/Linux

 ------------------------------------------------------------
 2. w
    19:42:11 up  1:09,  1 user,  load average: 0.07, 0.03, 3.09
   USER     TTY        LOGIN@   IDLE   JCPU   PCPU WHAT
   root     tty1      18:32   11.00s  1.51s  0.14s -bash

 ------------------------------------------------------------
 3. Username
   From environment variable $USER:  root

 ------------------------------------------------------------
 4. ulimit -a
   real-time non-blocking time  (microseconds, -R) unlimited
   core file size              (blocks, -c) unlimited
   data seg size               (kbytes, -d) unlimited
   scheduling priority                 (-e) 0
   file size                   (blocks, -f) unlimited
   pending signals                     (-i) 3090323
   max locked memory           (kbytes, -l) 2097152
   max memory size             (kbytes, -m) unlimited
   open files                          (-n) 1024
   pipe size                (512 bytes, -p) 8
   POSIX message queues         (bytes, -q) 819200
   real-time priority                  (-r) 0
   stack size                  (kbytes, -s) unlimited
   cpu time                   (seconds, -t) unlimited
   max user processes                  (-u) 3090323
   virtual memory              (kbytes, -v) unlimited
   file locks                          (-x) unlimited

 ------------------------------------------------------------
 5. sysinfo process ancestry
  /usr/lib/systemd/systemd --switched-root --system --deserialize 31
  login -- root
  -bash
  python3 ./run_amd_speed_aocc500_znver5_A1.py
  /bin/bash ./amd_speed_aocc500_znver5_A1.sh
  runcpu --config amd_speed_aocc500_znver5_A1.cfg --tune all --reportable --iterations 3 fpspeed
  runcpu --configfile amd_speed_aocc500_znver5_A1.cfg --tune all --reportable --iterations 3 --nopower
    --runmode speed --tune base:peak --size test:train:refspeed fpspeed --nopreenv --note-preenv --logfile
    $SPEC/tmp/CPU2017.081/templogs/preenv.fpspeed.081.0.log --lognum 081.0 --from_runcpu 2
  specperl $SPEC/bin/sysinfo
 $SPEC = /home/cpu2017

 ------------------------------------------------------------
 6. /proc/cpuinfo
     model name      : AMD EPYC 9825 144-Core Processor
     vendor_id       : AuthenticAMD
     cpu family      : 26
     model           : 17
     stepping        : 0
     microcode       : 0xb101047
     bugs            : sysret_ss_attrs spectre_v1 spectre_v2 spec_store_bypass
     TLB size        : 192 4K pages
     cpu cores       : 144
     siblings        : 144
     1 physical ids (chips)
     144 processors (hardware threads)
     physical id 0: core ids 0-11,16-27,32-43,48-59,64-75,80-91,96-107,112-123,128-139,144-155,160-171,176-187
     physical id 0: apicids 0-11,16-27,32-43,48-59,64-75,80-91,96-107,112-123,128-139,144-155,160-171,176-187
   Caution: /proc/cpuinfo data regarding chips, cores, and threads is not necessarily reliable, especially for
   virtualized systems.  Use the above data carefully.

 ------------------------------------------------------------
 7. lscpu

 From lscpu from util-linux 2.37.4:
   Architecture:                       x86_64
   CPU op-mode(s):                     32-bit, 64-bit
   Address sizes:                      52 bits physical, 57 bits virtual
   Byte Order:                         Little Endian
   CPU(s):                             144
   On-line CPU(s) list:                0-143
   Vendor ID:                          AuthenticAMD
   BIOS Vendor ID:                     Advanced Micro Devices, Inc.
   Model name:                         AMD EPYC 9825 144-Core Processor
   BIOS Model name:                    AMD EPYC 9825 144-Core Processor
   CPU family:                         26
   Model:                              17
   Thread(s) per core:                 1
   Core(s) per socket:                 144
   Socket(s):                          1
   Stepping:                           0
   Frequency boost:                    enabled
   CPU(s) scaling MHz:                 60%
   CPU max MHz:                        3714.6479
   CPU min MHz:                        1500.0000
   BogoMIPS:                           4393.80
   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 amd_lbr_v2 nopl nonstop_tsc cpuid extd_apicid
                                       aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2
                                       x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy
                                       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 ssbd mba perfmon_v2 ibrs ibpb stibp
                                       ibrs_enhanced vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms
                                       invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma
                                       clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec
                                       xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local
                                       avx_vnni avx512_bf16 clzero irperf xsaveerptr rdpru wbnoinvd amd_ppin
                                       cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid
                                       decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif x2avic
                                       v_spec_ctrl vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes
                                       vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq la57 rdpid
                                       bus_lock_detect movdiri movdir64b overflow_recov succor smca fsrm
                                       avx512_vp2intersect flush_l1d debug_swap
   L1d cache:                          6.8 MiB (144 instances)
   L1i cache:                          4.5 MiB (144 instances)
   L2 cache:                           144 MiB (144 instances)
   L3 cache:                           384 MiB (12 instances)
   NUMA node(s):                       1
   NUMA node0 CPU(s):                  0-143
   Vulnerability Gather data sampling: Not affected
   Vulnerability Itlb multihit:        Not affected
   Vulnerability L1tf:                 Not affected
   Vulnerability Mds:                  Not affected
   Vulnerability Meltdown:             Not affected
   Vulnerability Mmio stale data:      Not affected
   Vulnerability Retbleed:             Not affected
   Vulnerability Spec rstack overflow: Not affected
   Vulnerability Spec store bypass:    Mitigation; Speculative Store Bypass disabled via prctl
   Vulnerability Spectre v1:           Mitigation; usercopy/swapgs barriers and __user pointer sanitization
   Vulnerability Spectre v2:           Mitigation; Enhanced / Automatic IBRS, IBPB conditional, STIBP
                                       disabled, RSB filling, PBRSB-eIBRS Not affected
   Vulnerability Srbds:                Not affected
   Vulnerability Tsx async abort:      Not affected

 From lscpu --cache:
      NAME ONE-SIZE ALL-SIZE WAYS TYPE        LEVEL  SETS PHY-LINE COHERENCY-SIZE
      L1d       48K     6.8M   12 Data            1    64        1             64
      L1i       32K     4.5M    8 Instruction     1    64        1             64
      L2         1M     144M   16 Unified         2  1024        1             64
      L3        32M     384M   16 Unified         3 32768        1             64

 ------------------------------------------------------------
 8. numactl --hardware
 NOTE: a numactl 'node' might or might not correspond to a physical chip.
   available: 1 nodes (0)
   node 0 cpus: 0-143
   node 0 size: 772622 MB
   node 0 free: 771182 MB
   node distances:
   node   0
     0:  10

 ------------------------------------------------------------
 9. /proc/meminfo
    MemTotal:       791165764 kB

 ------------------------------------------------------------
 10. who -r
   run-level 3 Apr 16 18:32

 ------------------------------------------------------------
 11. Systemd service manager version: systemd 252 (252-32.el9_4)
   Default Target  Status
   multi-user      degraded

 ------------------------------------------------------------
 12. Failed units, from systemctl list-units --state=failed
     UNIT                  LOAD   ACTIVE SUB    DESCRIPTION
   * dnf-makecache.service loaded failed failed dnf makecache

 ------------------------------------------------------------
 13. Services, from systemctl list-unit-files
   STATE            UNIT FILES
   enabled          NetworkManager NetworkManager-dispatcher NetworkManager-wait-online auditd crond
                    dbus-broker firewalld getty@ insights-client-boot irqbalance kdump low-memory-monitor
                    lvm2-monitor mdmonitor microcode nis-domainname rhsmcertd rsyslog rtkit-daemon
                    selinux-autorelabel-mark sshd sssd systemd-boot-update systemd-network-generator tuned
                    udisks2 upower
   enabled-runtime  systemd-remount-fs
   disabled         blk-availability canberra-system-bootup canberra-system-shutdown
                    canberra-system-shutdown-reboot chrony-wait chronyd chronyd-restricted console-getty
                    cpupower debug-shell dnf-system-upgrade hwloc-dump-hwdata ipsec kvm_stat
                    man-db-restart-cache-update nftables numad pesign rdisc rhcd rhsm rhsm-facts rpmdb-rebuild
                    selinux-check-proper-disable serial-getty@ sshd-keygen@ systemd-boot-check-no-failures
                    systemd-pstore systemd-sysext
   indirect         sssd-autofs sssd-kcm sssd-nss sssd-pac sssd-pam sssd-ssh sssd-sudo systemd-sysupdate
                    systemd-sysupdate-reboot

 ------------------------------------------------------------
 14. Linux kernel boot-time arguments, from /proc/cmdline
   BOOT_IMAGE=(hd0,gpt2)/vmlinuz-5.14.0-427.13.1.el9_4.x86_64
   root=/dev/mapper/rhel-root
   ro
   crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M
   resume=/dev/mapper/rhel-swap
   rd.lvm.lv=rhel/root
   rd.lvm.lv=rhel/swap

 ------------------------------------------------------------
 15. cpupower frequency-info
   analyzing CPU 17:
     current policy: frequency should be within 1.50 GHz and 2.20 GHz.
                     The governor "performance" may decide which speed to use
                     within this range.
     boost state support:
       Supported: yes
       Active: yes
       Boost States: 0
       Total States: 3
       Pstate-P0:  36800MHz

 ------------------------------------------------------------
 16. tuned-adm active
   Current active profile: throughput-performance

 ------------------------------------------------------------
 17. sysctl
   kernel.numa_balancing               0
   kernel.randomize_va_space           0
   vm.compaction_proactiveness        20
   vm.dirty_background_bytes           0
   vm.dirty_background_ratio          10
   vm.dirty_bytes                      0
   vm.dirty_expire_centisecs        3000
   vm.dirty_ratio                      8
   vm.dirty_writeback_centisecs      500
   vm.dirtytime_expire_seconds     43200
   vm.extfrag_threshold              500
   vm.min_unmapped_ratio               1
   vm.nr_hugepages                     0
   vm.nr_hugepages_mempolicy           0
   vm.nr_overcommit_hugepages          0
   vm.swappiness                       1
   vm.watermark_boost_factor       15000
   vm.watermark_scale_factor          10
   vm.zone_reclaim_mode                1

 ------------------------------------------------------------
 18. /sys/kernel/mm/transparent_hugepage
   defrag          [always] defer defer+madvise madvise never
   enabled         [always] madvise never
   hpage_pmd_size  2097152
   shmem_enabled   always within_size advise [never] deny force

 ------------------------------------------------------------
 19. /sys/kernel/mm/transparent_hugepage/khugepaged
   alloc_sleep_millisecs   60000
   defrag                      1
   max_ptes_none             511
   max_ptes_shared           256
   max_ptes_swap              64
   pages_to_scan            4096
   scan_sleep_millisecs    10000

 ------------------------------------------------------------
 20. OS release
   From /etc/*-release /etc/*-version
   os-release     Red Hat Enterprise Linux 9.4 (Plow)
   redhat-release Red Hat Enterprise Linux release 9.4 (Plow)
   system-release Red Hat Enterprise Linux release 9.4 (Plow)

 ------------------------------------------------------------
 21. Disk information
 SPEC is set to: /home/cpu2017
   Filesystem            Type  Size  Used Avail Use% Mounted on
   /dev/mapper/rhel-home xfs   1.3T   15G  1.3T   2% /home

 ------------------------------------------------------------
 22. /sys/devices/virtual/dmi/id
     Product:        2158H V8
     Product Family: Turin

 ------------------------------------------------------------
 23. dmidecode
   Additional information from dmidecode 3.5 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.
   Memory:
     12x SK Hynix HMCG94AHBRA481N 64 GB 2 rank 6400


 ------------------------------------------------------------
 24. BIOS
 (This section combines info from /sys/devices and dmidecode.)
    BIOS Vendor:       American Megatrends International, LLC.
    BIOS Version:      00.13.02.04
    BIOS Date:         04/02/2025
    BIOS Revision:     2.4

Compiler Version Notes

============================================================================================================
C               | 619.lbm_s(base, peak) 638.imagick_s(base, peak) 644.nab_s(base, peak)
------------------------------------------------------------------------------------------------------------
AMD clang version 17.0.6 (CLANG: AOCC_5.0.0-Build#1316 2024_09_09)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/AMD/aocc/aocc-compiler-rel-5.0.0-4925-1316/bin
------------------------------------------------------------------------------------------------------------

============================================================================================================
C++, C, Fortran | 607.cactuBSSN_s(base, peak)
------------------------------------------------------------------------------------------------------------
AMD clang version 17.0.6 (CLANG: AOCC_5.0.0-Build#1316 2024_09_09)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/AMD/aocc/aocc-compiler-rel-5.0.0-4925-1316/bin
AMD clang version 17.0.6 (CLANG: AOCC_5.0.0-Build#1316 2024_09_09)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/AMD/aocc/aocc-compiler-rel-5.0.0-4925-1316/bin
AMD clang version 17.0.6 (CLANG: AOCC_5.0.0-Build#1316 2024_09_09)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/AMD/aocc/aocc-compiler-rel-5.0.0-4925-1316/bin
------------------------------------------------------------------------------------------------------------

============================================================================================================
Fortran         | 603.bwaves_s(base, peak) 649.fotonik3d_s(base, peak) 654.roms_s(base, peak)
------------------------------------------------------------------------------------------------------------
AMD clang version 17.0.6 (CLANG: AOCC_5.0.0-Build#1316 2024_09_09)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/AMD/aocc/aocc-compiler-rel-5.0.0-4925-1316/bin
------------------------------------------------------------------------------------------------------------

============================================================================================================
Fortran, C      | 621.wrf_s(base, peak) 627.cam4_s(base, peak) 628.pop2_s(base, peak)
------------------------------------------------------------------------------------------------------------
AMD clang version 17.0.6 (CLANG: AOCC_5.0.0-Build#1316 2024_09_09)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/AMD/aocc/aocc-compiler-rel-5.0.0-4925-1316/bin
AMD clang version 17.0.6 (CLANG: AOCC_5.0.0-Build#1316 2024_09_09)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/AMD/aocc/aocc-compiler-rel-5.0.0-4925-1316/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:

 -m64   -Wl,-mllvm -Wl,-align-all-nofallthru-blocks=6   -Wl,-mllvm -Wl,-reduce-array-computations=3   -O3   -march=znver5   -fveclib=AMDLIBM   -ffast-math   -fopenmp   -DSPEC_OPENMP   -flto   -fremap-arrays   -fstrip-mining   -fstruct-layout=7   -mllvm -inline-threshold=1000   -mllvm -reduce-array-computations=3   -mllvm -unroll-threshold=50   -zopt   -mrecip=none   -fopenmp=libomp   -lomp   -lamdlibm   -lamdalloc   -lflang 

Fortran benchmarks:

 -m64   -Wl,-mllvm -Wl,-align-all-nofallthru-blocks=6   -Wl,-mllvm -Wl,-reduce-array-computations=3   -Wl,-mllvm -Wl,-enable-X86-prefetching   -DSPEC_OPENMP   -O3   -march=znver5   -fveclib=AMDLIBM   -ffast-math   -fopenmp   -flto   -funroll-loops   -mllvm -lsr-in-nested-loop   -mllvm -reduce-array-computations=3   -Mrecursive   -zopt   -fopenmp=libomp   -lomp   -lamdlibm   -lamdalloc   -lflang 

Benchmarks using both Fortran and C:

 -m64   -Wl,-mllvm -Wl,-align-all-nofallthru-blocks=6   -Wl,-mllvm -Wl,-reduce-array-computations=3   -Wl,-mllvm -Wl,-enable-X86-prefetching   -O3   -march=znver5   -fveclib=AMDLIBM   -ffast-math   -fopenmp   -DSPEC_OPENMP   -flto   -fremap-arrays   -fstrip-mining   -fstruct-layout=7   -mllvm -inline-threshold=1000   -mllvm -reduce-array-computations=3   -mllvm -unroll-threshold=50   -zopt   -funroll-loops   -mllvm -lsr-in-nested-loop   -Mrecursive   -mrecip=none   -fopenmp=libomp   -lomp   -lamdlibm   -lamdalloc   -lflang 

Benchmarks using Fortran, C, and C++:

 -m64   -std=c++14   -Wl,-mllvm -Wl,-align-all-nofallthru-blocks=6   -Wl,-mllvm -Wl,-reduce-array-computations=3   -Wl,-mllvm -Wl,-x86-use-vzeroupper=false   -O3   -march=znver5   -fveclib=AMDLIBM   -ffast-math   -fopenmp   -DSPEC_OPENMP   -flto   -fremap-arrays   -fstrip-mining   -fstruct-layout=7   -mllvm -inline-threshold=1000   -mllvm -reduce-array-computations=3   -mllvm -unroll-threshold=50   -zopt   -mllvm -loop-unswitch-threshold=200000   -mllvm -unroll-threshold=100   -funroll-loops   -mllvm -lsr-in-nested-loop   -Mrecursive   -mrecip=none   -fopenmp=libomp   -lomp   -lamdlibm   -lamdalloc   -lflang 

Base Other Flags

C benchmarks:

 -Wno-return-type   -Wno-unused-command-line-argument 

Fortran benchmarks:

 -Wno-unused-command-line-argument 

Benchmarks using both Fortran and C:

 -Wno-return-type   -Wno-unused-command-line-argument 

Benchmarks using Fortran, C, and C++:

 -Wno-return-type   -Wno-unused-command-line-argument 

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:

619.lbm_s:  -m64   -Wl,-mllvm -Wl,-align-all-nofallthru-blocks=6   -Wl,-mllvm -Wl,-reduce-array-computations=3   -Ofast   -march=znver5   -fveclib=AMDLIBM   -ffast-math   -fopenmp   -flto   -DSPEC_OPENMP   -fremap-arrays   -fstrip-mining   -fstruct-layout=9   -mllvm -inline-threshold=1000   -mllvm -reduce-array-computations=3   -mllvm -unroll-threshold=50   -zopt   -fopenmp=libomp   -lomp   -lamdlibm   -lamdalloc   -lflang 
638.imagick_s:  Same as 619.lbm_s 
644.nab_s:  -m64   -Wl,-mllvm -Wl,-align-all-nofallthru-blocks=6   -Wl,-mllvm -Wl,-reduce-array-computations=3   -Ofast   -march=znver5   -fveclib=AMDLIBM   -ffast-math   -fopenmp   -flto   -DSPEC_OPENMP   -fremap-arrays   -fstrip-mining   -fstruct-layout=9   -mllvm -inline-threshold=1000   -mllvm -reduce-array-computations=3   -mllvm -unroll-threshold=50   -zopt   -mrecip=none   -fopenmp=libomp   -lomp   -lamdlibm   -lamdalloc   -lflang 

Fortran benchmarks:

603.bwaves_s:  -m64   -Wl,-mllvm -Wl,-align-all-nofallthru-blocks=6   -Wl,-mllvm -Wl,-reduce-array-computations=3   -Wl,-mllvm -Wl,-enable-X86-prefetching   -DSPEC_OPENMP   -Ofast   -march=znver5   -fveclib=AMDLIBM   -ffast-math   -fopenmp   -fscalar-transform   -fvector-transform   -mllvm -reduce-array-computations=3   -Mrecursive   -fopenmp=libomp   -lomp   -lamdlibm   -lamdalloc   -lflang 
649.fotonik3d_s:  -m64   -Wl,-mllvm -Wl,-align-all-nofallthru-blocks=6   -Wl,-mllvm -Wl,-reduce-array-computations=3   -Wl,-mllvm -Wl,-enable-X86-prefetching   -DSPEC_OPENMP   -Ofast   -march=znver5   -fveclib=AMDLIBM   -ffast-math   -fopenmp   -flto   -mllvm -reduce-array-computations=3   -Mrecursive   -zopt   -fopenmp=libomp   -lomp   -lamdlibm   -lamdalloc   -lflang 
654.roms_s:  Same as 603.bwaves_s 

Benchmarks using both Fortran and C:

621.wrf_s:  -m64   -Wl,-mllvm -Wl,-align-all-nofallthru-blocks=6   -Wl,-mllvm -Wl,-reduce-array-computations=3   -Wl,-mllvm -Wl,-enable-X86-prefetching   -Ofast   -march=znver5   -fveclib=AMDLIBM   -ffast-math   -fopenmp   -flto   -DSPEC_OPENMP   -fremap-arrays   -fstrip-mining   -fstruct-layout=9   -mllvm -inline-threshold=1000   -mllvm -reduce-array-computations=3   -mllvm -unroll-threshold=50   -zopt   -funroll-loops   -mllvm -lsr-in-nested-loop   -Mrecursive   -fopenmp=libomp   -lomp   -lamdlibm   -lamdalloc   -lflang 
627.cam4_s:  -m64   -Wl,-mllvm -Wl,-align-all-nofallthru-blocks=6   -Wl,-mllvm -Wl,-reduce-array-computations=3   -Wl,-mllvm -Wl,-enable-X86-prefetching   -Ofast   -march=znver5   -fveclib=AMDLIBM   -ffast-math   -fopenmp   -flto   -DSPEC_OPENMP   -fremap-arrays   -fstrip-mining   -fstruct-layout=9   -mllvm -inline-threshold=1000   -mllvm -reduce-array-computations=3   -mllvm -unroll-threshold=50   -zopt   -Mrecursive   -mrecip=none   -fopenmp=libomp   -lomp   -lamdlibm   -lamdalloc   -lflang 
628.pop2_s:  -m64   -Wl,-mllvm -Wl,-align-all-nofallthru-blocks=6   -Wl,-mllvm -Wl,-reduce-array-computations=3   -Wl,-mllvm -Wl,-enable-X86-prefetching   -Ofast   -march=znver5   -fveclib=AMDLIBM   -ffast-math   -fopenmp   -flto   -DSPEC_OPENMP   -fremap-arrays   -fstrip-mining   -fstruct-layout=9   -mllvm -inline-threshold=1000   -mllvm -reduce-array-computations=3   -mllvm -unroll-threshold=50   -zopt   -fscalar-transform   -fvector-transform   -Mrecursive   -fopenmp=libomp   -lomp   -lamdlibm   -lamdalloc   -lflang 

Benchmarks using Fortran, C, and C++:

 -m64   -std=c++14   -Wl,-mllvm -Wl,-align-all-nofallthru-blocks=6   -Wl,-mllvm -Wl,-reduce-array-computations=3   -Wl,-mllvm -Wl,-x86-use-vzeroupper=false   -Ofast   -march=znver5   -fveclib=AMDLIBM   -ffast-math   -fopenmp   -flto   -DSPEC_OPENMP   -fremap-arrays   -fstrip-mining   -fstruct-layout=9   -mllvm -inline-threshold=1000   -mllvm -reduce-array-computations=3   -mllvm -unroll-threshold=50   -zopt   -mllvm -unroll-threshold=100   -Mrecursive   -fopenmp=libomp   -lomp   -lamdlibm   -lamdalloc   -lflang 

Peak Other Flags

C benchmarks:

 -Wno-return-type   -Wno-unused-command-line-argument 

Fortran benchmarks:

 -Wno-unused-command-line-argument 

Benchmarks using both Fortran and C:

 -Wno-return-type   -Wno-unused-command-line-argument 

Benchmarks using Fortran, C, and C++:

 -Wno-return-type   -Wno-unused-command-line-argument 

The flags files that were used to format this result can be browsed at
http://www.spec.org/cpu2017/flags/aocc500-flags.2024-10-10.html,
http://www.spec.org/cpu2017/flags/xFusion-Platform-Settings-AMD-V1.3.html.

You can also download the XML flags sources by saving the following links:
http://www.spec.org/cpu2017/flags/aocc500-flags.2024-10-10.xml,
http://www.spec.org/cpu2017/flags/xFusion-Platform-Settings-AMD-V1.3.xml.