# Invocation command line:
# /data1/SPEComp2001/bin/runspec -c sf40zmar22omp.cfg -D -T base,peak -n 3 --reportable medium
############################################################################
############################################################################
# Invocation command line:
# runspec -c sfv40z_omp.cfg -T all --reportable medium
############################################################################
############################################################################
#
# Sun configuration file for SPEC OMPM2001 
# Jan 2005
#

VENDOR        = sun
action        = validate
tune          = base,peak
ext           = sfv20z_ss10
input         = ref
env_vars      = 1
reportable    = 1
output_format = asc,config,html,pdf,ps
teeout	      = yes
teerunout     = yes
check_md5     = 0

###### Compiler used #################
default=default:
COMP_DIR=/opt/SUNWspro/bin
CC=${COMP_DIR}/cc
FC=${COMP_DIR}/f90

######## Portability Flags and Environment variables  ##################
318.galgel_m=default=default=default:
FPORTABILITY = -e -fixed

default=default=default=default:
notes41000= Portablility flags:
notes41002=       318.galgel_m      : -e -fixed
notes41003=       330.art_m         : Extra Flag: -DINTS_PER_CACHELINE=16 -DDBLS_PER_CACHELINE=8
notes41004=         
notes41005= Alternate Source:      
notes41006=       330.art_m         : Required srcalt purdue1 used for base and peak
notes41007=       310.wupwise_m     : Approved srcalt ompl.32 used for peak
notes41008=       312.swim_m        : Approved srcalt ompl.32 used for peak
notes41009=       314.mgrid_m       : Approved srcalt ompl    used for peak
notes41010=       320.equake_m      : Approved srcalt ompl.32 used for peak
notes41011=       324.apsi_m        : Approved srcalt ompl    used for peak
notes41012=           
notes41013= Base and Peak User Environment:
notes41014=   export OMP_NUM_THREADS=2 
notes41016=   export SUNW_MP_PROCBIND=TRUE
notes41017=   export SUNW_MP_THR_IDLE=SPIN
notes41018=   export OMP_NESTED=FALSE
notes41019=   export STACKSIZE=16384
notes41020=   export OMP_DYNAMIC=TRUE
notes41021=   ulimit -s unlimited
notes41022=      
notes41023= Default BIOS settings used.  

#################### SPEC OMPM2001 src.alt ############################
330.art_m=default=default=default:
srcalt = purdue1
EXTRA_CFLAGS = -DINTS_PER_CACHELINE=16 -DDBLS_PER_CACHELINE=8


#################### Baseline Optimization Flags ######################
medium=base=default=default:
FOPTIMIZE = -fast -xipo=2 -xarch=amd64 -xprefetch_level=3 -xvector=simd -xopenmp
COPTIMIZE = -fast -xipo=2 -xalias_level=strong -xarch=amd64 -xopenmp
EXTRA_CFLAGS = -Xc
EXTRA_LDFLAGS =
EXTRA_LIBS=
ONESTEP=yes

default=default=default=default:
notes120      =
notes121      = Base tuning:
notes122      =   Fortran : -fast -xipo=2 -xarch=amd64 -xprefetch_level=3 -xvector=simd -xopenmp
notes123      =   C       : -fast -Xc -xipo=2 -xalias_level=strong -xarch=amd64 -xopenmp
notes124      =   ONESTEP=yes 
notes125      =      
notes126      = +FDO:  PASS1= -xprofile=collect:./feedback PASS2= -xprofile=use:./feedback
notes127      =      
notes128      = +MPSS mean setting the following environment variables:
notes129      =   ENV_MPSSHEAP=2m
notes130      =   ENV_MPSSSTACK=2m
notes131      =   ENV_LD_PRELOAD=mpss.so.1
notes132      =      

######################### Peak Flags #############################

medium=peak=default=default:
ONESTEP        = yes 
notes300_0     = 
notes300_1     = Peak tuning:
notes300_2     =  ONESTEP=yes for all peak tests.
notes300_3     = 

310.wupwise_m=peak=default=default:
srcalt = ompl.32
OPTIMIZE = -fast -xipo=2 -xarch=amd64 -xprefetch_level=3 -xvector=simd -xopenmp
notes310_1     =  310.wupwise_m   : -fast -xipo=2 -xarch=amd64 -xprefetch_level=3 -xvector=simd -xopenmp

312.swim_m=peak=default=default:
srcalt = ompl.32
OPTIMIZE = -fast -xipo=2 -xarch=amd64 -xprefetch_level=3 -xvector=simd -xopenmp
notes312_1     =  312.swim_m      : -fast -xipo=2 -xarch=amd64 -xprefetch_level=3 -xvector=simd -xopenmp

314.mgrid_m=peak=default=default:
srcalt = ompl
OPTIMIZE = -fast -xipo=2 -xprefetch_level=3 -xarch=amd64 -xopenmp
notes314_1     =  314.mgrid_m     : -fast -xipo=2 -xprefetch_level=3 -xarch=amd64 -xopenmp

316.applu_m=peak=default=default:
OPTIMIZE = -fast -xipo=2 -xprefetch_level=3 -xarch=amd64 -Qoption iropt -Aujam:inner=g -xopenmp
ENV_MPSSHEAP=2m
ENV_MPSSSTACK=2m
ENV_LD_PRELOAD=mpss.so.1
notes316_1     =  316.applu_m     : -fast -xipo=2 -xprefetch_level=3 -xarch=amd64 
notes316_2     =                    -Qoption iropt -Aujam:inner=g -xopenmp +MPSS

318.galgel_m=peak=default=default:
ENV_MPSSHEAP=2m
ENV_MPSSSTACK=2m
ENV_LD_PRELOAD=mpss.so.1
OPTIMIZE        = -fast -xipo=2 -qoption iropt -xprefetch_level=3 -xvector=simd -xarch=amd64 -xopenmp
fdo_pre0       = rm -rf ./feedback.profile
fdo_post1      = if [ ! -d ./feedback.profile ]; then exit 1;  fi
PASS1_FFLAGS   = -xprofile=collect:./feedback
PASS2_FFLAGS   = -xprofile=use:./feedback
PASS1_LDFLAGS  = -xprofile=collect:./feedback
PASS2_LDFLAGS  = -xprofile=use:./feedback
EXTRA_LIBS	= -xlic_lib=sunperf
RM_SOURCES	= lapak.f90
notes318_1     =  318.galgel_m    : -fast -xipo=2 -qoption iropt -xprefetch_level=3 -xvector=simd 
notes318_2     =                    -xarch=amd64 -xopenmp -xlic_lib=sunperf +FDO +MPSS 
notes318_3     =                    RM_SOURCES=lapak.f90

320.equake_m=peak=default=default:
srcalt = ompl.32
OPTIMIZE = -fast -Xc -xipo=2 -xalias_level=strong  -xarch=amd64 -xopenmp
EXTRA_CFLAGS = -Xc
notes320_1     =  320.equake_m    : -fast -xipo=2 -xalias_level=strong  -xarch=amd64 -xopenmp 

324.apsi_m=peak=default=default:
srcalt = ompl
OPTIMIZE = -fast -xipo=2 -xprefetch_level=3  -xopenmp
notes324_1     =  324.apsi_m      : -fast -xipo=2 -xprefetch_level=3  -xopenmp

326.gafort_m=peak=default=default:
ENV_MPSSHEAP=2m
ENV_MPSSSTACK=2m
ENV_LD_PRELOAD=mpss.so.1
OPTIMIZE = -fast -xipo=2 -xarch=amd64 -xprefetch_level=3 -xvector=simd -xopenmp
notes326_1     =  326.gafort_m    : -fast -xipo=2 -xarch=amd64 -xprefetch_level=3 -xvector=simd
notes326_2     =                  :  -xopenmp +MPSS

328.fma3d_m=peak=default=default:
ENV_MPSSHEAP=2m
ENV_MPSSSTACK=2m
ENV_LD_PRELOAD=mpss.so.1
OPTIMIZE      = -fast -xipo=2 -xprefetch_level=3 -xarch=amd64 -xopenmp
fdo_pre0       = rm -rf ./feedback.profile
fdo_post1      = if [ ! -d ./feedback.profile ]; then exit 1;  fi
PASS1_FFLAGS   = -xprofile=collect:./feedback
PASS2_FFLAGS   = -xprofile=use:./feedback
PASS1_LDFLAGS  = -xprofile=collect:./feedback
PASS2_LDFLAGS  = -xprofile=use:./feedback
notes328_1     =  328.fma3d_m     : -fast -xipo=2 -xprefetch_level=3 -xarch=amd64 -xopenmp +FDO +MPSS

330.art_m=peak=default=default:
ENV_MPSSHEAP=2m
ENV_MPSSSTACK=2m
ENV_LD_PRELOAD=mpss.so.1
OPTIMIZE = -fast -Xc -xcrossfile -xarch=amd64 -xalias_level=std -xopenmp -lmtmalloc
EXTRA_CFLAGS            = -Xc
MATHLIBOPT              = -lm
notes330_1     =  330.art_m       : -fast -xcrossfile -xarch=amd64 -xalias_level=std -xopenmp 
notes330_2     =                    -lmtmalloc -lm +MPSS

332.ammp_m=peak=default=default:
ENV_MPSSHEAP=2m
ENV_MPSSSTACK=2m
ENV_LD_PRELOAD=mpss.so.1
EXTRA_CFLAGS = -Xc
OPTIMIZE       = -fast -Xc -xipo=2 -xarch=amd64 -xalias_level=std -xopenmp
MATHLIBOPT     = -lmopt -lm
notes332_1     =  332.ammp_m      : -fast -xipo=2 -xarch=amd64 -xalias_level=std -xopenmp -lmopt -lm +MPSS
notes332_2     =       

#
# machine configuration
#
default=default=default=default:
hw_vendor   = Sun Microsystems 
hw_model    = Sun Fire V40z
hw_cpu      = AMD Opteron (TM) 852
hw_cpu_mhz  = 2600 
hw_fpu      = Integrated
hw_ncpu     = 2 cores, 2 chips, 1 core/chip
hw_ncpuorder= 1,2,4
hw_pcache   = 64KBI + 64KBD on chip
hw_scache   = 1024KB (I+D) on chip
hw_tcache   = None
hw_ocache   = None
hw_memory   = 4x2GB, PC3200 CL3 DDR SDRAM ECC Registered
hw_disk     = SCSI, 73GB, 10K RPM
hw_avail    = Apr-2005 
hw_other    = None
sw_os       = Solaris 10
sw_compiler = Sun Studio 10
sw_Kernel_Extensions = None  
sw_file     = ufs
sw_state    = Multi-User
sw_avail    = Jan-2005 
sw_parallel  = OpenMP
license_num = HPG0010
tester_name = Sun Microsystems, Santa Clara
test_date   = Mar-2005
test_site   = Menlo Park
company_name= Sun Microsystems
machine_name= Sun Fire V40z
prepared_by  = Gnanakumar Rajaram (Rajaram.Gnanakumar@SUN.COM)