Archer:SESCspec
From Grid-Appliance Wiki
Contents |
Tool Introduction
Name of Application: SESC
Overview: Running SPEC and Splash benchmarks on SESC
Author: Renato Figueiredo, renato
Introduction
The purpose of this document is to give you pointers on how to run SPEC and Splash2 benchmarks on Archer using SESC. It is not a complete tutorial, there are a few places where you'll have to fill in the blanks. If you do, feel free to share and improve this document so others can benefit.
Pre-requisites
Follow the steps described in the SESC installation how-to. We'll assume SESC is installed under /home/griduser/sesc.
Benchmarks
There are pre-compiled SPEC and SPLASH2 binaries for SESC that will make your life easier. You can download them as follows:
cd ~ mkdir benchmarks mkdir sescbin cd benchmarks/sescbin sudo wget http://masc.soe.ucsc.edu/sescSPEC.tgz tar -xzf sescSPEC.tgz
SPEC2000
You will need a license to have access to the input files and run SPEC2000 benchmarks. Visit the SPEC web site for more information on how to obtain a license.
Copy and unarchive your SPEC2000 distribution within /home/griduser/benchmarks. The example below assumes you have the following directories:
/home/griduser/benchmarks/CINT2000 /home/griduser/benchmarks/CFP2000.
SPLASH2
You will need to download the SPLASH-2 package to retrieve input files that are used for SPLASH-2 runs:
cd ~/benchmarks mkdir SPLASH2 cd SPLASH2 wget http://www-flash.stanford.edu/apps/SPLASH/splash2.tar.gz tar -xzf splash2.tar.gz mv splash2/codes/kernels splash2 mv splash2/codes/apps splash2
You will also need to create soft-links for the binaries so the run.pl script can easily locate them:
ln -s fft.mips fft ln -s lu.mips lu # repeat for all other benchmarks
Running the benchmarks
The following Perl script launches the execution of SPEC and Splash2 benchmarks. This script may not work as-is for the benchmarks that you need to run, but it provides a nice starting point for you to build from. It can run applications locally or submit through Condor. For the Condor submission, you will need to tweak the generation of the Condor submit file so it follows the example shown in the SESC how-to.
The script can be found here:
/home/griduser/sesc/scripts/run.pl
Run it without any arguments to see a list of possible arguments. One example to run a 2-processor simulation of FFT and Radix in your local machine is:
/home/griduser/sesc/scripts/run.pl -sesc=/home/griduser/sesc/build_smp/sesc.smp -c=/home/griduser/sesc/confs/smp.conf -bhome=/home/griduser/benchmarks/SPLASH2 -bindir=/home/griduser/benchmarks/sescbin -data=test -key=mykey -proc=2 fft /home/griduser/sesc/scripts/run.pl -sesc=/home/griduser/sesc/build_smp/sesc.smp -c=/home/griduser/sesc/confs/smp.conf -bhome=/home/griduser/benchmarks/SPLASH2 -bindir=/home/griduser/benchmarks/sescbin -data=test -key=mykey -proc=2 radix
Check out that the file sesc_mykey_fft.* has been created.
Troubleshooting
The run.pl script creates a log file run.pl.log that can help you debug problems that may arise.
Future work
- Run.pl needs to be tweaked so that the generation of Condor submit scripts works with the Archer appliance vanilla Condor setup
- More detailed instructions for running SPEC benchmarks
- The run.pl script needs to be tweaked in general to better integrate with the Archer appliance

