# Invocation command line:
# /cpu2017.1.0.2/bin/harness/runcpu --define default-platform-flags --copies 16 --configfile ic18.0-lin-core-avx512-rate-20170901.cfg --define smt-on --define cores=8 --define physicalfirst --define invoke_with_interleave --define drop_caches --tune base,peak --output_format pdf --nopower --runmode rate --tune base:peak --size refrate fprate
# output_root was not used for this run
############################################################################
#------------------------------------------------------------------------------
# This is a sample SPEC CPU2017 config file. It is applicable for:
#
#  Compiler name/version:       Intel(R) C/C++ and Fortran 18.0.0.128 Compilers for Linux
#  Operating system version:    Redhat Enterprise Linux 7.4, GLIBC 2.17
#  Hardware:                    Intel(R) processors supporting CORE-AVX512 tuning
#
# If you wish to build your own:
#        (1) Copy this to a new name
#             cd %SPEC%/config
#             copy this.cfg that.cfg
#        (2) Change items that are marked 'EDIT' (search for it)
#
# If you have different software or hardware, this config file may not work.
# You may find a better config file for your system next to posted results:
#     http://www.spec.org/cpu2017/results
#
# Compiler issues: Contact your compiler vendor, not SPEC.
# For SPEC help:   http://www.spec.org/auto/cpu2017/Docs/techsupport.html
#------------------------------------------------------------------------------


#--------- Preprocessor -------------------------------------------------------
#

# Optionally edit if you wish:
%define build_ncpus 8       # controls number of simultaneous compiles

# Used to date the label
%define version 20170901

# Used for the optimization tuning part of the label (not required)
%if defined(%{noopt})
%define opt_label -noopt
%elif defined(%{medopt})
%define opt_label -medopt
%else
%define opt_label
%endif

# Used for labeling static linked builds (not required)
%if defined(%{static})
%define static_label -static
%else
%define static_label
%endif



#--------- Label --------------------------------------------------------------
# Arbitrary string, tags your binaries & directories.
#                  Two Suggestions:              # (1) Change this label as you try new ideas.
label                = ic18.0-lin-core-avx512-rate%{opt_label}%{static_label}-%{version}          # (2) Make the label meaningful to YOU.



#--------- Global Settings ----------------------------------------------------
# For info, see:
#            https://www.spec.org/auto/cpu2017/Docs/config.html#fieldname   XXX
#   Example: https://www.spec.org/auto/cpu2017/Docs/config.html#tune
     ########################################################
     #         ATTENTION     ATTENTION     ATTENTION
     ########################################################
     #
     #     NOTE If you change fail_build then PLEASE also
     #     change the line 'define version', because
     #     SPEC review tools use 'label' to track binaries.
     #
     ########################################################
     #
     # vvvvvvvvvvvv # do not change unless you read NOTE above
       fail_build=0 # do not change unless you read NOTE above
     # ^^^^^^^^^^^^ # do not change unless you read NOTE above
     #
     ########################################################
     #

action               = validate
command_add_redirect = 1
line_width           = 1020
log_line_width       = 1020
makeflags            = -j%{build_ncpus}
output_format        = txt,cfg,pdf,csv
preenv               = 1
tune                 = base
bench_post_setup     = sync
parallel_test        = 1
mean_anyway          = 1
reportable           = 1
copies               = 1

#Reference the flags Files
flagsurl000=http://www.spec.org/cpu2017/flags/Intel-ic18.0-official-linux64.2017-10-19.xml
%ifdef %{default-platform-flags}
flagsurl001=http://www.spec.org/cpu2017/flags/Epsylon-Platform-Flags-RevA-Feb-2018-For-Intel-Platform.xml
#flagsurl2=Epsylon-Platform-Flags-RevA-Feb-2018-For-Supermicro-Platform.xml
%endif

# Set some environment variables
preENV_LD_LIBRARY_PATH=$[top]/lib/ia32:$[top]/lib/intel64:$[top]/je5.0.1-32:$[top]/je5.0.1-64

# Affinitization
# For UP systems, we need to know if the processors are ordered across cores first or in order
# If across cores, processors 0, 1, 2 and 3 are on distinct physical cores
# Otherwise, processors 0, 2, 4 and 6 are on distinct physical cores

default:
submit       = numactl --localalloc --physcpubind=$SPECCOPYNUM -- $command

%ifdef %{no-numa}
submit       = taskset -c $SPECCOPYNUM $command
%endif


#--------- Compilers ----------------------------------------------------------
intrate,fprate:
   CC                      = icc -m64 -std=c11
   CXX                     = icpc -m64
   FC                      = ifort -m64

default:
   # How to say "Show me your version, please"
   CC_VERSION_OPTION       = --version
   CXX_VERSION_OPTION      = --version
   FC_VERSION_OPTION       = --version
   JEMALLOC32_DIR = /usr/local/je5.0.1-32/lib
   JEMALLOC64_DIR = /usr/local/je5.0.1-64/lib
%if !defined(%{static})
   JEMALLOC32             = jemalloc
   JEMALLOC64             = jemalloc
%else
   JEMALLOC32             = libjemalloc.a
   JEMALLOC64             = libjemalloc.a
%endif


#--------- Portability --------------------------------------------------------

intrate,fprate:
PORTABILITY= -DSPEC_LP64

500.perlbench_r:
CPORTABILITY = -DSPEC_LINUX_X64

521.wrf_r:
CPORTABILITY = -DSPEC_CASE_FLAG
FPORTABILITY= -convert big_endian

523.xalancbmk_r:
CXXPORTABILITY=-DSPEC_LINUX

526.blender_r:
CPORTABILITY= -DSPEC_LINUX -funsigned-char

527.cam4_r:
CPORTABILITY= -DSPEC_CASE_FLAG



#--------- How Many CPUs? -----------------------------------------------------
# Both SPECrate and SPECspeed can test multiple chips / cores / hw threads
#    - For SPECrate,  you set the number of copies.
# See: https://www.spec.org/cpu2017/Docs/system-requirements.html#MultipleCPUs
#
#    q. How many should I set?
#    a. Unknown, you will have to try it and see!
#
# To get you started, some suggestions:
#
#     copies - This config file defaults to testing only 1 copy.   You might
#              try changing it to match the number of cores on your system,
#              or perhaps the number of virtual CPUs as reported by:
#                     grep -c processor /proc/cpuinfo
#              Be sure you have enough memory.  See:
#              https://www.spec.org/cpu2017/Docs/system-requirements.html#memory
#
default:
   copies           = 1   # EDIT to change number of copies (see above)

#-------- Tuning Flags -------------------------------------------------
intspeed,fpspeed:
   #reconsider using a speed config file instead of a rate config file
   fail=1

intrate,fprate:
   SSE                     = -xCORE-AVX512

   EXTRA_FOPTIMIZE         = -nostandard-realloc-lhs -align array32byte

intrate=default:
   EXTRA_LIBS              = -L$(JEMALLOC64_DIR) -l$(JEMALLOC64)
   EXTRA_LDFLAGS           = -Wl,-z,muldefs

intrate=base:
%if defined(%{noopt})
   OPT_ROOT                = -O0
%elif defined(%{medopt})
   OPT_ROOT                = -O2
%else
   OPT_ROOT                = -ipo -O3 -no-prec-div
%endif
   FAST_NO_STATIC          = $(SSE) $(OPT_ROOT)
   FORT_FAST_NO_STATIC     = $(SSE) $(OPT_ROOT)
   FAST                    = $(SSE) $(OPT_ROOT) -static
   FORT_FAST               = $(SSE) $(OPT_ROOT) -static

%if !defined(%{static})
   COPTIMIZE               = $(FAST_NO_STATIC)  -qopt-mem-layout-trans=3
   CXXOPTIMIZE             = $(FAST_NO_STATIC)  -qopt-mem-layout-trans=3
   FOPTIMIZE               = $(FORT_FAST_NO_STATIC)  -qopt-mem-layout-trans=3
%if defined(%{noopt})
   COPTIMIZE               = $(OPT_ROOT)
   CXXOPTIMIZE             = $(OPT_ROOT)
   FOPTIMIZE               = $(OPT_ROOT)
%endif
%else
   COPTIMIZE               = $(FAST)  -qopt-mem-layout-trans=3
   CXXOPTIMIZE             = $(FAST)  -qopt-mem-layout-trans=3
   FOPTIMIZE               = $(FORT_FAST)  -qopt-mem-layout-trans=3
%if defined(%{noopt})
   COPTIMIZE               = $(OPT_ROOT) -static
   CXXOPTIMIZE             = $(OPT_ROOT) -static
   FOPTIMIZE               = $(OPT_ROOT) -static
%endif
%endif

fprate=base:
%if defined(%{noopt})
   OPT_ROOT                = -O0
%elif defined(%{medopt})
   OPT_ROOT                = -O2
%else
   OPT_ROOT                = -ipo -O3 -no-prec-div
%endif
   FAST_NO_STATIC          = $(SSE) $(OPT_ROOT)
   FORT_FAST_NO_STATIC     = $(SSE) $(OPT_ROOT)
   FAST                    = $(SSE) $(OPT_ROOT) -static
   FORT_FAST               = $(SSE) $(OPT_ROOT) -static

%if !defined(%{static})
   COPTIMIZE               = $(FAST_NO_STATIC) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   CXXOPTIMIZE             = $(FAST_NO_STATIC) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   FOPTIMIZE               = $(FORT_FAST_NO_STATIC) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
%if defined(%{noopt})
   COPTIMIZE               = $(OPT_ROOT)
   CXXOPTIMIZE             = $(OPT_ROOT)
   FOPTIMIZE               = $(OPT_ROOT)
%endif
%else
   COPTIMIZE               = $(FAST) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   CXXOPTIMIZE             = $(FAST) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   FOPTIMIZE               = $(FORT_FAST) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
%if defined(%{noopt})
   COPTIMIZE               = $(OPT_ROOT) -static
   CXXOPTIMIZE             = $(OPT_ROOT) -static
   FOPTIMIZE               = $(OPT_ROOT) -static
%endif
%endif

intrate=peak:
%if defined(%{noopt}) || defined(%{medopt})
   #not building or executing peak against less opt
   fail=1
%endif
   PASS1_CFLAGS               = -prof-gen
   PASS2_CFLAGS               = -prof-use
   PASS1_FFLAGS               = -prof-gen
   PASS2_FFLAGS               = -prof-use
   PASS1_CXXFLAGS             = -prof-gen
   PASS2_CXXFLAGS             = -prof-use
   PASS1_LDFLAGS              = -prof-gen
   PASS2_LDFLAGS              = -prof-use
   OPT_ROOT                   = -ipo -O3 -no-prec-div
   FAST_NO_STATIC_PASS1       = $(OPT_ROOT)
   FORT_FAST_NO_STATIC_PASS1  = $(OPT_ROOT)
   FAST_PASS1                 = $(OPT_ROOT) -static
   FORT_FAST_PASS1            = $(OPT_ROOT) -static
   FAST_NO_STATIC_PASS2       = $(SSE) $(OPT_ROOT)
   FORT_FAST_NO_STATIC_PASS2  = $(SSE) $(OPT_ROOT)
   FAST_PASS2                 = $(SSE) $(OPT_ROOT) -static
   FORT_FAST_PASS2            = $(SSE) $(OPT_ROOT) -static

%if !defined(%{static})
   PASS1_COPTIMIZE            = $(FAST_NO_STATIC_PASS1)   -qopt-mem-layout-trans=3
   PASS1_CXXOPTIMIZE          = $(FAST_NO_STATIC_PASS1)   -qopt-mem-layout-trans=3
   PASS1_FOPTIMIZE            = $(FORT_FAST_NO_STATIC_PASS1)   -qopt-mem-layout-trans=3
   PASS2_COPTIMIZE            = $(FAST_NO_STATIC_PASS2)   -qopt-mem-layout-trans=3
   PASS2_CXXOPTIMIZE          = $(FAST_NO_STATIC_PASS2)   -qopt-mem-layout-trans=3
   PASS2_FOPTIMIZE            = $(FORT_FAST_NO_STATIC_PASS2)   -qopt-mem-layout-trans=3
%else
   PASS1_COPTIMIZE            = $(FAST_PASS1)   -qopt-mem-layout-trans=3
   PASS1_CXXOPTIMIZE          = $(FAST_PASS1)   -qopt-mem-layout-trans=3
   PASS1_FOPTIMIZE            = $(FORT_FAST_PASS1)   -qopt-mem-layout-trans=3
   PASS2_COPTIMIZE            = $(FAST_PASS2)   -qopt-mem-layout-trans=3
   PASS2_CXXOPTIMIZE          = $(FAST_PASS2)   -qopt-mem-layout-trans=3
   PASS2_FOPTIMIZE            = $(FORT_FAST_PASS2)   -qopt-mem-layout-trans=3
%endif

fprate=peak:
%if defined(%{noopt}) || defined(%{medopt})
   #not building or executing peak against less opt
   fail=1
%endif
   PASS1_CFLAGS               = -prof-gen
   PASS2_CFLAGS               = -prof-use
   PASS1_FFLAGS               = -prof-gen
   PASS2_FFLAGS               = -prof-use
   PASS1_CXXFLAGS             = -prof-gen
   PASS2_CXXFLAGS             = -prof-use
   PASS1_LDFLAGS              = -prof-gen
   PASS2_LDFLAGS              = -prof-use
   OPT_ROOT                   = -ipo -O3 -no-prec-div
   FAST_NO_STATIC_PASS1       = $(OPT_ROOT)
   FORT_FAST_NO_STATIC_PASS1  = $(OPT_ROOT)
   FAST_PASS1                 = $(OPT_ROOT) -static
   FORT_FAST_PASS1            = $(OPT_ROOT) -static
   FAST_NO_STATIC_PASS2       = $(SSE) $(OPT_ROOT)
   FORT_FAST_NO_STATIC_PASS2  = $(SSE) $(OPT_ROOT)
   FAST_PASS2                 = $(SSE) $(OPT_ROOT) -static
   FORT_FAST_PASS2            = $(SSE) $(OPT_ROOT) -static

%if !defined(%{static})
   PASS1_COPTIMIZE            = $(FAST_NO_STATIC_PASS1)  -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   PASS1_CXXOPTIMIZE          = $(FAST_NO_STATIC_PASS1)  -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   PASS1_FOPTIMIZE            = $(FORT_FAST_NO_STATIC_PASS1)  -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   PASS2_COPTIMIZE            = $(FAST_NO_STATIC_PASS2) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   PASS2_CXXOPTIMIZE          = $(FAST_NO_STATIC_PASS2) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   PASS2_FOPTIMIZE            = $(FORT_FAST_NO_STATIC_PASS2) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
%else
   PASS1_COPTIMIZE            = $(FAST_PASS1)  -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   PASS1_CXXOPTIMIZE          = $(FAST_PASS1)  -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   PASS1_FOPTIMIZE            = $(FORT_FAST_PASS1)  -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   PASS2_COPTIMIZE            = $(FAST_PASS2) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   PASS2_CXXOPTIMIZE          = $(FAST_PASS2) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   PASS2_FOPTIMIZE            = $(FORT_FAST_PASS2) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
%endif

#some benchmarks do not want to share a core
%ifdef %{smt-on}
%define numpeakcopies %{cores}

510.parest_r,521.wrf_r,554.roms_r=peak:
   copies = %{numpeakcopies}
%endif

500.perlbench_r=peak=default:
#[56]00.perlbench[rs] has non standard signed overflow
   EXTRA_OPTIMIZE             = -fno-strict-overflow

525.x264_r=peak:
   EXTRA_OPTIMIZE          = -fno-alias

502.gcc_r,523.xalancbmk_r=peak:
   CC                      = icc -m32 -std=c11 -L/opt/intel/compilers_and_libraries_2018/linux/lib/ia32
   CXX                     = icpc -m32 -L/opt/intel/compilers_and_libraries_2018/linux/lib/ia32
   FC                      = ifort -m32 -L/opt/intel/compilers_and_libraries_2018/linux/lib/ia32
   EXTRA_LIBS              = -L$(JEMALLOC32_DIR) -l$(JEMALLOC32)
   EXTRA_LDFLAGS           = -Wl,-z,muldefs
#Change portability for 32b, large file support for safety
   PORTABILITY             = -D_FILE_OFFSET_BITS=64

#int rate subset for removing FDO

505.mcf_r,525.x264_r,548.exchange2_r,557.xz_r=peak=default:
   feedback                = 0
   OPT_ROOT                = -ipo -O3 -no-prec-div
   FAST_NO_STATIC          = $(SSE) $(OPT_ROOT)
   FORT_FAST_NO_STATIC     = $(SSE) $(OPT_ROOT)
   FAST                    = $(SSE) $(OPT_ROOT) -static
   FORT_FAST               = $(SSE) $(OPT_ROOT) -static
%if !defined(%{static})
   COPTIMIZE               = $(FAST_NO_STATIC)  -qopt-mem-layout-trans=3
   CXXOPTIMIZE             = $(FAST_NO_STATIC)  -qopt-mem-layout-trans=3
   FOPTIMIZE               = $(FORT_FAST_NO_STATIC)  -qopt-mem-layout-trans=3
%else
   COPTIMIZE               = $(FAST)  -qopt-mem-layout-trans=3
   CXXOPTIMIZE             = $(FAST)  -qopt-mem-layout-trans=3
   FOPTIMIZE               = $(FORT_FAST)  -qopt-mem-layout-trans=3
%endif

#fp rate subset for removing FDO
503.bwaves_r,538.imagick_r,549.fotonik3d_r=peak=default:
   feedback                = 0
   OPT_ROOT                = -ipo -O3 -no-prec-div

   FAST_NO_STATIC          = $(SSE) $(OPT_ROOT)
   FORT_FAST_NO_STATIC     = $(SSE) $(OPT_ROOT)
   FAST                    = $(SSE) $(OPT_ROOT) -static
   FORT_FAST               = $(SSE) $(OPT_ROOT) -static

%if !defined(%{static})
   COPTIMIZE               = $(FAST_NO_STATIC) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   CXXOPTIMIZE             = $(FAST_NO_STATIC) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   FOPTIMIZE               = $(FORT_FAST_NO_STATIC) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
%else
   COPTIMIZE               = $(FAST) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   CXXOPTIMIZE             = $(FAST) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
   FOPTIMIZE               = $(FORT_FAST) -qopt-prefetch -ffinite-math-only  -qopt-mem-layout-trans=3
%endif



#-------------------------------------------------------------------------------
# Tester and System Descriptions - EDIT the sections below
#-------------------------------------------------------------------------------
#   For info about any field, see
#             https://www.spec.org/auto/cpu2017/Docs/config.html#fieldname
#   Example:  https://www.spec.org/auto/cpu2017/Docs/config.html#hw_memory
#-------------------------------------------------------------------------------

#--------- If you install new compilers, EDIT this section --------------------

intrate,intspeed,fpspeed,fprate:
   sw_compiler000   = C/C++: Version 18.0.0.128 of Intel C/C++
   sw_compiler001   = Compiler for Linux;
   sw_compiler002   = Fortran: Version 18.0.0.128 of Intel Fortran
   sw_compiler003   = Compiler for Linux
   sw_base_ptrsize  = 64-bit

fprate,fpspeed:
   sw_peak_ptrsize  = 64-bit
   sw_other	    = None

intrate,intspeed:
   sw_peak_ptrsize  = 32/64-bit
   sw_other001      = jemalloc: jemalloc memory allocator library V5.0.1;
   sw_other002      = jemalloc: configured and built at default for 32bit (i686) and 64bit (x86_64) targets;
   sw_other003      = jemalloc: built with the RedHat Enterprise 7.4, and the system compiler gcc 4.8.5;
   sw_other004      = jemalloc: sources available via jemalloc.net;

#--------- EDIT Your info ---------------------------------------------------------
# To understand the difference between hw_vendor/sponsor/tester, see:
#     www.spec.org/auto/cpu2017/Docs/config.html#test_sponsor
intrate,intspeed,fprate,fpspeed: # Important: keep this line
   hw_vendor          = Epsylon Sp. z o.o. Sp. Komandytowa
   tester             = Epsylon Sp. z o.o. Sp. Komandytowa
   test_sponsor       = Epsylon Sp. z o.o. Sp. Komandytowa
   license_num        = 9081
   prepared_by        = Epsylon Sp. z o.o. Sp. Komandytowa

#--------- EDIT system availability dates and system information ----------------------------------------------
intrate,intspeed,fprate,fpspeed: # Important: keep this line

   hw_avail           = Sep-2017                            			# Date of LAST hardware component to ship
   sw_avail           = Sep-2017
   hw_cpu_name        = Intel Xeon Gold 5122                			# chip name
   hw_cpu_nominal_mhz = 3600                                			# Nominal chip frequency, in MHz
   hw_cpu_max_mhz     = 3700                                			# Max chip frequency, in MHz
   hw_nchips          = 2                                   			# number chips enabled
   hw_ncores          = 8                                  			# number cores enabled
   hw_nthreadspercore = 2                                   			# number threads enabled per core
   hw_ncpuorder       = 1,2 chips                           			# Ordering options
   hw_model           = eterio 210 RA1 (Intel Xeon Gold 5122, 3.60 GHz)         # system model name
   hw_other           = None
   hw_pcache	      =	32 KB I + 32 KB D on chip per core     			#
   hw_scache          = 1 MB I+D on chip per core             			# Second cache or "None"
   hw_tcache          = 16.5 MB I+D on chip per chip             			# Third  cache or "None"
   hw_ocache          = None 				       			# 9 GB I+D off chip per system board   # Other cache or "None"
   hw_disk            = 1 x 960 GB SSD SATA III                			# Size, type, other perf-relevant info
   hw_memory004       = 384 GB (24 x 16 GB 2Rx4 PC4-2666V-R)

   intrate,intspeed,fprate,fpspeed: # Important: keep this line

   sw_os000           = SUSE Linux Enterprise Server 12 SP3
   sw_file            = ext4                                  # File system
   sw_state           = Run level 3 (multi-user)              # Software state.
   fw_bios            = Version BIOSR0009 released Oct-2017


#--------- EDIT Intel Recommended Fields - You may wish to adjust this section -----

default:
   notes_015        = Binaries compiled on a system with 1x Intel Core i7-4790 CPU + 32 GB RAM
   notes_020        = memory using Redhat Enterprise Linux 7.4
   notes_os_000     = Stack size set to unlimited using "ulimit -s unlimited"
#Ease of tagging results from the runcpu command line with commands run outside of runcpu harneess
#Adjust as necessary for your SUT
%if defined(%{THP_enabled})
   notes_200        = Transparent Huge Pages enabled with:
   notes_201        = echo always > /sys/kernel/mm/transparent_hugepage/enabled
%elif defined(%{THP_disabled})
   notes_200        = Transparent Huge Pages disabled with:
   notes_201        = echo never  > /sys/kernel/mm/transparent_hugepage/enabled
%else
   notes_025        = Transparent Huge Pages enabled by default
%endif

%ifdef %{drop_caches}
   notes_030        = Prior to runcpu invocation
   notes_035        = Filesystem page cache synced and cleared with:
   notes_040        = sync; echo 3>       /proc/sys/vm/drop_caches
%endif

%ifdef %{invoke_with_interleave}
   notes_045        = runcpu command invoked through numactl i.e.:
   notes_050        = numactl --interleave=all runcpu <etc>
notes_055 =No: The test sponsor attests, as of date of publication, that CVE-2017-5754 (Meltdown)
notes_060 =is mitigated in the system as tested and documented.
notes_065 =No: The test sponsor attests, as of date of publication, that CVE-2017-5753 (Spectre variant 1)
notes_070 =is mitigated in the system as tested and documented.
notes_075 =No: The test sponsor attests, as of date of publication, that CVE-2017-5715 (Spectre variant 2)
notes_080 =is mitigated in the system as tested and documented.
%endif

notes_plat_000 =
notes_plat_005 = BIOS Settings:
notes_plat_010 = Intel(R) Hyper-Threading Tech = Enabled
notes_plat_015 = CPU Power and Performance Policy = Performance
notes_plat_020 = Intel(R) Turbo Boost Technology = Enabled
notes_plat_025 = C1E = Disabled
notes_plat_030 = Processor C6 = Disabled

notes_plat_035 = IMC Interleaving = Auto
#notes_plat_036 = IMC Interleaving = 1-way Interleave
#notes_plat_037 = IMC Interleaving = 2-way Interleave

notes_plat_040 = Sub_NUMA Cluster = Disabled
#notes_plat_041 = Sub_NUMA Cluster = Enabled

notes_plat_045 = Set FAN Profile = Performance
notes_plat_050 = Patrol Scrub = Disabled
notes_plat_055 =



intrate,fprate:
%if defined(%{no-numa})
   notes_submit_000 = The taskset mechanism was used to bind copies to processors. The config file option 'submit'
   notes_submit_001 = was used to generate taskset commands to bind each copy to a specific processor.
   notes_submit_002 = For details, please see the config file.
%else
   notes_submit_000 = The numactl mechanism was used to bind copies to processors. The config file option 'submit'
   notes_submit_005 = was used to generate numactl commands to bind each copy to a specific processor.
   notes_submit_010 = For details, please see the config file.
%endif







# The following settings were obtained by running the sysinfo_program
# 'specperl $[top]/bin/sysinfo' (sysinfo:SHA:ecd2bef08f316af97f5a7768b641e2a3307c1b4b68efb5a57fa76367d790d233)
default:
notes_plat_sysinfo_000 = Sysinfo program /cpu2017.1.0.2/bin/sysinfo
notes_plat_sysinfo_005 = Rev: r5797 of 2017-06-14 96c45e4568ad54c135fd618bcc091c0f
notes_plat_sysinfo_010 = running on linux-pz9d Thu Feb  8 18:43:34 2018
notes_plat_sysinfo_015 =
notes_plat_sysinfo_020 = SUT (System Under Test) info as seen by some common utilities.
notes_plat_sysinfo_025 = For more information on this section, see
notes_plat_sysinfo_030 =    https://www.spec.org/cpu2017/Docs/config.html#sysinfo
notes_plat_sysinfo_035 =
notes_plat_sysinfo_040 = From /proc/cpuinfo
notes_plat_sysinfo_045 =    model name : Intel(R) Xeon(R) Gold 5122 CPU @ 3.60GHz
notes_plat_sysinfo_050 =       2  "physical id"s (chips)
notes_plat_sysinfo_055 =       16 "processors"
notes_plat_sysinfo_060 =    cores, siblings (Caution: counting these is hw and system dependent. The following
notes_plat_sysinfo_065 =    excerpts from /proc/cpuinfo might not be reliable.  Use with caution.)
notes_plat_sysinfo_070 =       cpu cores : 4
notes_plat_sysinfo_075 =       siblings  : 8
notes_plat_sysinfo_080 =       physical 0: cores 1 2 5 11
notes_plat_sysinfo_085 =       physical 1: cores 1 5 9 13
notes_plat_sysinfo_090 =
notes_plat_sysinfo_095 = From lscpu:
notes_plat_sysinfo_100 =      Architecture:          x86_64
notes_plat_sysinfo_105 =      CPU op-mode(s):        32-bit, 64-bit
notes_plat_sysinfo_110 =      Byte Order:            Little Endian
notes_plat_sysinfo_115 =      CPU(s):                16
notes_plat_sysinfo_120 =      On-line CPU(s) list:   0-15
notes_plat_sysinfo_125 =      Thread(s) per core:    2
notes_plat_sysinfo_130 =      Core(s) per socket:    4
notes_plat_sysinfo_135 =      Socket(s):             2
notes_plat_sysinfo_140 =      NUMA node(s):          2
notes_plat_sysinfo_145 =      Vendor ID:             GenuineIntel
notes_plat_sysinfo_150 =      CPU family:            6
notes_plat_sysinfo_155 =      Model:                 85
notes_plat_sysinfo_160 =      Model name:            Intel(R) Xeon(R) Gold 5122 CPU @ 3.60GHz
notes_plat_sysinfo_165 =      Stepping:              4
notes_plat_sysinfo_170 =      CPU MHz:               3692.793
notes_plat_sysinfo_175 =      CPU max MHz:           3700.0000
notes_plat_sysinfo_180 =      CPU min MHz:           1200.0000
notes_plat_sysinfo_185 =      BogoMIPS:              7183.11
notes_plat_sysinfo_190 =      Virtualization:        VT-x
notes_plat_sysinfo_195 =      L1d cache:             32K
notes_plat_sysinfo_200 =      L1i cache:             32K
notes_plat_sysinfo_205 =      L2 cache:              1024K
notes_plat_sysinfo_210 =      L3 cache:              16896K
notes_plat_sysinfo_215 =      NUMA node0 CPU(s):     0-3,8-11
notes_plat_sysinfo_220 =      NUMA node1 CPU(s):     4-7,12-15
notes_plat_sysinfo_225 =      Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
notes_plat_sysinfo_230 =      pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp
notes_plat_sysinfo_235 =      lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc
notes_plat_sysinfo_240 =      aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg
notes_plat_sysinfo_245 =      fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes
notes_plat_sysinfo_250 =      xsave avx f16c rdrand lahf_lm abm 3dnowprefetch ida arat epb pln pts dtherm hwp
notes_plat_sysinfo_255 =      hwp_act_window hwp_epp hwp_pkg_req intel_pt tpr_shadow vnmi flexpriority ept vpid
notes_plat_sysinfo_260 =      fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm mpx avx512f
notes_plat_sysinfo_265 =      avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec
notes_plat_sysinfo_270 =      xgetbv1 cqm_llc cqm_occup_llc pku ospke
notes_plat_sysinfo_275 =
notes_plat_sysinfo_280 = /proc/cpuinfo cache data
notes_plat_sysinfo_285 =    cache size : 16896 KB
notes_plat_sysinfo_290 =
notes_plat_sysinfo_295 = From numactl --hardware  WARNING: a numactl 'node' might or might not correspond to a
notes_plat_sysinfo_300 = physical chip.
notes_plat_sysinfo_305 =   available: 2 nodes (0-1)
notes_plat_sysinfo_310 =   node 0 cpus: 0 1 2 3 8 9 10 11
notes_plat_sysinfo_315 =   node 0 size: 192058 MB
notes_plat_sysinfo_320 =   node 0 free: 191749 MB
notes_plat_sysinfo_325 =   node 1 cpus: 4 5 6 7 12 13 14 15
notes_plat_sysinfo_330 =   node 1 size: 193382 MB
notes_plat_sysinfo_335 =   node 1 free: 193069 MB
notes_plat_sysinfo_340 =   node distances:
notes_plat_sysinfo_345 =   node   0   1
notes_plat_sysinfo_350 =     0:  10  21
notes_plat_sysinfo_355 =     1:  21  10
notes_plat_sysinfo_360 =
notes_plat_sysinfo_365 = From /proc/meminfo
notes_plat_sysinfo_370 =    MemTotal:       394691832 kB
notes_plat_sysinfo_375 =    HugePages_Total:       0
notes_plat_sysinfo_380 =    Hugepagesize:       2048 kB
notes_plat_sysinfo_385 =
notes_plat_sysinfo_390 = /usr/bin/lsb_release -d
notes_plat_sysinfo_395 =    SUSE Linux Enterprise Server 12 SP3
notes_plat_sysinfo_400 =
notes_plat_sysinfo_405 = From /etc/*release* /etc/*version*
notes_plat_sysinfo_410 =    SuSE-release:
notes_plat_sysinfo_415 =       SUSE Linux Enterprise Server 12 (x86_64)
notes_plat_sysinfo_420 =       VERSION = 12
notes_plat_sysinfo_425 =       PATCHLEVEL = 3
notes_plat_sysinfo_430 =       # This file is deprecated and will be removed in a future service pack or release.
notes_plat_sysinfo_435 =       # Please check /etc/os-release for details about this release.
notes_plat_sysinfo_440 =    os-release:
notes_plat_sysinfo_445 =       NAME="SLES"
notes_plat_sysinfo_450 =       VERSION="12-SP3"
notes_plat_sysinfo_455 =       VERSION_ID="12.3"
notes_plat_sysinfo_460 =       PRETTY_NAME="SUSE Linux Enterprise Server 12 SP3"
notes_plat_sysinfo_465 =       ID="sles"
notes_plat_sysinfo_470 =       ANSI_COLOR="0;32"
notes_plat_sysinfo_475 =       CPE_NAME="cpe:/o:suse:sles:12:sp3"
notes_plat_sysinfo_480 =
notes_plat_sysinfo_485 = uname -a:
notes_plat_sysinfo_490 =    Linux linux-pz9d 4.4.73-5-default #1 SMP Tue Jul 4 15:33:39 UTC 2017 (b7ce4e4) x86_64
notes_plat_sysinfo_495 =    x86_64 x86_64 GNU/Linux
notes_plat_sysinfo_500 =
notes_plat_sysinfo_505 = run-level 3 Feb 8 11:18
notes_plat_sysinfo_510 =
notes_plat_sysinfo_515 = SPEC is set to: /cpu2017.1.0.2
notes_plat_sysinfo_520 =    Filesystem     Type  Size  Used Avail Use% Mounted on
notes_plat_sysinfo_525 =    /dev/sda2      ext4  851G   23G  827G   3% /
notes_plat_sysinfo_530 =
notes_plat_sysinfo_535 = Additional information from dmidecode follows.  WARNING: Use caution when you interpret
notes_plat_sysinfo_540 = this section. The 'dmidecode' program reads system data which is "intended to allow
notes_plat_sysinfo_545 = hardware to be accurately determined", but the intent may not be met, as there are
notes_plat_sysinfo_550 = frequent changes to hardware, firmware, and the "DMTF SMBIOS" standard.
notes_plat_sysinfo_555 =   BIOS Intel Corporation SE5C620.86B.00.01.0009.101920170742 10/19/2017
notes_plat_sysinfo_560 =   Memory:
notes_plat_sysinfo_565 =    24x Samsung M393A2G40EB2-CTD 16 GB 2 rank 2666
notes_plat_sysinfo_570 =
notes_plat_sysinfo_575 = (End of data from sysinfo program)
hw_cpu_name    = Intel Xeon Gold 5122
hw_disk        = 851 GB  add more disk info here
hw_memory001   = 376.407 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        = ext4
sw_os001       = SUSE Linux Enterprise Server 12 SP3
sw_os001       = 4.4.73-5-default
sw_state       = Run level 3 (add definition here)
# End of settings added by sysinfo_program


# 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:
notes_000 =Environment variables set by runcpu before the start of the run:
notes_005 =LD_LIBRARY_PATH="/cpu2017.1.0.2/lib/ia32:/cpu2017.1.0.2/lib/intel64:/cpu2017.1.0.2/je5.0.1-32:/cpu2017.1.0.2/je5.0.1-64"
notes_010 =