# Invocation command line:
# /usr/spec2000/bin/runspec -a validate -T all -v 6 -s -n 3 -c /tmp/specdriver-3900.tmp7 fp int
############################################################################
################################################################################
# SPEC CPU2000 Benchmark Config file IBM RS/6000 AIX
#  Last Changed: 01.15.02
################################################################################


#===============================================================================
# Global Options apply to all runs
#===============================================================================

VENDOR          = ibm
action          = validate
tune            = all
output_format   = all
runout          = yes
teeout          = yes
ext             = colt.f711.cpp5021
basepeak=0

#--number of times each test will be run (reportable must be an odd num >= 3)
iterations      = 3
mean_anyway     = 0
ignore_errors   = 0

#--turn on both of the following for reportable (non-test) runs
reportable      = 1
check_md5       = 1

#--prevent log file lines that are too long for vi
log_line_width  = 156

#--the directory where pdf data will go, be sure to tell the compiler
#---where this is (eg: export PDFDIR="/tmp/pdfdir" for IBM compilers)
PDFDIR=/tmp/pdfdir

#===============================================================================
#===============================================================================

company_name    = IBM Corporation
machine_name    = twoface
hw_vendor       = IBM Corporation
hw_model        = IBM eServer pSeries 610 Model 6E1 333MHz
hw_cpu          = POWER3-II
hw_cpu_mhz      = 333 
hw_fpu          = Integrated
hw_ncpu         = 1 
hw_ncpuorder    = 1,2
hw_pcache       = 32KBI+64KBD (on chip)
hw_scache       = 4MB unified (off chip)
hw_tcache       = None
hw_ocache       = None
hw_parallel     = No
hw_memory       = 2GB
hw_disk         = 2x18GB  10000RPM
hw_other        = None
hw_avail        = Feb-2001
sw_os           = AIX 5L V5.1
sw_file         = AIX/JFS
sw_state        = Multi-user
sw_avail        = Dec-2001
license_num     = 11
tester_name     = IBM Corp.
test_date       = Jan-2002


#---------------------------------
# Floating point specific notes
#---------------------------------
fp=default=default=default:

sw_compiler01   = Fortran 77 and 90: IBM xl Fortran 7.1.1 (prerelease) invoked 
sw_compiler02   = as xlf90 for Fortran 90 and as xlf for Fortran 77
sw_compiler03   = C: IBM VAC++ 5.0.2.1 invoked as xlc

notes001        = Portability Flags
notes002        =   -qfixed used in: wupwise, swim, mgrid, applu, galgel, sixtrack, apsi
notes003        =   -qsuffix=f=f90 used in: galgel, facerec, lucas, fma3d
notes004        = Base Optimization Flags:
notes005        =   Fortran:   -O5 -lmass
notes006        =   C:         -O5 -lmass
notes007        = Peak Optimization Flags
notes008        =   168.wupwise:  (basepeak=1) 
notes009        =   171.swim:     (basepeak=1)
notes010        =   172.mgrid:    (basepeak=1)
notes011        =   173.applu:    -O5 -lmass -qipa=partition=large
notes012        =   177.mesa:     -O5 -lmass -qipa=partition=large, fdpr -v -R3
notes013        =   178.galgel:   (basepeak=1)
notes014        =   179.art:      (basepeak=1)
notes015        =   183.equake:   -O5 -lmass -lhmu -qinline
notes016        =   187.facerec:  (basepeak=1)
notes018        =   188.ammp:     -O3 -qarch=pwr3
notes019        =   189.lucas:    -qpdf1/pdf2 -O3 -lhmu -lmass
notes020        =                 -qipa=partition=large, fdpr -v -R3
notes021        =   191.fma3d:    -O4 -lmass -qipa=partition=large
notes022        =   200.sixtrack: (basepeak=1)
notes023        =   301.apsi:     (basepeak=1)
notes024        = fpdr: Feedback directed program restructuring tool
notes029        = /usr/spec2000 filesystem mounted with no JFS log file I/O
notes030        = APAR IY 21957 was applied to AIX 5.1.0 to enable new hardware support
notes031        = ulimits set to unlimited
notes032        = Firmware version (lsattr -El sys0 -a fwversion) = IBM,SPH00221

#---------------------------------
# Integer specific notes
#---------------------------------
int=default=default=default:

sw_compiler01   = C: IBM VAC++ 5.0.2.1 invoked as cc except where noted 
sw_compiler02   = as xlc
sw_compiler03   = C++: IBM VAC++ 5.0.2.1  invoked as xlC

notes001        = Portability Flags:
notes002        =   gcc:     -ma -qlanglvl=ansi -DHOST_WORDS_BIG_ENDIAN
notes003        =   crafty:  -DAIX
notes004        =   eon:     -DNEED_EXPLICIT_SPECIALIZATION
notes005	=             EXTRA_LDFLAGS=-I. -DNDEBUG
notes006        =   perlbmk: -DSPEC_CPU2000_AIX
notes007        =   gap:     -DSYS_IS_BSD -DSYS_STRING_H -DSYS_HAS_TIME_PROTO 
notes008        =            -DSYS_HAS_MALLOC_PROTO -DSYS_HAS_CALLOC_PROTO
notes009        =   twolf:   -DHAVE_SIGNED_CHAR
notes010        = Base Optimization Flags:
notes011        =   C:           -O4 -lmass
notes012        =   C++:         -O4 -lmass
notes013        = Peak Optimization Flags
notes014        =   164.gzip:    -O4 -lhmu, fdpr -v -R3 -p -x
notes015        =   175.vpr:     -O5 -qunroll=8
notes016        =   176.gcc:     (basepeak=1)
notes017        =   181.mcf:     (basepeak=1)
notes018        =   186.crafty:  -O3 -lhmu -q64
notes019        =   197.parser:  -qpdf1/pdf2 -O4 -lpdf
notes020        =                -bnso -bI:/lib/syscalls.exp, fdpr -v -R3  -p -x 
notes021        =   252.eon:     -O4 -lmass, fdpr -v -R3 -p -x 
notes022        =   253.perlbmk: -qpdf1/pdf2 -O3 -lhmu -lpdf -qarch=pwr3
notes023        =                -qdatalocal -qunroll=8, fdpr -R3 -p -x
notes024        =   254.gap:     -O4 -qarch=pwr3, fdpr -v -R3 -p -x 
notes025        =   255.vortex:  -O3 -lhmu -lmass -qipa=partition=large,
notes026        =                fdpr -v -R3 -p -x 
notes027        =   256.bzip2:   -O5 -qunroll=8
notes028        =   300.twolf:   -qpdf1/pdf2 -O5 -lpdf, fdpr -v -R3 -p -x 
notes029        =                 CC=/usr/vac/bin/xlc 
notes030        = fpdr: Feedback directed program restructuring tool
notes031        = APAR IY 21957 was applied to AIX 5.1.0 to enable new hardware support
notes032        = ulimits set to unlimited.
notes033        = Firmware version (lsattr -El sys0 -a fwversion) = IBM,SPH00221
################################################################################
################################################################################
######                                                                    ######
######               DO NOT EDIT BELOW THIS BLOCK                         ######
######      (unless you are prepared to build new binaries)               ######
######                                                                    ######
################################################################################
################################################################################


#===============================================================================
# How the compilers are called
#    The settings used here are for IBM C/C++ and xl Fortran compilers
#===============================================================================
fp=default=default=default:
CC      = /usr/vacpp/bin/xlc
FC      = xlf90
F77     = xlf

int=default=default=default:
CC      = /usr/vacpp/bin/cc
CXX     = /usr/vacpp/bin/xlC

#===============================================================================
# Base Level Optimizations
#    Limited to 4 flags
#===============================================================================

#------------------------
# Floating Point
#------------------------
fp=base=default=default:

FOPTIMIZE =-O5 -lmass

COPTIMIZE =-O5 -lmass

#------------------------
# Integer
#------------------------
int=base=default=default:

COPTIMIZE=-O4 -lmass

CXXOPTIMIZE=-O4 -lmass

##############################################################################
##############################################################################

#===============================================================================
# Floating Point Portability Flags
#     no optimizations allowed here
#===============================================================================

168.wupwise=default=default=default:
EXTRA_FFLAGS=-qfixed
171.swim=default=default=default:
EXTRA_FFLAGS=-qfixed
172.mgrid=default=default=default:
EXTRA_FFLAGS=-qfixed
173.applu=default=default=default:
EXTRA_FFLAGS=-qfixed
178.galgel=default=default=default:
EXTRA_FFLAGS=-qfixed -qsuffix=f=f90
187.facerec=default=default=default:
EXTRA_FFLAGS=-qsuffix=f=f90
189.lucas=default=default=default:
EXTRA_FFLAGS=-qsuffix=f=f90
191.fma3d=default=default=default:
EXTRA_FFLAGS= -qsuffix=f=f90
200.sixtrack=default=default=default:
EXTRA_FFLAGS=-qfixed
301.apsi=default=default=default:
EXTRA_FFLAGS=-qfixed

#===============================================================================
# Integer Portability Flags
#    no optimizations allowed here
#===============================================================================

176.gcc=default=default=default:
EXTRA_CFLAGS=-ma -qlanglvl=ansi -DHOST_WORDS_BIG_ENDIAN
186.crafty=default=default=default:
EXTRA_CFLAGS=-DAIX
252.eon=default=default=default:
EXTRA_CXXFLAGS=-DNEED_EXPLICIT_SPECIALIZATION
EXTRA_LDFLAGS=-I. -DNDEBUG
253.perlbmk=default=default=default:
EXTRA_CFLAGS=-DSPEC_CPU2000_AIX
254.gap=default=default=default:
EXTRA_CFLAGS=-DSYS_IS_BSD -DSYS_STRING_H -DSYS_HAS_TIME_PROTO -DSYS_HAS_MALLOC_PROTO -DSYS_HAS_CALLOC_PROTO
300.twolf=default=default=default:
EXTRA_CFLAGS=-DHAVE_SIGNED_CHAR

#===============================================================================
# Integer peak optimization flags
#===============================================================================

164.gzip=peak=default=default:

COPTIMIZE=-O4 -lhmu
fdo_run1 = fdpr -v -R3 -p $commandexe -x $command
fdo_post1 = cp ${baseexe}.fdpr $baseexe


175.vpr=peak=default=default:
COPTIMIZE=-O5 -qunroll=8

176.gcc=peak=default=default:
basepeak = 1

181.mcf=peak=default=default:
basepeak = 1

186.crafty=peak=default=default:
COPTIMIZE=-O3 -lhmu -q64

197.parser=peak=default=default:
fdo_pre0 = rm -rf ${PDFDIR}; mkdir -p ${PDFDIR}
PASS1_CFLAGS=-qpdf1 -O4
PASS1_LDFLAGS=-O4 -lpdf -L/usr/vac/lib -bnso -bI:/lib/syscalls.exp
PASS2_CFLAGS=-qpdf2 -O4
PASS2_LDFLAGS=-O4 -bnso -bI:/lib/syscalls.exp
fdo_run2 = fdpr -v -R3 -p $commandexe -x $command
fdo_post2 = cp ${baseexe}.fdpr $baseexe

252.eon=peak=default=default:
fdo_pre0 = rm -rf ${PDFDIR}; mkdir -p ${PDFDIR}
CXXOPTIMIZE=-O4 -lmass
fdo_run1 = fdpr -v -R3 -p $commandexe -x $command
fdo_post1 = cp ${baseexe}.fdpr $baseexe

253.perlbmk=peak=default=default:
fdo_pre0 = rm -rf ${PDFDIR}; mkdir -p ${PDFDIR}
PASS1_CFLAGS    =-qpdf1 -O3 -qarch=pwr3 -qdatalocal -qunroll=8
PASS1_LDCFLAGS  =-lhmu  -lpdf -L/usr/vac/lib
PASS2_CFLAGS    =-qpdf2 -O3 -qarch=pwr3 -qdatalocal -qunroll=8
PASS2_LDCFLAGS  =-lhmu
fdo_run2 = fdpr -v -R3 -p $commandexe -x $command
fdo_post2 = cp ${baseexe}.fdpr $baseexe

254.gap=peak=default=default:
COPTIMIZE=-O4 -qarch=pwr3
fdo_run1 = fdpr -v -R3 -p $commandexe -x $command
fdo_post1 = cp ${baseexe}.fdpr $baseexe

255.vortex=peak=default=default:
fdo_pre0 = rm -rf ${PDFDIR}; mkdir -p ${PDFDIR}
COPTIMIZE=-O3 -lhmu -lmass -qipa=partition=large
fdo_run1 = fdpr -v -R3 -p $commandexe -x $command
fdo_post1 = cp ${baseexe}.fdpr $baseexe

256.bzip2=peak=default=default:
COPTIMIZE=-O5 -qunroll=8

300.twolf=peak=default=default:
fdo_pre0 = rm -rf ${PDFDIR}; mkdir -p ${PDFDIR}
CC=/usr/vac/bin/xlc
PASS1_FLAGS=-qpdf1 -O5
PASS1_LDFLAGS=-O5 -lpdf -L/usr/vac/lib 
PASS2_FLAGS=-qpdf2 -O5
PASS2_LDFLAGS=-O5
fdo_run2 = fdpr -v -R3 -p $commandexe -x $command
fdo_post2 = cp ${baseexe}.fdpr $baseexe

#===============================================================================
# Floating Point peak optimization flags
#===============================================================================

default=peak=default=default:
EXTRA_F77FLAGS =-qfixed

168.wupwise=peak=default=default:
basepeak = 1

171.swim=peak=default=default:
basepeak = 1

172.mgrid=peak=default=default:
basepeak = 1

173.applu=peak=default=default:
F77OPTIMIZE =-O5 -lmass -qipa=partition=large

177.mesa=peak=default=default:
COPTIMIZE = -O5 -lmass -qipa=partition=large
fdo_run1 = fdpr -v -R3 -p $commandexe -x $command
fdo_post1 = cp ${baseexe}.fdpr $baseexe

178.galgel=peak=default=default:
basepeak = 1

179.art=peak=default=default:
basepeak = 1

183.equake=peak=default=default:
CC=/usr/vac/bin/xlc
COPTIMIZE = -O5 -lmass -lhmu -qinline

187.facerec=peak=default=default:
basepeak = 1
# return to spec below if you change the base flags...


188.ammp=peak=default=default:
COPTIMIZE =-O3 -qarch=pwr3

189.lucas=peak=default=default:
fdo_pre0 = rm -rf ${PDFDIR}; mkdir -p ${PDFDIR}
PASS1_FFLAGS =-qpdf1 -O3 -lhmu -lmass  -qipa=partition=large
PASS1_LDFFLAGS =-lhmu -lmass -lpdf -L/usr/lpp/xlf/lib/pdf -qipa=partition=large
PASS2_FFLAGS =-qpdf2 -O3 -lhmu -lmass -qipa=partition=large
PASS2_LDFFLAGS =-lhmu -lmass -qipa=partition=large
fdo_run2 = fdpr -v -R3 -p $commandexe -x $command
fdo_post2 = cp ${baseexe}.fdpr $baseexe


191.fma3d=peak=default=default:
FOPTIMIZE =-O4 -lmass -qipa=partition=large


200.sixtrack=peak=default=default:
basepeak = 1

301.apsi=peak=default=default:
basepeak = 1