# Invocation command line:
# /home/work/CPU2000/bin/runspec -c fsc_ps23_amd64_20051215 -T all -i ref -n 3 -r -u 4 -o asc all
############################################################################
# SPEC CPU2000 Linux AMD64 config file
# October 2005. PathScale EKOPath Compiler Suite 2.2.1

VENDOR      = Fujitsu Siemens Computers
action      = validate
tune        = base
PATHSEP     = /

check_md5=1
mean_anyway=1

#include: SUT.inc
# ---- Begin inclusion of '/home/work/CPU2000/config/SUT.inc'
# File to be included into config file for SPEC CPU2000

# This include file specifies the "System Under Test" (Hardware,
# OS, BIOS, etc.)
# Any information about the binaries is elsewhere.

# To avoid conflicts in the numbering of the notes,
# please use only 900 and higher numbers.

reportable=1

use_submit_for_speed=1
submit= MYMASK=\$((1<<\$SPECUSERNUM)) ; /usr/bin/taskset \$MYMASK $command
# submit=MYMASK=`printf '0x%x' \$((1<<$SPECUSERNUM))` ; /usr/bin/taskset \$MYMASK $command

################################################################
# System information
# If some remarks about BIOS or Firmware are needed, place them here.
################################################################

default=default=default=default:
notes900=
notes901=BIOS default settings with
notes902=Node memory interleave disabled, SRAT enabled

notes905=taskset has been used to bind processes to CPUs

################################################################
# About Fujitsu Siemens Computers
################################################################

default=default=default=default:
notes980=
notes981=For information about Fujitsu Siemens Computers in your country please see:
notes982=http://www.fujitsu-siemens.com/countries

# Blank line at the end
notes999=

################################################################
# Description Hardware and Software
################################################################

default=default=default=default:
hw_vendor=Fujitsu Siemens Computers
hw_model=CELSIUS V830, Opteron (TM) 285, Linux 64-bit
hw_cpu=AMD Opteron 285
hw_cpu_mhz=2600
hw_fpu=Integrated
hw_ncpu=4 cores, 2 chips, 2 core/chip
hw_ncpuorder=1,2
hw_parallel=No
hw_pcache=64KBI + 64KBD (on chip) per core
hw_scache=1024KB(I+D) (on chip) per core
hw_tcache=N/A
hw_ocache=N/A
hw_memory=8 x 512 MB PC3200 CL3-3-3 DDR SDRAM
hw_disk=SCSI U320
hw_other=None

sw_os=SLES 9 with SP3 (AMD64) - kernel 2.6.5-7.244-smp
sw_file=Linux/ReiserFS
sw_state=Multi-User SuSE Run Level 3

company_name=Fujitsu Siemens Computers
license_num=22
tester_name=Fujitsu Siemens Computers
test_date=Jul-2006
hw_avail=Feb-2006
sw_avail=Mar-2006
prepared_by=Fujitsu Siemens Computers
config=
# ---- End inclusion of '/home/work/CPU2000/config/SUT.inc'

ext=ps23_amd64_20051215
# teeout=yes
teerunout=yes

################################################################
# Compilers
################################################################

default=default=default=default:
ACML_PSC64_DIR = /opt/acml3.0.0/pathscale64/lib
CC=pathcc
FC=pathf95
F77=pathf95
CXX=pathCC

################################################################
# Portability
################################################################

default=default=default=default:
notes020=Portability flags:

186.crafty=default=default=default:
CPORTABILITY = -DLINUX_i386
notes040= 186.crafty:  -DLINUX_i386

252.eon=default=default=default:
CXXPORTABILITY = -DHAS_ERRLIST -DSPEC_CPU2000_LP64
notes050= 252.eon:     -DHAS_ERRLIST -DSPEC_CPU2000_LP64

253.perlbmk=default=default=default:
CPORTABILITY = -DSPEC_CPU2000_LINUX_I386 -DSPEC_CPU2000_NEED_BOOL -DSPEC_CPU2000_GLIBC22 -DSPEC_CPU2000_LP64
notes060= 253.perlbmk: -DSPEC_CPU2000_LINUX_I386 -DSPEC_CPU2000_NEED_BOOL
notes061=              -DSPEC_CPU2000_GLIBC22 -DSPEC_CPU2000_LP64

254.gap=default=default=default:
CPORTABILITY=-DSYS_IS_USG -DSYS_HAS_IOCTL_PROTO -DSYS_HAS_TIME_PROTO -DSYS_HAS_CALLOC_PROTO -DSPEC_CPU2000_LP64
notes070= 254.gap:     -DSYS_IS_USG -DSYS_HAS_IOCTL_PROTO -DSYS_HAS_TIME_PROTO
notes071=              -DSYS_HAS_CALLOC_PROTO -DSPEC_CPU2000_LP64

255.vortex=default=default=default:
CPORTABILITY=-DSPEC_CPU2000_LP64
notes080= 255.vortex:  -DSPEC_CPU2000_LP64

178.galgel=default=default=default:
FPORTABILITY=-fixedform
notes030=   178.galgel: -fixedform

################################################################
# For feedback optimization; ACML-Library
################################################################

default=default=default=default:
notes100=
notes101=Feedback Optimization:
notes102= +FDO: PASS1=-fb_create fbdata   PASS2=-fb_opt fbdata

178.galgel=peak=default=default:
notes109=
notes110=AMD Core Math Library
notes111=+ACML  means -L<acml-install-dir>/pathscale64/lib -lacml,
notes112=        which causes linking with AMD Core Math Library

################################################################
# Baseline Tuning Flags
################################################################

########
#  int
########

int=base=default=default:
PASS1_CFLAGS  = -fb_create fbdata
PASS1_CXXFLAGS  = -fb_create fbdata
PASS1_LDFLAGS = -fb_create fbdata
PASS2_CFLAGS  = -fb_opt fbdata
PASS2_CXXFLAGS  = -fb_opt fbdata
PASS2_LDFLAGS = -fb_opt fbdata

COPTIMIZE      = -Ofast
CXXOPTIMIZE    = -Ofast

notes150=
notes151=Baseline Optimization Flags:
notes152=   C programs:       -Ofast +FDO
notes153=   C++ programs:     -Ofast +FDO

########
#  fp
########

fp=base=default=default:
PASS1_CFLAGS   = -fb_create fbdata
PASS1_FFLAGS   = -fb_create fbdata
PASS1_F77FLAGS = -fb_create fbdata
PASS1_LDFLAGS  = -fb_create fbdata
PASS2_CFLAGS   = -fb_opt fbdata
PASS2_FFLAGS   = -fb_opt fbdata
PASS2_F77FLAGS = -fb_opt fbdata
PASS2_LDFLAGS  = -fb_opt fbdata

COPTIMIZE   = -Ofast -WOPT:mem_opnds=on
FOPTIMIZE   = -Ofast -LNO:fusion=2 -OPT:fast_complex=on
F77OPTIMIZE = -Ofast -LNO:fusion=2 -OPT:fast_complex=on

notes150=
notes151=Baseline Optimization Flags:
notes152=   C programs:       -Ofast -WOPT:mem_opnds=on +FDO
notes153=   Fortran programs: -Ofast -LNO:fusion=2 -OPT:fast_complex=on +FDO

################################################################
# Peak Tuning Flags
################################################################

default=peak=default=default:
notes200=
notes201=Peak Tuning Flags:

########
#  int
########

#  Feedback Optinization: Default for all int

int=peak=default=default:
PASS1_CFLAGS  = -fb_create fbdata
PASS1_CXXFLAGS  = -fb_create fbdata
PASS1_LDFLAGS = -fb_create fbdata
PASS2_CFLAGS  = -fb_opt fbdata
PASS2_CXXFLAGS  = -fb_opt fbdata
PASS2_LDFLAGS = -fb_opt fbdata

164.gzip=peak=default=default:
OPTIMIZE = -O3 -ipa -WOPT:val=0 -OPT:unroll_size=0
notes210= 164.gzip:   -O3 -ipa -WOPT:val=0 -OPT:unroll_size=0 +FDO

175.vpr=peak=default=default:
OPTIMIZE = -O3 -ipa -m32
notes220= 175.vpr:    -O3 -ipa -m32 +FDO

176.gcc=peak=default=default:
OPTIMIZE      = -O3 -IPA:plimit=10000 -LNO:opt=0 -OPT:goto=off
notes230= 176.gcc:    -O3 -IPA:plimit=10000 -LNO:opt=0 -OPT:goto=off +FDO

181.mcf=peak=default=default:
OPTIMIZE      = -O3 -ipa -IPA:field_reorder=on -m32
notes240= 181.mcf:    -O3 -ipa -IPA:field_reorder=on -m32 +FDO

186.crafty=peak=default=default:
OPTIMIZE      = -Ofast -CG:local_fwd_sched=on -LNO:opt=0 -WOPT:val=0
notes250= 186.crafty: -Ofast -CG:local_fwd_sched=on -LNO:opt=0 -WOPT:val=0 +FDO

197.parser=peak=default=default:
OPTIMIZE      = -O3 -ipa -m32 -IPA:ctype=on
notes260= 197.parser: -O3 -ipa -m32 -IPA:ctype=on +FDO

252.eon=peak=default=default:
OPTIMIZE = -Ofast -CG:gcm=off:p2align_freq=1:prefetch=off -IPA:plimit=4000 -OPT:treeheight=on -TENV:X=4:frame_pointer=off -fno-exceptions -LNO:fu=10:full_unroll_outer=on -GRA:optimize_boundary=on
notes270= 252.eon:    -Ofast -CG:gcm=off:p2align_freq=1:prefetch=off -IPA:plimit=4000
notes271=             -OPT:treeheight=on -TENV:X=4:frame_pointer=off -fno-exceptions
notes272=             -LNO:fu=10:full_unroll_outer=on -GRA:optimize_boundary=on +FDO

253.perlbmk=peak=default=default:
OPTIMIZE = -O2 -ipa -OPT:Ofast:transform_to_memlib=off -fno-math-errno -IPA:plimit=10000
notes280= 253.perlbmk:-O2 -ipa -OPT:Ofast:transform_to_memlib=off
notes281=             -fno-math-errno -IPA:plimit=10000 +FDO

254.gap=peak=default=default:
OPTIMIZE = -Ofast -IPA:min_hotness=5 -OPT:alias=disjoint -CG:movnti=1
notes290= 254.gap:    -Ofast -IPA:min_hotness=5 -OPT:alias=disjoint -CG:movnti=1 +FDO

255.vortex=peak=default=default:
OPTIMIZE = -Ofast -OPT:goto=off
notes300= 255.vortex: -Ofast -OPT:goto=off +FDO

256.bzip2=peak=default=default:
basepeak = true
notes310= 256.bzip2:  basepeak = true

300.twolf=peak=default=default:
OPTIMIZE      = -O2 -CG:gcm=off:p2align_freq=100000 -OPT:Ofast:unroll_times_max=8:unroll_size=256:alias=disjoint -WOPT:mem_opnds=on -m32
notes320= 300.twolf:  -O2 -CG:gcm=off:p2align_freq=100000
notes321=             -OPT:Ofast:unroll_times_max=8:unroll_size=256:alias=disjoint
notes322=             -WOPT:mem_opnds=on -m32 +FDO

########
#  fp
########

#  Feedback Optinization: Default for all fp

fp=peak=default=default:
PASS1_CFLAGS   = -fb_create fbdata
PASS1_FFLAGS   = -fb_create fbdata
PASS1_F77FLAGS = -fb_create fbdata
PASS1_LDFLAGS  = -fb_create fbdata
PASS2_CFLAGS   = -fb_opt fbdata
PASS2_FFLAGS   = -fb_opt fbdata
PASS2_F77FLAGS = -fb_opt fbdata
PASS2_LDFLAGS  = -fb_opt fbdata

168.wupwise=peak=default=default:
F77OPTIMIZE = -Ofast -LNO:prefetch_ahead=5:prefetch=3 -OPT:unroll_times_max=8:unroll_size=128:IEEE_NaN_Inf=off:ro=3 -IPA:linear=on:plimit=50000:callee_limit=5000 -INLINE:aggressive=on
feedback = 0
notes210= 168.wupwise:  -Ofast -LNO:prefetch_ahead=5:prefetch=3
notes211=               -OPT:unroll_times_max=8:unroll_size=128:IEEE_NaN_Inf=off:ro=3
notes212=               -IPA:linear=on:plimit=50000:callee_limit=5000
notes213=               -INLINE:aggressive=on

171.swim=peak=default=default:
F77OPTIMIZE     = -Ofast -CG:local_fwd_sched=on -LNO:fusion=2 -m3dnow
feedback = 0
notes220= 171.swim:     -Ofast -CG:local_fwd_sched=on -LNO:fusion=2 -m3dnow

172.mgrid=peak=default=default:
F77OPTIMIZE = -Ofast -CG:gcm=off -OPT:IEEE_a=3:unroll_size=200 -LNO:fusion=2:fission=1:blocking=off:prefetch_ahead=2 -WOPT:mem_opnds=on:aggstr=0
feedback = 0
notes230= 172.mgrid:    -Ofast -CG:gcm=off -OPT:IEEE_a=3:unroll_size=200
notes231=               -LNO:fusion=2:fission=1:blocking=off:prefetch_ahead=2
notes232=               -WOPT:mem_opnds=on:aggstr=0

173.applu=peak=default=default:
F77OPTIMIZE = -Ofast -CG:local_fwd_sched=on -OPT:ro=3 -TENV:X=3 -LNO:fusion=2:fission=2:full_unroll_size=10000:prefetch=3
notes240= 173.applu:    -Ofast -CG:local_fwd_sched=on -OPT:ro=3 -TENV:X=3
notes241=               -LNO:fusion=2:fission=2:full_unroll_size=10000:prefetch=3
notes242=               +FDO

177.mesa=peak=default=default:
COPTIMIZE = -O2 -ipa -OPT:Ofast -fno-math-errno -CG:local_fwd_sched=on -WOPT:mem_opnds=on
notes250= 177.mesa:     -O2 -ipa -OPT:Ofast -fno-math-errno -CG:local_fwd_sched=on
notes251=               -WOPT:mem_opnds=on +FDO

178.galgel=peak=default=default:
FOPTIMIZE = -Ofast -OPT:fast_complex=on
RM_SOURCES      = lapak.f90
EXTRA_LIBS      = -L$(ACML_PSC64_DIR) -lacml
notes260= 178.galgel:   -Ofast -OPT:fast_complex=on +ACML +FDO

179.art=peak=default=default:
COPTIMIZE= -O3 -OPT:Ofast -fno-math-errno -mno-sse2 -m32
feedback = 0
notes270= 179.art:      -O3 -OPT:Ofast -fno-math-errno -mno-sse2 -m32

183.equake=peak=default=default:
COPTIMIZE = -Ofast -CG:load_exe=2 -WOPT:mem_opnds=on -m32
notes280= 183.equake:   -Ofast -CG:load_exe=2 -WOPT:mem_opnds=on -m32 +FDO

187.facerec=peak=default=default:
FOPTIMIZE = -Ofast -LNO:fusion=2 -OPT:fast_complex=on:IEEE_NaN_Inf=off:unroll_size=0
notes290= 187.facerec:  -Ofast -LNO:fusion=2
notes291=               -OPT:fast_complex=on:IEEE_NaN_Inf=off:unroll_size=0 +FDO

188.ammp=peak=default=default:
COPTIMIZE = -O3 -OPT:alias=disjoint:unroll_times_max=8:Ofast:ro=3 -fno-math-errno -TENV:X=4
notes300= 188.ammp:     -O3 -OPT:alias=disjoint:unroll_times_max=8:Ofast:ro=3
notes301=               -fno-math-errno -TENV:X=4 +FDO

189.lucas=peak=default=default:
FOPTIMIZE = -Ofast -OPT:ro=3:fast_nint=off:unroll_size=256 -WOPT:mem_opnds=on
notes310= 189.lucas:    -Ofast -OPT:ro=3:fast_nint=off:unroll_size=256
notes311=               -WOPT:mem_opnds=on +FDO

191.fma3d=peak=default=default:
FOPTIMIZE = -O2 -ipa -CG:load_exe=1 -OPT:Ofast:IEEE_arith=3:ro=3 -WOPT:mem_opnds=on:retype_expr=on -IPA:pu_reorder=1
notes320= 191.fma3d:    -O2 -ipa -CG:load_exe=1 -OPT:Ofast:IEEE_arith=3:ro=3
notes321=               -WOPT:mem_opnds=on:retype_expr=on -IPA:pu_reorder=1 +FDO

200.sixtrack=peak=default=default:
F77OPTIMIZE = -O3 -OPT:Ofast:Olimit=6000:early_intrinsics=on -fno-math-errno -CG:load_exe=1
notes330= 200.sixtrack: -O3 -OPT:Ofast:Olimit=6000:early_intrinsics=on
notes331=               -fno-math-errno -CG:load_exe=1 +FDO

301.apsi=default=default=default:

301.apsi=peak=default=default:
F77OPTIMIZE = -Ofast -CG:load_exe=0 -LNO:prefetch=0:simd=2
feedback=0
notes340= 301.apsi:     -Ofast -CG:load_exe=0 -LNO:prefetch=0:simd=2

################################################################
# Hardware description is in include file SUT.inc
################################################################

################################################################
# Software description
# - description of execution environment in SUT.inc
# - description of build environment here (compiler, libraries, ...)
################################################################

int=default=default=default:
sw_compiler1=PathScale EKOPath(TM) Compiler Suite, Release 2.3
sw_compiler2= (for C and C++)

fp=default=default=default:
sw_compiler1=PathScale EKOPath(TM) Compiler Suite, Release 2.3
sw_compiler2= (for C and Fortran)
sw_compiler3=AMD Core Mathematical Library (ACML), Version 3.0.0