# Invocation command line:
# /home/cpu2017.1.0.2.ic18.0/bin/harness/runcpu --define default-platform-flags --copies 128 --configfile ic18.0-lin-core-avx2-rate-20170901.cfg --define smt-on --define cores=64 --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           = Nov-2017
   sw_avail           = Sep-2017
   hw_cpu_nominal_mhz = 2600
   hw_cpu_max_mhz     = 3700
   hw_ncores          = 64
   hw_nthreadspercore = 2
   hw_ncpuorder       = 2,4 chips

   hw_model000        = ThinkSystem SR860
hw_model001 = (2.60 GHz, Intel Xeon Gold 6142)
   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          = 22 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>
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.
notes_085 =
notes_090 =This benchmark result is intended to provide perspective on
notes_095 =past performance using the historical hardware and/or
notes_100 =software described on this result page.
notes_105 =
notes_110 =The system as described on this result page was formerly
notes_115 =generally available.  At the time of this publication, it may
notes_120 =not be shipping, and/or may not be supported, and/or may fail
notes_125 =to meet other tests of General Availability described in the
notes_130 =SPEC OSG Policy document, http://www.spec.org/osg/policy.html
notes_135 =
notes_140 =This measured result may not be representative of the result
notes_145 =that would be measured were this benchmark run with hardware
notes_150 =and software available as of the publication date.
%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 SR860 Thu Dec 28 07:51:51 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 6142 CPU @ 2.60GHz
notes_plat_sysinfo_050 =       4  "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 following
notes_plat_sysinfo_065 =    excerpts from /proc/cpuinfo might not be reliable.  Use with caution.)
notes_plat_sysinfo_070 =       cpu cores : 16
notes_plat_sysinfo_075 =       siblings  : 32
notes_plat_sysinfo_080 =       physical 0: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
notes_plat_sysinfo_085 =       physical 1: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
notes_plat_sysinfo_090 =       physical 2: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
notes_plat_sysinfo_095 =       physical 3: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
notes_plat_sysinfo_100 =
notes_plat_sysinfo_105 = From lscpu:
notes_plat_sysinfo_110 =      Architecture:          x86_64
notes_plat_sysinfo_115 =      CPU op-mode(s):        32-bit, 64-bit
notes_plat_sysinfo_120 =      Byte Order:            Little Endian
notes_plat_sysinfo_125 =      CPU(s):                128
notes_plat_sysinfo_130 =      On-line CPU(s) list:   0-127
notes_plat_sysinfo_135 =      Thread(s) per core:    2
notes_plat_sysinfo_140 =      Core(s) per socket:    16
notes_plat_sysinfo_145 =      Socket(s):             4
notes_plat_sysinfo_150 =      NUMA node(s):          8
notes_plat_sysinfo_155 =      Vendor ID:             GenuineIntel
notes_plat_sysinfo_160 =      CPU family:            6
notes_plat_sysinfo_165 =      Model:                 85
notes_plat_sysinfo_170 =      Model name:            Intel(R) Xeon(R) Gold 6142 CPU @ 2.60GHz
notes_plat_sysinfo_175 =      Stepping:              4
notes_plat_sysinfo_180 =      CPU MHz:               2600.000
notes_plat_sysinfo_185 =      BogoMIPS:              5200.00
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:              22528K
notes_plat_sysinfo_215 =      NUMA node0 CPU(s):     0-3,8-11,64-67,72-75
notes_plat_sysinfo_220 =      NUMA node1 CPU(s):     4-7,12-15,68-71,76-79
notes_plat_sysinfo_225 =      NUMA node2 CPU(s):     16-19,24-27,80-83,88-91
notes_plat_sysinfo_230 =      NUMA node3 CPU(s):     20-23,28-31,84-87,92-95
notes_plat_sysinfo_235 =      NUMA node4 CPU(s):     32-35,40-43,96-99,104-107
notes_plat_sysinfo_240 =      NUMA node5 CPU(s):     36-39,44-47,100-103,108-111
notes_plat_sysinfo_245 =      NUMA node6 CPU(s):     48-51,56-59,112-115,120-123
notes_plat_sysinfo_250 =      NUMA node7 CPU(s):     52-55,60-63,116-119,124-127
notes_plat_sysinfo_255 =      Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
notes_plat_sysinfo_260 =      pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp
notes_plat_sysinfo_265 =      lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc
notes_plat_sysinfo_270 =      aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 fma
notes_plat_sysinfo_275 =      cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes
notes_plat_sysinfo_280 =      xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb cat_l3 cdp_l3 intel_pt
notes_plat_sysinfo_285 =      tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2
notes_plat_sysinfo_290 =      erms invpcid rtm cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb
notes_plat_sysinfo_295 =      avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 cqm_llc cqm_occup_llc
notes_plat_sysinfo_300 =      cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts
notes_plat_sysinfo_305 =
notes_plat_sysinfo_310 = /proc/cpuinfo cache data
notes_plat_sysinfo_315 =    cache size : 22528 KB
notes_plat_sysinfo_320 =
notes_plat_sysinfo_325 = From numactl --hardware  WARNING: a numactl 'node' might or might not correspond to a
notes_plat_sysinfo_330 = physical chip.
notes_plat_sysinfo_335 =   available: 8 nodes (0-7)
notes_plat_sysinfo_340 =   node 0 cpus: 0 1 2 3 8 9 10 11 64 65 66 67 72 73 74 75
notes_plat_sysinfo_345 =   node 0 size: 97982 MB
notes_plat_sysinfo_350 =   node 0 free: 95386 MB
notes_plat_sysinfo_355 =   node 1 cpus: 4 5 6 7 12 13 14 15 68 69 70 71 76 77 78 79
notes_plat_sysinfo_360 =   node 1 size: 98304 MB
notes_plat_sysinfo_365 =   node 1 free: 95904 MB
notes_plat_sysinfo_370 =   node 2 cpus: 16 17 18 19 24 25 26 27 80 81 82 83 88 89 90 91
notes_plat_sysinfo_375 =   node 2 size: 98304 MB
notes_plat_sysinfo_380 =   node 2 free: 95870 MB
notes_plat_sysinfo_385 =   node 3 cpus: 20 21 22 23 28 29 30 31 84 85 86 87 92 93 94 95
notes_plat_sysinfo_390 =   node 3 size: 98304 MB
notes_plat_sysinfo_395 =   node 3 free: 95824 MB
notes_plat_sysinfo_400 =   node 4 cpus: 32 33 34 35 40 41 42 43 96 97 98 99 104 105 106 107
notes_plat_sysinfo_405 =   node 4 size: 98304 MB
notes_plat_sysinfo_410 =   node 4 free: 95918 MB
notes_plat_sysinfo_415 =   node 5 cpus: 36 37 38 39 44 45 46 47 100 101 102 103 108 109 110 111
notes_plat_sysinfo_420 =   node 5 size: 98304 MB
notes_plat_sysinfo_425 =   node 5 free: 95886 MB
notes_plat_sysinfo_430 =   node 6 cpus: 48 49 50 51 56 57 58 59 112 113 114 115 120 121 122 123
notes_plat_sysinfo_435 =   node 6 size: 98304 MB
notes_plat_sysinfo_440 =   node 6 free: 95832 MB
notes_plat_sysinfo_445 =   node 7 cpus: 52 53 54 55 60 61 62 63 116 117 118 119 124 125 126 127
notes_plat_sysinfo_450 =   node 7 size: 98304 MB
notes_plat_sysinfo_455 =   node 7 free: 95854 MB
notes_plat_sysinfo_460 =   node distances:
notes_plat_sysinfo_465 =   node   0   1   2   3   4   5   6   7
notes_plat_sysinfo_470 =     0:  10  11  21  21  21  21  31  31
notes_plat_sysinfo_475 =     1:  11  10  21  21  21  21  31  31
notes_plat_sysinfo_480 =     2:  21  21  10  11  31  31  21  21
notes_plat_sysinfo_485 =     3:  21  21  11  10  31  31  21  21
notes_plat_sysinfo_490 =     4:  21  21  31  31  10  11  21  21
notes_plat_sysinfo_495 =     5:  21  21  31  31  11  10  21  21
notes_plat_sysinfo_500 =     6:  31  31  21  21  21  21  10  11
notes_plat_sysinfo_505 =     7:  31  31  21  21  21  21  11  10
notes_plat_sysinfo_510 =
notes_plat_sysinfo_515 = From /proc/meminfo
notes_plat_sysinfo_520 =    MemTotal:       792255396 kB
notes_plat_sysinfo_525 =    HugePages_Total:       0
notes_plat_sysinfo_530 =    Hugepagesize:       2048 kB
notes_plat_sysinfo_535 =
notes_plat_sysinfo_540 = From /etc/*release* /etc/*version*
notes_plat_sysinfo_545 =    os-release:
notes_plat_sysinfo_550 =       NAME="Red Hat Enterprise Linux Server"
notes_plat_sysinfo_555 =       VERSION="7.4 (Maipo)"
notes_plat_sysinfo_560 =       ID="rhel"
notes_plat_sysinfo_565 =       ID_LIKE="fedora"
notes_plat_sysinfo_570 =       VARIANT="Server"
notes_plat_sysinfo_575 =       VARIANT_ID="server"
notes_plat_sysinfo_580 =       VERSION_ID="7.4"
notes_plat_sysinfo_585 =       PRETTY_NAME="Red Hat Enterprise Linux Server 7.4 (Maipo)"
notes_plat_sysinfo_590 =    redhat-release: Red Hat Enterprise Linux Server release 7.4 (Maipo)
notes_plat_sysinfo_595 =    system-release: Red Hat Enterprise Linux Server release 7.4 (Maipo)
notes_plat_sysinfo_600 =    system-release-cpe: cpe:/o:redhat:enterprise_linux:7.4:ga:server
notes_plat_sysinfo_605 =
notes_plat_sysinfo_610 = uname -a:
notes_plat_sysinfo_615 =    Linux SR860 3.10.0-693.el7.x86_64 #1 SMP Thu Jul 6 19:56:57 EDT 2017 x86_64 x86_64
notes_plat_sysinfo_620 =    x86_64 GNU/Linux
notes_plat_sysinfo_625 =
notes_plat_sysinfo_630 = run-level 3 Dec 27 22:31
notes_plat_sysinfo_635 =
notes_plat_sysinfo_640 = SPEC is set to: /home/cpu2017.1.0.2.ic18.0
notes_plat_sysinfo_645 =    Filesystem     Type  Size  Used Avail Use% Mounted on
notes_plat_sysinfo_650 =    /dev/sda4      xfs   686G  129G  557G  19% /home
notes_plat_sysinfo_655 =
notes_plat_sysinfo_660 = Additional information from dmidecode follows.  WARNING: Use caution when you interpret
notes_plat_sysinfo_665 = this section. The 'dmidecode' program reads system data which is "intended to allow
notes_plat_sysinfo_670 = hardware to be accurately determined", but the intent may not be met, as there are
notes_plat_sysinfo_675 = frequent changes to hardware, firmware, and the "DMTF SMBIOS" standard.
notes_plat_sysinfo_680 =   BIOS Lenovo -[TEE117I-1.10]- 10/19/2017
notes_plat_sysinfo_685 =   Memory:
notes_plat_sysinfo_690 =    48x Samsung M393A2K43BB1-CTD 16 GB 2 rank 2666
notes_plat_sysinfo_695 =
notes_plat_sysinfo_700 = (End of data from sysinfo program)
hw_cpu_name    = Intel Xeon Gold 6142
hw_disk        = 1 x 800 GB SAS SSD
hw_memory      = 768 GB (48 x 16 GB 2Rx8 PC4-2666V-R)
hw_nchips      = 4
prepared_by    = root  (is never output, only tags rawfile)
fw_bios = Lenovo BIOS Version TEE117I 1.10 released Oct-2017
sw_file        = xfs
sw_os000       = Red Hat Enterprise Linux Server release 7.4
sw_os001 = (Maipo)
sw_os002       = Kernel 3.10.0-693.el7.x86_64
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 =SNC set to Enable
notes_plat_form_015 =DCU Streamer Prefetcher set to Disable
notes_plat_form_020 =DCU IP Prefetcher set to Disable
notes_plat_form_025 =MONITORMWAIT set to Enable
notes_plat_form_030 =Per Core P-state set to Disable