# Invocation command line:
# /home/cpu2017.1.0.2.ic18.0/bin/harness/runcpu --define default-platform-flags --copies 40 --configfile ic18.0-lin-core-avx2-rate-20170901.cfg --define smt-on --define cores=20 --define physicalfirst --define invoke_with_interleave --define drop_caches --tune base,peak --output_format all --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-AVX2 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-avx2-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.xml
%ifdef %{default-platform-flags}
flagsurl001=http://www.spec.org/cpu2017/flags/Lenovo-Platform-SPECcpu2017-Flags-V1.2-SKL-A.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-AVX2

   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 avilable from jemalloc.net or https://github.com/jemalloc/jemalloc/releases;

#--------- 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          = Lenovo Global Technology
   tester             = Lenovo Global Technology
   test_sponsor       = Lenovo Global Technology
   license_num        = 9017
   prepared_by        = Lenovo Global Technology

#--------- EDIT system availability dates and system information ----------------------------------------------
intrate,intspeed,fprate,fpspeed: # Important: keep this line
                        # Example                             # Brief info about field
   hw_avail           = Aug-2017
   sw_avail           = Sep-2017
   hw_cpu_nominal_mhz = 2400
   hw_cpu_max_mhz     = 3200
   hw_ncores          = 20
   hw_nthreadspercore = 2
   hw_ncpuorder       = 1,2 chips

   hw_model000        = ThinkSystem SR550
hw_model001 = (2.40 GHz, Intel Xeon Gold 5115)
   hw_other           = None
#   sw_other           = # TurboHeap Library V8.1              # Other perf-relevant sw, or "None"

   hw_pcache          = 32 KB I + 32 KB D on chip per core
   hw_scache          = 1 MB I+D on chip per core
   hw_tcache          = 13.75 MB I+D on chip per chip
   hw_ocache          = None

#   hw_memory001       = # 4 TB (256 x 16 GB 2Rx4 PC4-2133P-R, # N GB (M x N GB nRxn
#   hw_memory002       = # running at 1600 MHz)                # PCn-nnnnnR-n[, ECC and other info])


#--------- Sysinfo fields - You may need to adjust this section ---------------
# Note: Some commented-out fields above are automatically set to preliminary
# values by sysinfo
#       www.spec.org/auto/cpu2017/Docs/config.html#sysinfo
# Uncomment lines for which you already have a better answer than sysinfo
#
intrate,intspeed,fprate,fpspeed: # Important: keep this line
                        # Example               # Brief info about field
 # hw_cpu_name        = # Intel Xeon E9-9999 v9               # chip name
 # hw_disk            = # 9 x 9 TB SATA III 9999 RPM          # Size, type, other perf-relevant info
 # hw_nchips          = # 99                                  # number chips enabled
 # sw_file            = # ext99                               # File system
 # sw_state           = # Run level 99                        # Software state.

 # sw_os001           = # Linux Sailboat                      # Operating system
 # sw_os002           = # Distribution 7.2 SP1                # and version



#--------- 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 + 32GB 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>
%endif

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 /home/cpu2017.1.0.2.ic18.0/bin/sysinfo
notes_plat_sysinfo_005 = Rev: r5797 of 2017-06-14 96c45e4568ad54c135fd618bcc091c0f
notes_plat_sysinfo_010 = running on linux-yyst Mon Dec 11 18:00:09 2017
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 5115 CPU @ 2.40GHz
notes_plat_sysinfo_050 =       2  "physical id"s (chips)
notes_plat_sysinfo_055 =       40 "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 : 10
notes_plat_sysinfo_075 =       siblings  : 20
notes_plat_sysinfo_080 =       physical 0: cores 0 1 2 3 4 8 9 10 11 12
notes_plat_sysinfo_085 =       physical 1: cores 0 1 2 3 4 8 9 10 11 12
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):                40
notes_plat_sysinfo_120 =      On-line CPU(s) list:   0-39
notes_plat_sysinfo_125 =      Thread(s) per core:    2
notes_plat_sysinfo_130 =      Core(s) per socket:    10
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 5115 CPU @ 2.40GHz
notes_plat_sysinfo_165 =      Stepping:              4
notes_plat_sysinfo_170 =      CPU MHz:               2394.380
notes_plat_sysinfo_175 =      BogoMIPS:              4788.76
notes_plat_sysinfo_180 =      Virtualization:        VT-x
notes_plat_sysinfo_185 =      L1d cache:             32K
notes_plat_sysinfo_190 =      L1i cache:             32K
notes_plat_sysinfo_195 =      L2 cache:              1024K
notes_plat_sysinfo_200 =      L3 cache:              14080K
notes_plat_sysinfo_205 =      NUMA node0 CPU(s):     0-9,20-29
notes_plat_sysinfo_210 =      NUMA node1 CPU(s):     10-19,30-39
notes_plat_sysinfo_215 =      Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
notes_plat_sysinfo_220 =      pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp
notes_plat_sysinfo_225 =      lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc
notes_plat_sysinfo_230 =      aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg
notes_plat_sysinfo_235 =      fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes
notes_plat_sysinfo_240 =      xsave avx f16c rdrand lahf_lm abm 3dnowprefetch ida arat epb pln pts dtherm intel_pt
notes_plat_sysinfo_245 =      tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2
notes_plat_sysinfo_250 =      erms invpcid rtm cqm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd
notes_plat_sysinfo_255 =      avx512bw avx512vl xsaveopt xsavec xgetbv1 cqm_llc cqm_occup_llc
notes_plat_sysinfo_260 =
notes_plat_sysinfo_265 = /proc/cpuinfo cache data
notes_plat_sysinfo_270 =    cache size : 14080 KB
notes_plat_sysinfo_275 =
notes_plat_sysinfo_280 = From numactl --hardware  WARNING: a numactl 'node' might or might not correspond to a
notes_plat_sysinfo_285 = physical chip.
notes_plat_sysinfo_290 =   available: 2 nodes (0-1)
notes_plat_sysinfo_295 =   node 0 cpus: 0 1 2 3 4 5 6 7 8 9 20 21 22 23 24 25 26 27 28 29
notes_plat_sysinfo_300 =   node 0 size: 193110 MB
notes_plat_sysinfo_305 =   node 0 free: 192365 MB
notes_plat_sysinfo_310 =   node 1 cpus: 10 11 12 13 14 15 16 17 18 19 30 31 32 33 34 35 36 37 38 39
notes_plat_sysinfo_315 =   node 1 size: 193504 MB
notes_plat_sysinfo_320 =   node 1 free: 192746 MB
notes_plat_sysinfo_325 =   node distances:
notes_plat_sysinfo_330 =   node   0   1
notes_plat_sysinfo_335 =     0:  10  21
notes_plat_sysinfo_340 =     1:  21  10
notes_plat_sysinfo_345 =
notes_plat_sysinfo_350 = From /proc/meminfo
notes_plat_sysinfo_355 =    MemTotal:       395893764 kB
notes_plat_sysinfo_360 =    HugePages_Total:       0
notes_plat_sysinfo_365 =    Hugepagesize:       2048 kB
notes_plat_sysinfo_370 =
notes_plat_sysinfo_375 = From /etc/*release* /etc/*version*
notes_plat_sysinfo_380 =    SuSE-release:
notes_plat_sysinfo_385 =       SUSE Linux Enterprise Server 12 (x86_64)
notes_plat_sysinfo_390 =       VERSION = 12
notes_plat_sysinfo_395 =       PATCHLEVEL = 2
notes_plat_sysinfo_400 =       # This file is deprecated and will be removed in a future service pack or release.
notes_plat_sysinfo_405 =       # Please check /etc/os-release for details about this release.
notes_plat_sysinfo_410 =    os-release:
notes_plat_sysinfo_415 =       NAME="SLES"
notes_plat_sysinfo_420 =       VERSION="12-SP2"
notes_plat_sysinfo_425 =       VERSION_ID="12.2"
notes_plat_sysinfo_430 =       PRETTY_NAME="SUSE Linux Enterprise Server 12 SP2"
notes_plat_sysinfo_435 =       ID="sles"
notes_plat_sysinfo_440 =       ANSI_COLOR="0;32"
notes_plat_sysinfo_445 =       CPE_NAME="cpe:/o:suse:sles:12:sp2"
notes_plat_sysinfo_450 =
notes_plat_sysinfo_455 = uname -a:
notes_plat_sysinfo_460 =    Linux linux-yyst 4.4.21-69-default #1 SMP Tue Oct 25 10:58:20 UTC 2016 (9464f67)
notes_plat_sysinfo_465 =    x86_64 x86_64 x86_64 GNU/Linux
notes_plat_sysinfo_470 =
notes_plat_sysinfo_475 = run-level 3 Dec 11 17:58
notes_plat_sysinfo_480 =
notes_plat_sysinfo_485 = SPEC is set to: /home/cpu2017.1.0.2.ic18.0
notes_plat_sysinfo_490 =    Filesystem     Type   Size  Used Avail Use% Mounted on
notes_plat_sysinfo_495 =    /dev/sda2      btrfs  744G   13G  730G   2% /home
notes_plat_sysinfo_500 =
notes_plat_sysinfo_505 = Additional information from dmidecode follows.  WARNING: Use caution when you interpret
notes_plat_sysinfo_510 = this section. The 'dmidecode' program reads system data which is "intended to allow
notes_plat_sysinfo_515 = hardware to be accurately determined", but the intent may not be met, as there are
notes_plat_sysinfo_520 = frequent changes to hardware, firmware, and the "DMTF SMBIOS" standard.
notes_plat_sysinfo_525 =   BIOS Lenovo -[TEE119J-1.20]- 09/06/2017
notes_plat_sysinfo_530 =   Memory:
notes_plat_sysinfo_535 =    12x Hynix HMA84GR7AFR4N-VK 32 GB 2 rank 2666, configured at 2400
notes_plat_sysinfo_540 =
notes_plat_sysinfo_545 = (End of data from sysinfo program)
hw_cpu_name    = Intel Xeon Gold 5115
hw_disk        = 1 x 800 GB SAS SSD
hw_memory000   = 384 GB (12 x 32 GB 2Rx4 PC4-2666V-R, running at
hw_memory001   = 2400)
hw_nchips      = 2
prepared_by    = root  (is never output, only tags rawfile)
fw_bios = Lenovo BIOS Version TEE119J 1.20 released Sep-2017
sw_file        = btrfs
sw_os000       = SUSE Linux Enterprise Server 12 SP2 (x86_64)
sw_os001       = Kernel 4.4.21-69-default
sw_state       = Run level 3 (multi-user)
# 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 = "/home/cpu2017.1.0.2.ic18.0/lib/ia32:/home/cpu2017.1.0.2.ic18.0/lib/intel64"
notes_010 =LD_LIBRARY_PATH = "$LD_LIBRARY_PATH:/home/cpu2017.1.0.2.ic18.0/je5.0.1-32:/home/cpu2017.1.0.2.ic18.0/je5.0.1-64"
notes_plat_form_000 =BIOS configuration:
notes_plat_form_005 =Choose Operating Mode set to Maximum Performance
notes_plat_form_010 =DCU Streamer Prefetcher set to Enable
notes_plat_form_015 =MONITORMWAIT set to Enable
notes_plat_form_020 =SNC set to Enable