# Invocation command line:
# /root/mackey/ramdisk/specOMP/bin/runspec --reportable --threads=513 --action=validate --size=ref -o csv,asc,html -n 3 -T all --define VECTOR=avx2 --define ICCV=16.0.3.210 all
# output_root was not used for this run
############################################################################
# Invocation command line:
# /root/omp2012/bin/runspec --reportable --threads 480 -a validate -n 3 -o asc,csv,html,cfg,pdf -i ref -T base -c sgi-linux-ic14.cfg gross
# output_root was not used for this run
############################################################################

%if !defined(%{VECTOR})
%  error must define VECTOR to be avx or avx2
%endif

%if !defined(%{ICC}) && !defined(%{ICCV})
    error must define ICC 16 or 14 or specify ICCV
%endif

%if !defined(%{ICCV})
%   if '%{ICC}' eq 16
%      define ICCV 16.0.2.181
%   elif '%{ICC}' eq 14
%      define ICCV 14.0.1.106
%   else
       error invalid value for ICC '%{ICC}'
%   endif
%endif

%if defined(%{DEBUG})
%  define EXT .dbg
%else
%  define EXT
%endif

%if defined(%{HALFSYSTEM})
%   define SOCKETS  16
%   define MEMDIMMS 256
%   define MEMTB    4
%   define NCORES   288
%else
%   define SOCKETS  32
%   define MEMDIMMS 512
%   define MEMTB    8
%   define NCORES   576
%endif

%if defined(%{HYPERTHREADING})
%   define THREADSPERCORE 2
%   define HT Enabled
%else
%   define THREADSPERCORE 1
%   define HT Disabled
%endif

############################################################################
# Invocation command line:
############################################################################
#teeout          = yes
output_format           = all
tune                    = base
ext                     = %{ICCV}.%{VECTOR}%{EXT}
flagsurl000             = http://www.spec.org/omp2012/flags/SGI-OMP2012-ic16.20160706.xml
flagsurl001             = http://www.spec.org/omp2012/flags/SGI-UV300-RevB.20160706.xml
check_md5               = yes
env_vars                = yes
mean_anyway             = 1
use_submit_for_speed    = 1
strict_rundir_verify    = 1
sysinfo_program         = specperl $[top]/Docs/sysinfo -f -p
submit                  = dplace -x2 $command

company_name            = SGI
test_sponsor            = SGI
tester                  = SGI
license_num             = 14

hw_vendor               = SGI
hw_avail                = Jun-2016
hw_model                = SGI UV 300 (Intel Xeon E7-8867 v4, 2.40 GHz)
hw_ncpuorder            = 4-32 chips
hw_cpu_name             = Intel Xeon E7-8867 v4
hw_cpu_char             = Intel Turbo Boost Technology up to 3.30 GHz
hw_nchips               = 32
hw_ncoresperchip        = 18
hw_nthreadspercore      = 1
hw_ncores               = 576
hw_cpu_mhz              = 2400
hw_cpu_max_mhz          = 3300
hw_pcache               = 32 KB I + 32 KB D on chip per core
hw_scache               = 256 KB I+D on chip per core
hw_tcache               = 45 MB I+D on chip per chip
hw_ocache               = None
hw_fpu                  = Integrated
hw_memory000            = 8 TB (512 x 16 GB 2Rx4 PC4-2133P-R,
hw_memory001            = running at 1600 MHz)
hw_disk000              = 1 x 400 GB SSD (Intel SSD 3500 Series,
hw_disk001              = SATA II)
hw_other                = None

sw_avail                = Apr-2016
sw_compiler000          = C/C++/Fortran: Version 16.0.3.210 of Intel
sw_compiler001          = Composer XE for Linux, Build 20160415
sw_base_ptrsize         = 64-bit
sw_peak_ptrsize         = Not Applicable
sw_parallel_other       = None
sw_file                 = ext3
sw_os000                = SUSE Linux Enterprise Server 12 (x86_64) SP1
sw_os001                = Kernel 3.12.57-60.35-default
sw_state                = Multi-user, run level 3
sw_other000             = SGI Accelerate 1.12
sw_other001             = (Build 714r28.sles12sp1-1604201900),
sw_other002             = SGI Foundation Software 2.14
sw_other003             = (Build 714r28.sles12sp1-1604201900)

prepared_by             = Mark Mackey (mackey@sgi.com)

makeflags		= -j16

#
# These are listed as benchmark-tuning-extension-machine
#
default=default=default=default:
CC = icc
FC = ifort
CXX = icpc
#
# portability & libraries
#
#default=default=default=default:

ENV_KMP_AFFINITY=disabled
ENV_KMP_STACKSIZE=200M
ENV_KMP_SCHEDULE=static,balanced
ENV_OMP_DYNAMIC=FALSE

%if '%{VECTOR}' eq 'avx'
%  define FLAG -xAVX
%elif '%{VECTOR}' eq 'avx2'
%  define FLAG -xCORE-AVX2
%else
%  error invalid value for VECTOR '%{VECTOR}'
%endif

%if defined(%{DEBUG})
%  define OPT -O0 -g
%  define OPTF -O0 -g
%else
%  define OPT -O3
%  define OPTF -O2
%endif

gross=default=default=default:
COPTIMIZE   = %{OPT} %{FLAG} -ipo1  -openmp -ansi-alias -mcmodel=medium -shared-intel
CXXOPTIMIZE = %{OPT} %{FLAG} -ipo1  -openmp -ansi-alias -mcmodel=medium -shared-intel
FOPTIMIZE   = %{OPT} %{FLAG} -ipo1  -openmp -mcmodel=medium -shared-intel -align array64byte

350.md=default=default=default:
FPORTABILITY = -free

367.imagick=default=default=default:
CPORTABILITY = -std=c99

372.smithwa=default=default=default:

###############################
#       Peak settings
###############################

350.md=peak=default=default:
threads=576
#FOPTIMIZE   = %{OPT} %{FLAG} -po1  -openmp -mcmodel=medium -shared-intel

351.bwaves=peak=default=default:
threads=517
#FOPTIMIZE   = %{OPT} %{FLAG} -ipo1  -openmp -mcmodel=medium -shared-intel

352.nab=peak=default=default:
threads=520

357.bt331=peak=default=default:
threads=531
#FOPTIMIZE   = %{OPT} %{FLAG} -ipo1  -openmp -mcmodel=medium -shared-intel

358.botsalgn=peak=default=default:
threads=576

359.botsspar=peak=default=default:
basepeak=1
#threads=567

360.ilbdc=peak=default=default:
threads=576
#FOPTIMIZE   = %{OPT} %{FLAG} -ipo1  -openmp -mcmodel=medium -shared-intel

362.fma3d=peak=default=default:
threads=567
#FOPTIMIZE   = %{OPT} %{FLAG} -ipo1  -openmp -mcmodel=medium -shared-intel

363.swim=peak=default=default:
threads=567
#FOPTIMIZE   = %{OPT} %{FLAG} -ipo1  -openmp -mcmodel=medium -shared-intel

367.imagick=peak=default=default:
threads=576

370.mgrid331=peak=default=default:
threads=512

371.applu331=peak=default=default:
threads=531
#FOPTIMIZE   = %{OPT} %{FLAG} -ipo1  -openmp -mcmodel=medium -shared-intel

372.smithwa=peak=default=default:
threads=576

376.kdtree=peak=default=default:
threads=576


default:
notes_submit_000 =For all benchmarks threads were bound to cores using
notes_submit_005 =the following submit command:
notes_submit_010 =    dplace -x2 $command
notes_submit_015 =This binds threads in order of creation, beginning
notes_submit_020 =with the master thread on logical cpu 0, the first slave
notes_submit_025 =thread on logical cpu 1, and so on.  The -x2 flag instructs
notes_submit_030 =dplace to skip placement of the lightweight OpenMP monitor
notes_submit_035 =thread, which is created prior to the slave threads.
notes_submit_040 =
notes_os_000 =Transparent Hugepages :
notes_os_005 =    Transparent Hugepages are disabled by
notes_os_010 =    echo never > /sys/kernel/mm/transparent_hugepage/enabled
notes_os_015 =
notes_os_020 =Software Environment:
notes_os_025 =    export KMP_AFFINITY=disabled
notes_os_030 =    export KMP_STACKSIZE=200M
notes_os_035 =    export KMP_SCHEDULE=static,balanced
notes_os_040 =    export OMP_DYNAMIC=FALSE
notes_os_045 =    ulimit -s unlimited
notes_os_050 =


# The following settings were obtained by running 'specperl $[top]/Docs/sysinfo -f -p'
default:
# Sysinfo program /root/omp2012/Docs/sysinfo
# $Rev: 395 $ $Date:: 2012-07-25 #$ 8f8c0fe9e19c658963a1e67685e50647
# running on harp27-sys Sat Apr 11 13:28:04 2015
#
# This section contains SUT (System Under Test) info as seen by
# some common utilities.  To remove or add to this section, see:
#   http://www.spec.org/omp2012/Docs/config.html#sysinfo
#
# From /proc/cpuinfo
#    model name : Intel(R) Xeon(R) CPU E7-8890 v2 @ 2.80GHz
#       32 "physical id"s (chips)
#       480 "processors"
#    cores, siblings (Caution: counting these is hw and system dependent.  The
#    following excerpts from /proc/cpuinfo might not be reliable.  Use with
#    caution.)
#       cpu cores : 15
#       siblings  : 15
#       physical 0: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
#       physical 1: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
#       physical 2: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
#       physical 3: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
#       physical 4: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
#       physical 5: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
#       physical 6: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
#       physical 7: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
#       physical 8: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
#       physical 9: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
#       physical 10: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
#       physical 11: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
#       physical 12: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
#       physical 13: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
#       physical 14: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
#       physical 15: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
#       physical 16: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
#       physical 17: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
#       physical 18: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
#       physical 19: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
#       physical 20: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
#       physical 21: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
#       physical 22: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
#       physical 23: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
#       physical 24: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
#       physical 25: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
#       physical 26: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
#       physical 27: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
#       physical 28: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
#       physical 29: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
#       physical 30: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
#       physical 31: cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
#    cache size : 38400 KB
#
# From /proc/meminfo
#    MemTotal:       4102778388 kB
#    HugePages_Total:       0
#    Hugepagesize:       2048 kB
#
# /usr/bin/lsb_release -d
#    SUSE Linux Enterprise Server 11 (x86_64)
#
# From /etc/*release* /etc/*version*
#    SuSE-release:
#       SUSE Linux Enterprise Server 11 (x86_64)
#       VERSION = 11
#       PATCHLEVEL = 3
#    sgi-accelerate-release: SGI Accelerate 1.9, Build
#    711rp57.sles11sp3-1502132100
#    sgi-foundation-release: SGI Foundation Software 2.11, Build
#    711rp57.sles11sp3-1502132100
#    sgi-mpi-release: SGI MPI 1.9, Build 711rp57.sles11sp3-1502132100
#
# uname -a:
#    Linux harp27-sys 3.0.101-0.46-default #1 SMP Wed Dec 17 11:04:10 UTC 2014
#    (8356111) x86_64 x86_64 x86_64 GNU/Linux
#
# run-level 3 Apr 10 15:24 last=S
#
# SPEC is set to: /root/omp2012
#    Filesystem     Type  Size  Used Avail Use% Mounted on
#    /dev/sda6      ext3   46G   44G     0 100% /
#
# Additional information from dmidecode:
#   BIOS Silicon Graphics International Corp. SGI UV 300 series BIOS 11/13/2014
#   Memory:
#    256x Hynix HMT42GR7AFR4C-RD 16 GB 1333 MHz 1 rank
#
# (End of data from sysinfo program)
# hw_cpu_name    = Intel Xeon E7-8890 v2
# hw_disk        = 46 GB  add more disk info here
# hw_memory001   = 3912.714 GB fixme: If using DDR3, format is:
# hw_memory002   = 'N GB (M x N GB nRxn PCn-nnnnnR-n, ECC)'
# hw_nchips      = 32
# prepared_by    = root  (is never output, only tags rawfile)
# sw_file        = ext3
# sw_os001       = SUSE Linux Enterprise Server 11 (x86_64)
# sw_os002       = 3.0.101-0.46-default
# sw_state       = Run level 3 (add definition here)


# The following section was added automatically, and contains settings that
# did not appear in the original configuration file, but were added to the
# raw file after the run.
default:
notes_plat_form_000=Intel Hyperthreading set to Disabled


# The following settings were obtained by running 'specperl $[top]/Docs/sysinfo -f -p'
default:
# Sysinfo program /root/mackey/ramdisk/specOMP/Docs/sysinfo
# $Rev: 395 $ $Date:: 2012-07-25 #$ 8f8c0fe9e19c658963a1e67685e50647
# running on harp27-sys Sun Jun  5 19:57:34 2016
#
# This section contains SUT (System Under Test) info as seen by
# some common utilities.  To remove or add to this section, see:
#   http://www.spec.org/omp2012/Docs/config.html#sysinfo
#
# From /proc/cpuinfo
#    model name : Intel(R) Xeon(R) CPU E7-8867 v4 @ 2.40GHz
#       32 "physical id"s (chips)
#       576 "processors"
#    cores, siblings (Caution: counting these is hw and system dependent.  The
#    following excerpts from /proc/cpuinfo might not be reliable.  Use with
#    caution.)
#       cpu cores : 18
#       siblings  : 18
#       physical 0: cores 0 1 2 3 4 8 9 10 11 16 17 18 19 20 24 25 26 27
#       physical 1: cores 0 1 2 3 4 8 9 10 11 16 17 18 19 20 24 25 26 27
#       physical 2: cores 0 1 2 3 4 8 9 10 11 16 17 18 19 20 24 25 26 27
#       physical 3: cores 0 1 2 3 4 8 9 10 11 16 17 18 19 20 24 25 26 27
#       physical 4: cores 0 1 2 3 4 8 9 10 11 16 17 18 19 20 24 25 26 27
#       physical 5: cores 0 1 2 3 4 8 9 10 11 16 17 18 19 20 24 25 26 27
#       physical 6: cores 0 1 2 3 4 8 9 10 11 16 17 18 19 20 24 25 26 27
#       physical 7: cores 0 1 2 3 4 8 9 10 11 16 17 18 19 20 24 25 26 27
#       physical 8: cores 0 1 2 3 4 8 9 10 11 16 17 18 19 20 24 25 26 27
#       physical 9: cores 0 1 2 3 4 8 9 10 11 16 17 18 19 20 24 25 26 27
#       physical 10: cores 0 1 2 3 4 8 9 10 11 16 17 18 19 20 24 25 26 27
#       physical 11: cores 0 1 2 3 4 8 9 10 11 16 17 18 19 20 24 25 26 27
#       physical 12: cores 0 1 2 3 4 8 9 10 11 16 17 18 19 20 24 25 26 27
#       physical 13: cores 0 1 2 3 4 8 9 10 11 16 17 18 19 20 24 25 26 27
#       physical 14: cores 0 1 2 3 4 8 9 10 11 16 17 18 19 20 24 25 26 27
#       physical 15: cores 0 1 2 3 4 8 9 10 11 16 17 18 19 20 24 25 26 27
#       physical 16: cores 0 1 2 3 4 8 9 10 11 16 17 18 19 20 24 25 26 27
#       physical 17: cores 0 1 2 3 4 8 9 10 11 16 17 18 19 20 24 25 26 27
#       physical 18: cores 0 1 2 3 4 8 9 10 11 16 17 18 19 20 24 25 26 27
#       physical 19: cores 0 1 2 3 4 8 9 10 11 16 17 18 19 20 24 25 26 27
#       physical 20: cores 0 1 2 3 4 8 9 10 11 16 17 18 19 20 24 25 26 27
#       physical 21: cores 0 1 2 3 4 8 9 10 11 16 17 18 19 20 24 25 26 27
#       physical 22: cores 0 1 2 3 4 8 9 10 11 16 17 18 19 20 24 25 26 27
#       physical 23: cores 0 1 2 3 4 8 9 10 11 16 17 18 19 20 24 25 26 27
#       physical 24: cores 0 1 2 3 4 8 9 10 11 16 17 18 19 20 24 25 26 27
#       physical 25: cores 0 1 2 3 4 8 9 10 11 16 17 18 19 20 24 25 26 27
#       physical 26: cores 0 1 2 3 4 8 9 10 11 16 17 18 19 20 24 25 26 27
#       physical 27: cores 0 1 2 3 4 8 9 10 11 16 17 18 19 20 24 25 26 27
#       physical 28: cores 0 1 2 3 4 8 9 10 11 16 17 18 19 20 24 25 26 27
#       physical 29: cores 0 1 2 3 4 8 9 10 11 16 17 18 19 20 24 25 26 27
#       physical 30: cores 0 1 2 3 4 8 9 10 11 16 17 18 19 20 24 25 26 27
#       physical 31: cores 0 1 2 3 4 8 9 10 11 16 17 18 19 20 24 25 26 27
#    cache size : 46080 KB
#
# From /proc/meminfo
#    MemTotal:       8206547508 kB
#    HugePages_Total:       0
#    Hugepagesize:       2048 kB
#
# /usr/bin/lsb_release -d
#    SUSE Linux Enterprise Server 12 SP1
#
# From /etc/*release* /etc/*version*
#    SuSE-release:
#       SUSE Linux Enterprise Server 12 (x86_64)
#       VERSION = 12
#       PATCHLEVEL = 1
#       # This file is deprecated and will be removed in a future service pack or
#       release.
#       # Please check /etc/os-release for details about this release.
#    os-release:
#       NAME="SLES"
#       VERSION="12-SP1"
#       VERSION_ID="12.1"
#       PRETTY_NAME="SUSE Linux Enterprise Server 12 SP1"
#       ID="sles"
#       ANSI_COLOR="0;32"
#       CPE_NAME="cpe:/o:suse:sles:12:sp1"
#    sgi-accelerate-release: SGI Accelerate 1.12, Build
#    714r28.sles12sp1-1604201900
#    sgi-foundation-release: SGI Foundation Software 2.14, Build
#    714r28.sles12sp1-1604201900
#    sgi-mpi-release: SGI MPI 1.12, Build 714r28.sles12sp1-1604201900
#    sgi-release: SGI Performance Suite 1.12
#
# uname -a:
#    Linux harp27-sys 3.12.57-60.35-default #1 SMP Tue Mar 22 10:47:09 UTC 2016
#    (1cd55eb) x86_64 x86_64 x86_64 GNU/Linux
#
# run-level 3 Jun 3 15:25
#
# SPEC is set to: /root/mackey/ramdisk/specOMP
#    Filesystem     Type   Size  Used Avail Use% Mounted on
#    none           tmpfs   32G  3.6G   29G  11% /root/mackey/ramdisk
#
# Additional information from dmidecode:
#   BIOS Silicon Graphics International Corp. SGI UV 300 series BIOS 12/11/2015
#   Memory:
#    512x Samsung M393A2G40DB0-CPB 16 GB 1600 MHz
#
# (End of data from sysinfo program)
# hw_cpu_name    = Intel Xeon E7-8867 v4
# hw_disk        = 32 GB  add more disk info here
# hw_memory001   = 7826.374 GB fixme: If using DDR3, format is:
# hw_memory002   = 'N GB (M x N GB nRxn PCn-nnnnnR-n, ECC)'
# hw_nchips      = 32
# prepared_by    = root  (is never output, only tags rawfile)
# sw_file        = tmpfs
# sw_os001       = SUSE Linux Enterprise Server 12 SP1
# sw_os002       = 3.12.57-60.35-default
# sw_state       = Run level 3 (add definition here)