# Invocation command line:
# /home/omp2012/bin/runspec --config=pgi_SR665_Milan_omp2012.cfg --reportable --verbose=7 -flagsurl ./config/flags/Lenovo-OMP2012-AMD-PGI-20210219.xml --threads=256 --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-SR665
PATHSEP			= /
check_md5		= 1
env_vars		= 1
iterations		= 3
level			= 40
output_format		= all
baskup_config		= 0
sysinfo_program		= $[top]/Docs/sysinfo -f

#include:Lenovo_SUT.inc
#  ----- Begin inclusion of 'Lenovo_SUT.inc'
############################################################################
#include: Lenovo_AMD_EPYC_7763.inc
#  ----- Begin inclusion of 'Lenovo_AMD_EPYC_7763.inc'
############################################################################
hw_cpu_name      	= AMD EPYC 7763 CPU
hw_cpu_char                     = Turbo up to 3.5 GHz
hw_cpu_mhz			= 2450
hw_cpu_max_mhz    	= 3500
hw_fpu		      	= Integrated
hw_nchips			= 2
hw_ncpuorder     	= 1,2 Chips
hw_ncoresperchip	= 64
hw_nthreadspercore 	= 2
hw_ncores			= 128
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,32 MB shared / 8 cores
hw_ocache        	= None
# ---- End inclusion of '/home/omp2012/config/Lenovo_AMD_EPYC_7763.inc'
#include: Lenovo_SR665-2S-mem3200.inc
#  ----- Begin inclusion of 'Lenovo_SR665-2S-mem3200.inc'
############################################################################

license_num                     = 28
test_sponsor   	 		= Lenovo Global Technology
company_name			= Lenovo Global Technology
machine_name			= ThinkSystem SR655
fw_bios        			= Lenovo BIOS Version U8E113Y released 01/20/2021
hw_avail       			= Mar-2021
sw_avail       			= Mar-2021
tester     	 		= Lenovo Global Technology
prepared_by			= Sinper Liang
#test_date			=
#display_order			= 1a

hw_vendor			= Lenovo Global Technology
hw_model			= ThinkSystem SR665(AMD EYPC 7763 CPU, 2.45GHz)
hw_disk     			= 1 x 1 TB SATA Hard Drive
hw_memory                       = 1 TB ( 32 x 32 GB 2Rx8 PC4-3200AA-R)
hw_other        		= None


sw_compiler000                  = C/C++/Fortran: Version 19.4 of PGI Community
sw_compiler001 = Edition
sw_file          		= xfs
sw_os000                        = Red Hat Enterprise Linux 8.3 (x86_64)
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			= Not Applicable
sw_other         		= None

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

# General OMP Library Settings
notes_000               ===============================================
notes_005               = General OMP Library Settings
notes_010               =       ENV_KMP_AFFINITY=granularity=fine,proclist=[0-15,16-31,32-47,48-63,64-79,
notes_015               =       80-95,96-111,112-127,128-143,144-159,160-175,176-191,192-207,208-223,
notes_020               =       224-239,240-255],explicit
notes_025               =
notes_030               =       ENV_OMP_THREADS         = 256
notes_035               =       ENV_KMP_STACKSIZE       = 256M
notes_040               =       ENV_KMP_BLOCKTIME       = infinite
notes_045               =       ENV_KMP_LIBRARY         = turnaround
notes_050               =       ENV_OMP_DYNAMIC         = FALSE
notes_055               =       ENV_OMP_NESTED          = FALSE
notes_060               =       ENV_OMP_SCHEDULE        = static
notes_065               =
notes_070               ===============================================
notes_075               =  BIOS Setting notes:
notes_080               =  -------------------
notes_085               =  Choose Operating Mode set to Maximum Performance and changed to Customer Mode
notes_090               =  CPPC set as Disable
notes_095               =  ACPI SRAT L3 Cache as NUMA Domain set as Enabled
notes_100               =  SOC P-State set as P0
notes_105               = ============================================
notes_110               = Yes: The test sponsor attests, as of date of publication, the CVE-2017-5754 (Meltdown)
notes_115               = is mitigated in the system as tested and documented.
notes_120               = Yes: The test sponsor attests, as of date of publication, the CVE-2017-5753 (Spectre variant 1)
notes_125               = is mitigated in the system as tested and documented.
notes_130               = Yes: The test sponsor attests, as of date of publication, that CVE-2017-5754 (Spectre variant 2)
notes_135               = is mitigated in the system as tested and documented.
notes_140               ==============================================
notes_145               = OS tunning:
notes_150               =       ulimit -s unlimited
notes_155 ==============================================
notes_160 = Peak config:
notes_165 = 359.botsspar:peak
notes_170 =     threads=128
notes_175 = 371.applu331:peak
notes_180 =     threads=128
notes_185 ==============================================
# ---- End inclusion of '/home/omp2012/config/Lenovo_SR665-2S-mem3200.inc'




# ---- End inclusion of '/home/omp2012/config/Lenovo_SUT.inc'


#################################################
#  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-15,16-31,32-47,48-63,64-79,80-95,96-111,112-127,128-143,144-159,160-175,176-191,192-207,208-223,224-239,240-255],explicit
ENV_KMP_LIBRARY=turnaround
ENV_KMP_STACKSIZE=256M
ENV_KMP_BLOCKTIME=infinite
ENV_OMP_THREADS=256
ENV_OMP_DYNAMIC=FALSE
ENV_OMP_NESTED=FALSE
ENV_OMP_SCHEDULE=static


###################################
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

#################################################################
# Tuning Optimization						#
#################################################################

%if defined(%{BASEOPT})
%  define BASEOPT -O3 -tp=zen -mp -m64 -fast -Mmovnt -Mfprelaxed
%else
%  define BASEOPT -O3 -tp=zen -mp -m64 -fast -Mmovnt -Mfprelaxed
%endif

%if defined(%{BASECOPT})
%  define BASECOPT -Masmkeyword -Mnosingle -Mschar -Mnom128
%else
%  define BASECOPT -Masmkeyword -Mnosingle -Mschar -Mnom128
%endif

%if defined(%{BASECXXOPT})
%  define BASECXXOPT -Mnoasmkeyword
%else
%  define BASECXXOPT -Mnoasmkeyword
%endif

%if defined(%{BASEFOPT})
%  define BASEFOPT -Mallocatable=95 -Mdefaultunit -Mnostride0 -Mnoiomutex -Mcray=pointer
%else
%  define BASEFOPT -Mallocatable=95 -Mdefaultunit -Mnostride0 -Mnoiomutex -Mcray=pointer
%endif


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


OPTIMIZE		= %{BASEOPT}
COPTIMIZE		= %{BASEOPT} %{BASECOPT}
CXXOPTIMIZE		= %{BASEOPT} %{BASECXXOPT}
FOPTIMIZE		= %{BASEOPT} %{BASEFOPT}


################################
##       Peak settings
################################
#
350.md=peak=default=default:
OPTIMIZE	= %{BASEOPT} -fast
FOPTIMIZE   	= %{BASEOPT} %{BASEFOPT} -Mbackslash -Mdlines

351.bwaves=peak=default=default:
OPTIMIZE        = %{BASEOPT} -fastsse
FOPTIMIZE   	= %{BASEOPT} %{BASEFOPT} -Mfixed -pgf77libs -Mdefaultunit

352.nab=peak=default=default:
OPTIMIZE        = %{BASEOPT} -fast
COPTIMIZE 	= %{BASEOPT} %{BASECOPT} -alias=ansi

357.bt331=peak=default=default:
OPTIMIZE        = %{BASEOPT} -fastsse
FOPTIMIZE   	= %{BASEOPT} %{BASEFOPT} -Mdefaultunit

358.botsalgn=peak=default=default:
OPTIMIZE        = %{BASEOPT} -fast
COPTIMIZE 	= %{BASEOPT} %{BASECOPT} -alias=ansi

359.botsspar=peak=default=default:
threads=128
OPTIMIZE        = %{BASEOPT} -fast
COPTIMIZE 	= %{BASEOPT} %{BASECOPT} -alias=ansi

360.ilbdc=peak=default=default:
OPTIMIZE        = %{BASEOPT} -fast
OPTIMIZE   	= %{BASEOPT} %{BASEFOPT} -Mnoupcase

362.fma3d=default=default:
OPTIMIZE        = %{BASEOPT} -fast
FOPTIMIZE	= %{BASEOPT} %{BASEFOPT} -Mnoupcase -pgf90libs

363.swim=peak=default=default:
OPTIMIZE        = %{BASEOPT} -fast
FOPTIMIZE   	= %{BASEOPT} %{BASEFOPT}

367.imagick=peak=default=default:
OPTIMIZE        = %{BASEOPT} -fast
COPTIMIZE 	= %{BASEOPT} %{BASECOPT} -alias=ansi

370.mgrid331=peak=default=default:
OPTIMIZE        = %{BASEOPT} -fastsse
OPTIMIZE  	= %{BASEOPT} %{BASEFOPT}

371.applu331=peak=default=default:
OPTIMIZE        = %{BASEOPT} -fast
FOPTIMIZE   	= %{BASEOPT} %{BASEFOPT}

372.smithwa=peak=default=default:
OPTIMIZE	= %{BASEOPT} -fast
COPTIMIZE 	= %{BASEOPT} %{BASECOPT} -Masmkeyword -Mnosingle -Mnom128 -Mschar

376.kdtree=peak=default=default:
OPTIMIZE        = %{BASEOPT} -fast
CXXOPTIMIZE	= %{BASEOPT} %{BASECXXOPT} -Mnosingle -alias=ansi


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


# 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 SR665_SPEComp Mon Feb 22 04:52:32 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 =       2 "physical id"s (chips)
notes_plat_sysinfo_055 =       256 "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 =       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
notes_plat_sysinfo_105 =       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_110 =       47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
notes_plat_sysinfo_115 =    cache size : 512 KB
notes_plat_sysinfo_120 =
notes_plat_sysinfo_125 = From /proc/meminfo
notes_plat_sysinfo_130 =    MemTotal:       1056386180 kB
notes_plat_sysinfo_135 =    HugePages_Total:       0
notes_plat_sysinfo_140 =    Hugepagesize:       2048 kB
notes_plat_sysinfo_145 =
notes_plat_sysinfo_150 = From /etc/*release* /etc/*version*
notes_plat_sysinfo_155 =    os-release:
notes_plat_sysinfo_160 =       NAME="Red Hat Enterprise Linux"
notes_plat_sysinfo_165 =       VERSION="8.3 (Ootpa)"
notes_plat_sysinfo_170 =       ID="rhel"
notes_plat_sysinfo_175 =       ID_LIKE="fedora"
notes_plat_sysinfo_180 =       VERSION_ID="8.3"
notes_plat_sysinfo_185 =       PLATFORM_ID="platform:el8"
notes_plat_sysinfo_190 =       PRETTY_NAME="Red Hat Enterprise Linux 8.3 (Ootpa)"
notes_plat_sysinfo_195 =       ANSI_COLOR="0;31"
notes_plat_sysinfo_200 =    redhat-release: Red Hat Enterprise Linux release 8.3 (Ootpa)
notes_plat_sysinfo_205 =    system-release: Red Hat Enterprise Linux release 8.3 (Ootpa)
notes_plat_sysinfo_210 =    system-release-cpe: cpe:/o:redhat:enterprise_linux:8.3:ga
notes_plat_sysinfo_215 =
notes_plat_sysinfo_220 = uname -a:
notes_plat_sysinfo_225 =    Linux SR665_SPEComp 4.18.0-240.el8.x86_64 #1 SMP Wed Sep 23 05:13:10 EDT 2020
notes_plat_sysinfo_230 =    x86_64 x86_64 x86_64 GNU/Linux
notes_plat_sysinfo_235 =
notes_plat_sysinfo_240 = run-level 3 Feb 22 04:51
notes_plat_sysinfo_245 =
notes_plat_sysinfo_250 = SPEC is set to: /home/omp2012
notes_plat_sysinfo_255 =    Filesystem            Type  Size  Used Avail Use% Mounted on
notes_plat_sysinfo_260 =    /dev/mapper/rhel-home xfs   819G  135G  684G  17% /home
notes_plat_sysinfo_265 = Additional information from dmidecode:
notes_plat_sysinfo_270 =
notes_plat_sysinfo_275 =    Warning: Use caution when you interpret this section. The 'dmidecode' program
notes_plat_sysinfo_280 =    reads system data which is "intended to allow hardware to be accurately
notes_plat_sysinfo_285 =    determined", but the intent may not be met, as there are frequent changes to
notes_plat_sysinfo_290 =    hardware, firmware, and the "DMTF SMBIOS" standard.
notes_plat_sysinfo_295 =
notes_plat_sysinfo_300 =   BIOS Lenovo D8E113Y-2.00 01/20/2021
notes_plat_sysinfo_305 =   Memory:
notes_plat_sysinfo_310 =    32x Samsung M393A4G43AB3-CWE 32 GB 2 rank 3200 MT/s
notes_plat_sysinfo_315 =
notes_plat_sysinfo_320 = (End of data from sysinfo program)
# hw_cpu_name    = AMD EPYC 7763 64-Core
# hw_disk        = 819 GB  add more disk info here
# hw_memory001   = 1007.448 GB fixme: If using DDR3, format is:
# hw_memory002   = 'N GB (M x N GB nRxn PCn-nnnnnR-n, ECC)'
# hw_nchips      = 2
# 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)


# 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/omp2012/flags/Lenovo-OMP2012-Rome7H12.20210315.xml