# Invocation command line:
# /home/omp2012/bin/runspec --config=pgi_SR655_omp2012.cfg --reportable --verbose=7 -flagsurl ./config/flags/Lenovo-OMP2012-AMD-PGI-20210518.xml,./config/flags/Lenovo-Platform-SPEComp2012-Flags-V1.0-AMD-20210518.xml --threads=128 --size=ref all
# output_root was not used for this run
############################################################################
# SPEComp config file for Lenovo
#
#################################################
# System Description  				#
#################################################
#   Header section  				#
#################################################
#
VENDOR			= Lenovo Global Technology
action			= validate
tune			= all
ext			= omp2012-lenovo-SR655
PATHSEP			= /
check_md5		= 1
env_vars		= 1
iterations		= 3
level			= 40
output_format		= all
baskup_config		= 0
sysinfo_program		= $[top]/Docs/sysinfo -f
basepeak		= 1

#include:Lenovo_SUT.inc
#  ----- Begin inclusion of 'Lenovo_SUT.inc'
############################################################################
#include: Lenovo_SR655-1S-mem3200.inc
#  ----- Begin inclusion of 'Lenovo_SR655-1S-mem3200.inc'
############################################################################

license_num   			= 28
test_sponsor   	 		= Lenovo Global Technology
company_name			= Lenovo Global Technology
machine_name			= ThinkSystem SR655
fw_bios        			= Lenovo BIOS Version CFE125L released 03/26/2021
hw_avail       			= Jun-2021
sw_avail       			= Jun-2021
tester     	 		= Lenovo Global Technology
prepared_by			= Sinper Liang
test_date			= May-2021
#display_order			= 1a

#------ flags files ---
flagsurl1			= Lenovo-OMP2012-AMD-PGI-20210516.xml

#----- System ------------
#
hw_vendor			= Lenovo Global Technology
hw_model			= ThinkSystem SR655(AMD EYPC 7763 CPU, 2.45GHz)

#----- CPU ---------------
# reference to "Lenovo_AMD_EPYC_7742.inc"

#----- Hardisk -----------
#
hw_disk     			= 1 x 1 TB SATA Hard Drive

#----- Memory ------------
#
hw_memory                       = 256 GB ( 8 x 32 GB 2Rx8 PC4-3200AA-R)

#----- Others ------------
hw_other        		= None

#------ Software configuration -----------

sw_compiler000                  = C/C++/Fortran: Version 19.10 of PGI Community
sw_compiler001 = Edition
sw_file          		= xfs
sw_os000                        = Red Hat Enterprise Linux Server release 8.3
sw_os001                        = , Kernel 4.18.0-240.el8.x86_64
sw_state         		= Multi-user, run level 3
sw_base_ptrsize			= 64-bit
sw_peak_ptrsize			= 64-bit
sw_other         		= None

#################################################

# General OMP Library Settings
notes_000               ===============================================
notes_005               = General OMP Library Settings
notes_010               = KMP_AFFINITY    = granularity=fine,proclist=[0-7,8-15,
notes_015               =       16-23,24-31,32-39,40-47,48-55,56-63,64-71,72-79,80-87,
notes_020               =       88-95,96-103,104-111,112-119,120-127],explicit
notes_025               = KMP_STACKSIZE         = 256M
notes_030               = KMP_BLOCKTIME         = infinite
notes_035               = KMP_LIBRARY           = turnaround
notes_040               = OMP_NESTED            = FALSE
notes_045               = OMP_DYNAMIC           = FALSE
notes_050               = OMP_SCHEDULE          = static
notes_055               = OMP_THREADS           = 128
notes_060               =
notes_065               ===============================================
notes_070               = uEFI Setting notes:
notes_075               =  - Choose Operating Mode set to Maximum Performance and changed to Customer Mode
notes_080               =  - LLC as NUMA Node set as Disabled
notes_085               =  - SMT Mode as Auto
notes_090               =  - NUMA nodes per sockets set as NPS1
notes_095               =
notes_100               ===============================================
notes_105               = Yes: The test sponsor attests, as of date of publication, the CVE-2017-5754 (Meltdown)
notes_110               = is mitigated in the system as tested and documented.
notes_115               = Yes: The test sponsor attests, as of date of publication, the CVE-2017-5753 (Spectre variant 1)
notes_120               = is mitigated in the system as tested and documented.
notes_125               = Yes: The test sponsor attests, as of date of publication, that CVE-2017-5754 (Spectre variant 2)
notes_130               = is mitigated in the system as tested and documented.
notes_135               ==============================================
notes_140               = OS tunning:
notes_145               =       ulimit -s unlimited
# ---- End inclusion of '/home/omp2012/config/Lenovo_SR655-1S-mem3200.inc'
#include: Lenovo_AMD_EPYC_7763.inc
#  ----- Begin inclusion of 'Lenovo_AMD_EPYC_7763.inc'
############################################################################
hw_cpu_name      	= AMD EPYC 7763
hw_cpu_char		= None
hw_cpu_mhz		= 2450
hw_cpu_max_mhz    	= 3500
hw_fpu		      	= Integrated
hw_nchips		= 1
hw_ncpuorder     	= 1 Chips
hw_ncoresperchip	= 64
hw_nthreadspercore 	= 2
hw_ncores		= 64
hw_pcache        	= 32 KB I + 32 KB D on chip per core
hw_scache        	= 512 KB I+D on chip per core
hw_tcache               = 256 MB I+D on chip per chip
hw_ocache        	= None
# ---- End inclusion of '/home/omp2012/config/Lenovo_AMD_EPYC_7763.inc'
# ---- End inclusion of '/home/omp2012/config/Lenovo_SUT.inc'
flagsurl000             = http://www.spec.org/omp2012/flags/Lenovo-OMP2012-AMD-PGI.xml
flagsurl001             = http://www.spec.org/omp2012/flags/Lenovo-Platform-SPEComp2012-Flags-V1.0-AMD.xml

#################################################
#  Benchamrk Tuning Extension Machine 		#
#################################################

default=default=default=default:
CC			= pgcc
FC			= pgfortran
CXX			= pgc++
OBJ			= .o

#------------------------------------------------
# Portability & Libraries 			-
#------------------------------------------------
default=default=default=default:

ENV_KMP_AFFINITY=granularity=fine,proclist=[0-7,8-15,16-23,24-31,32-39,40-47,48-55,56-63,64-71,72-79,80-87,88-95,96-103,104-111,112-119,120-127],explicit

ENV_KMP_LIBRARY=turnaround
ENV_KMP_STACKSIZE=256M
ENV_KMP_BLOCKTIME=infinite
ENV_OMP_THREADS=128
ENV_OMP_DYNAMIC=FALSE
ENV_OMP_NESTED=FALSE
ENV_OMP_SCHEDULE=static

ENV_OMP_PROC_BIND=close
ENV_OMP_PLACES=cores


###################################
350.md=default=default=default:
FPORTABILITY		= -Mfree

#351.bwaves=default=default=default:
#FPORTABILITY		= -Mcray=pointer

357.bt331=default=default=default:
FPORTABILITY		= -mcmodel=medium

362.fma3d=default=default=default:
FPORTABILITY		= -Mfree

363.swim=default=default=default:
FPORTABILITY		= -mcmodel=medium

#########################################
# Base Tuning default Optimization      #
#########################################
default=default=default=default:                        # all benchmark use 'base' tuning.

OPTIMIZE                = -O3 -tp=zen -mp -m64 -fast -Mpre -Mlre -Mfprelaxed -Mstack_arrays
COPTIMIZE               = -Masmkeyword -Mnosingle -Mschar
CXXOPTIMIZE             = -Mnoasmkeyword
FOPTIMIZE               = -Mallocatable=95 -Mnoupcase -Mdefaultunit -Mnostride0 -Mnoiomutex -Mcray=pointer


#######################################################################













# The following settings were obtained by running '$[top]/Docs/sysinfo -f'
default:
notes_plat_sysinfo_000 = Sysinfo program /home/omp2012/Docs/sysinfo
notes_plat_sysinfo_005 = Revision 563 of 2016-06-10 (097295389cf6073d8c3b03fa376740a5)
notes_plat_sysinfo_010 = running on amd2srh833 Mon May 31 17:50:44 2021
notes_plat_sysinfo_015 =
notes_plat_sysinfo_020 = This section contains SUT (System Under Test) info as seen by
notes_plat_sysinfo_025 = some common utilities.  To remove or add to this section, see:
notes_plat_sysinfo_030 =   http://www.spec.org/omp2012/Docs/config.html#sysinfo
notes_plat_sysinfo_035 =
notes_plat_sysinfo_040 = From /proc/cpuinfo
notes_plat_sysinfo_045 =    model name : AMD EPYC 7763 64-Core Processor
notes_plat_sysinfo_050 =       1 "physical id"s (chips)
notes_plat_sysinfo_055 =       128 "processors"
notes_plat_sysinfo_060 =    cores, siblings (Caution: counting these is hw and system dependent.  The
notes_plat_sysinfo_065 =    following excerpts from /proc/cpuinfo might not be reliable.  Use with
notes_plat_sysinfo_070 =    caution.)
notes_plat_sysinfo_075 =       cpu cores : 64
notes_plat_sysinfo_080 =       siblings  : 128
notes_plat_sysinfo_085 =       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
notes_plat_sysinfo_090 =       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
notes_plat_sysinfo_095 =       47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
notes_plat_sysinfo_100 =    cache size : 512 KB
notes_plat_sysinfo_105 =
notes_plat_sysinfo_110 = From /proc/meminfo
notes_plat_sysinfo_115 =    MemTotal:       263697932 kB
notes_plat_sysinfo_120 =    HugePages_Total:       0
notes_plat_sysinfo_125 =    Hugepagesize:       2048 kB
notes_plat_sysinfo_130 =
notes_plat_sysinfo_135 = From /etc/*release* /etc/*version*
notes_plat_sysinfo_140 =    os-release:
notes_plat_sysinfo_145 =       NAME="Red Hat Enterprise Linux"
notes_plat_sysinfo_150 =       VERSION="8.3 (Ootpa)"
notes_plat_sysinfo_155 =       ID="rhel"
notes_plat_sysinfo_160 =       ID_LIKE="fedora"
notes_plat_sysinfo_165 =       VERSION_ID="8.3"
notes_plat_sysinfo_170 =       PLATFORM_ID="platform:el8"
notes_plat_sysinfo_175 =       PRETTY_NAME="Red Hat Enterprise Linux 8.3 (Ootpa)"
notes_plat_sysinfo_180 =       ANSI_COLOR="0;31"
notes_plat_sysinfo_185 =    redhat-release: Red Hat Enterprise Linux release 8.3 (Ootpa)
notes_plat_sysinfo_190 =    system-release: Red Hat Enterprise Linux release 8.3 (Ootpa)
notes_plat_sysinfo_195 =    system-release-cpe: cpe:/o:redhat:enterprise_linux:8.3:ga
notes_plat_sysinfo_200 =
notes_plat_sysinfo_205 = uname -a:
notes_plat_sysinfo_210 =    Linux amd2srh833 4.18.0-240.el8.x86_64 #1 SMP Wed Sep 23 05:13:10 EDT 2020
notes_plat_sysinfo_215 =    x86_64 x86_64 x86_64 GNU/Linux
notes_plat_sysinfo_220 =
notes_plat_sysinfo_225 = run-level 3 May 31 17:37
notes_plat_sysinfo_230 =
notes_plat_sysinfo_235 = SPEC is set to: /home/omp2012
notes_plat_sysinfo_240 =    Filesystem     Type  Size  Used Avail Use% Mounted on
notes_plat_sysinfo_245 =    /dev/sda3      xfs   419G  123G  297G  30% /home
notes_plat_sysinfo_250 = Additional information from dmidecode:
notes_plat_sysinfo_255 =
notes_plat_sysinfo_260 =    Warning: Use caution when you interpret this section. The 'dmidecode' program
notes_plat_sysinfo_265 =    reads system data which is "intended to allow hardware to be accurately
notes_plat_sysinfo_270 =    determined", but the intent may not be met, as there are frequent changes to
notes_plat_sysinfo_275 =    hardware, firmware, and the "DMTF SMBIOS" standard.
notes_plat_sysinfo_280 =
notes_plat_sysinfo_285 =   BIOS Lenovo             CFE125L 03/26/2021
notes_plat_sysinfo_290 =   Memory:
notes_plat_sysinfo_295 =    8x Samsung M393A4G43AB3-CWE 32 GB 2 rank 3200 MT/s
notes_plat_sysinfo_300 =    8x Unknown Unknown
notes_plat_sysinfo_305 =
notes_plat_sysinfo_310 = (End of data from sysinfo program)
# hw_cpu_name    = AMD EPYC 7763 64-Core
# hw_disk        = 419 GB  add more disk info here
# hw_memory001   = 251.482 GB fixme: If using DDR3, format is:
# hw_memory002   = 'N GB (M x N GB nRxn PCn-nnnnnR-n, ECC)'
# hw_nchips      = 1
# prepared_by    = root  (is never output, only tags rawfile)
# sw_file        = xfs
# sw_os001       = Red Hat Enterprise Linux release 8.3 (Ootpa)
# sw_os002       = 4.18.0-240.el8.x86_64
# sw_state       = Run level 3 (add definition here)