# Invocation command line:
# /home/HPC2021v118/bin/harness/runhpc --reportable --config=BLR.cfg --tune=base --pmodel=OMP --define model=omp --threads=30 --rank=32 --define NRNK=32 --size=ref --iterations=3 tiny small
# output_root was not used for this run
############################################################################

# The following setting was inserted automatically as a result of
# post-run basepeak application.
basepeak = 1

build_in_build_dir=0        # build in run dir

strict_rundir_verify = 1
%ifndef %{label}         # IF acctype is not set use mpi
%   define label icx_I204_IMPI204
%endif

%ifndef %{model}         # IF acctype is not set use mpi
%   define model mpi
%endif

teeout = yes
makeflags=-j 40

#flagsurl=$[top]/intel5.xml

######################################################################
# The header section of the config file.  Must appear
# before any instances of "section markers" (see below)
#
# ext = how the binaries you generated will be identified
# tune = specify "base" or "peak" or "all"

label         = %{label}_%{model}
tune          = base
output_format = text
use_submit_for_speed = 1

default:
AR           = ar
ARFLAGS      = cr
CC           = mpiicc -cc=icx
CXX          = mpiicpc -cxx=icpx
FC           = mpiifort  -fc=ifx
system_class = Homogenous
sw_compiler000= Intel oneAPI 2024 Update 2
sw_compiler001 = Build 20240602
sw_mpi_library000= Intel MPI Library for Linux* OS
sw_mpi_library001 = Version 2021 Update 13 Build 20240515

test_sponsor = Lenovo Global Technology
license_num = 28
tester = Lenovo Global Technology
hw_avail     = Oct-2023
sw_avail     = Jun-2024
prepared_by = Lenovo Global Technology
system_vendor = Lenovo Global Technology
system_name = ThinkSystem SR950V3 (Intel Xeon 8490H)
hw_vendor_list = Lenovo Global Technology
hw_total_accel = 0
hw_model_list = ThinkSystem SR950V3
hw_cpu_name_list = Intel Xeon 8490H
hw_accel_vendor_list = None
hw_accel_model_list = None
node_compute_hw_accel_vendor = None
node_compute_hw_accel_type = None
node_compute_hw_accel_model = None
node_compute_hw_accel_ecc = None
node_compute_hw_accel_desc = None
node_compute_hw_accel_count = 0
node_compute_hw_accel_connect = None
node_compute_syslbl = ThinkSystem SR950V3
node_compute_sw_state = Multi-user, run level 3
node_compute_sw_sharedfile = None
node_compute_sw_other = None
node_compute_sw_localfile = xfs
node_compute_purpose = compute
node_compute_order = 1
node_compute_hw_vendor = Lenovo Global Technology
node_compute_hw_scache = 2 MB I+D on chip per core
node_compute_hw_pcache = 32 KB I + 48 KB D on chip per core
node_compute_hw_other = None
node_compute_hw_ocache = None
node_compute_hw_nthreadspercore = 1
node_compute_hw_ncpuorder = 8 chips
node_compute_hw_ncoresperchip = 60
node_compute_hw_ncores = 480
node_compute_hw_nchips = 8
node_compute_hw_model = ThinkSystem SR950V3
node_compute_hw_memory = 4 TB (64 x 64 GB 2Rx4 PC4-4800V)
node_compute_hw_disk = 1 x 960 GB M.2 NVME SSD
node_compute_hw_cpu_name = Intel Xeon 8490H
node_compute_hw_cpu_mhz = 1900
node_compute_hw_cpu_char = Intel Turbo Boost Technology up to 3.5 GHz
node_compute_hw_adapter_fs_slot_type = None
node_compute_hw_adapter_fs_ports_used = 0
node_compute_hw_adapter_fs_model = None
node_compute_hw_adapter_fs_interconnect = None
node_compute_hw_adapter_fs_firmware = None
node_compute_hw_adapter_fs_driver = None
node_compute_hw_adapter_fs_data_rate = None
node_compute_hw_adapter_fs_count = 0
node_compute_count = 1
interconnect_fs_syslbl = N/A
interconnect_fs_purpose = N/A
interconnect_fs_order = 0
interconnect_fs_label = N/A
interconnect_fs_hw_vendor = N/A
interconnect_fs_hw_topo = N/A
interconnect_fs_hw_switch_fs_ports = 0
interconnect_fs_hw_switch_fs_model = N/A
interconnect_fs_hw_switch_fs_firmware = N/A
interconnect_fs_hw_switch_fs_data_rate = N/A
interconnect_fs_hw_switch_fs_count = 0
interconnect_fs_hw_model = N/A

CC_VERSION_OPTION  = -V -c
CXX_VERSION_OPTION = -V -c
FC_VERSION_OPTION  = -V -c


%if %{VEC} eq 'novec'
    vec=-no-vec
%elif %{VEC} eq 'avx2'
    vec=-xCORE-AVX2
%elif %{VEC} eq 'avx512'
    vec=-xCORE-AVX512
%elif %{VEC} eq 'avx512_high'
    vec=-xCORE-AVX512 -qopt-zmm-usage=high
%else
    vec=-xCORE-AVX512
%endif


default=base,peak=default:
OPTIMIZE      = -Ofast -xCORE-AVX512 -ipo #-ffast-math -fimf-precision=low:sin,sqrt #-no-prec-div
COPTIMIZE     = -ansi-alias
CXXOPTIMIZE   = -ansi-alias
FOPTIMIZE     = -nostandard-realloc-lhs -align array64byte
PORTABILITY   = -lstdc++ -std=c++14 -Wno-incompatible-function-pointer-types




%if %{model} eq 'mpi'
        submit = mpirun -hosts 10.241.70.23 -np $ranks $command
%else %{model} eq 'omp'
#       submit = mpiexec --allow-run-as-root -host 192.168.99.15:24,192.168.99.16:24 -np $ranks $command
        submit = mpiexec -hosts 10.240.55.221 -np $ranks -genv OMP_NUM_THREADS=$threads  -ppn %{NRNK} $command
%endif

%if %{model} eq 'omp'
  pmodel=OMP
  OPTIMIZE += -fiopenmp
%endif

default=base=default:
    ranks   = %{RANKS}
    threads = %{THREADS}
    ppn     = %{NRNK}

#default=peak=default:
basepeak=0

613.soma_s=default=default:
%if %{model} eq 'omp'
        PORTABILITY += -DSPEC_NO_VAR_ARRAY_REDUCE
%endif

513.soma_t=default=default:
%if %{model} eq 'omp'
        PORTABILITY += -DSPEC_NO_VAR_ARRAY_REDUCE
%endif

505.lbm_t=peak:
    basepeak=1

513.soma_t=peak:
    basepeak=1

518.tealeaf_t=peak:
    ranks=24
    threads=8
    pmodel=OMP

519.clvleaf_t=peak:
    ranks=24
    threads=8
    pmodel=OMP

521.miniswp_t=peak:
    ranks=4
    threads=96
    pmodel=OMP

528.pot3d_t=peak:
    basepeak=1

532.sph_exa_t=peak:
    basepeak=1

534.hpgmgfv_t=peak:
    basepeak=1

535.weather_t=peak:
     basepeak=1



# The following section was added automatically, and contains settings that
# did not appear in the original configuration file, but were added to the
# raw file after the run.
default:
flagsurl000 = http://www.spec.org/hpc2021/flags/Intel_compiler_flags.2024-11-13.xml
node_compute_hw_tcache    = 115200 KB I+D on chip per chip
node_compute_sw_os000 = Red Hat Enterprise Linux Server release 9,
node_compute_sw_os001 = Kernel 5.14.0-70.22.1.el9.x86_64
sw_os_list000 = Red Hat Enterprise Linux Server release 9,Kernel
sw_os_list001 = 5.14.0-70.22.1.el9.x86_64