Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
README.md
bp1_v1.cpp
bp1_v1.sh
bp2a_v1.sh
bp2b_v1.sh
bp3_v1.sh
bp4a_v1.sh
bp4b_v1.sh
bp5_v1.sh
bp6a_v1.sh
bp6b_v1.sh
makefile
postprocess-base.py
postprocess-plot-1.py
postprocess-plot-2.py
postprocess-plot-3.py
postprocess-plot-4.py
postprocess-table.py

README.md

Running the scripts

Example:

../../go.sh -c linux -m gcc -r bp1_v1.sh -n 16 -p 16

where -n 16 is the total number of processors and -p 16 is the number of processors per node. Note that bp1_v1.sh (and bp3_v1.sh, which uses bp1_v1.sh) requires a power of 2 for the number of processors.

Multiple processor configuration can be run with:

../../go.sh -c linux -m gcc -r bp1_v1.sh -n "16 32 64" -p "16 32 64"

Post-processing the results

First, save the output of the run to a file:

../../go.sh -c linux -m gcc -r bp1_v1.sh -n 16 -p 16 > run_001.txt

and then use one of the postprocess-plot-*.py scripts (which require the python package matplotlib) or the postprocess-table.py script, e.g.:

python postprocess-plot-1.py run_001.txt

Note that the postprocess-*.py scripts can read multiple files at a time just by listing them on the command line and also read the standard input if no files were specified on the command line.

Plotting performance comparisons

The script postprocess-plot-4.py can be used to plot the performance ratios between two sets of data, e.g. vector (BP2) vs scalar (BP1), or two compilers: XLC vs GCC. Sample usage:

python postprocess-plot-4.py bp1_gcc_n16.txt bp2a_gcc_n16.txt
python postprocess-plot-4.py bp1_gcc_n16.txt bp1_xlc_n16.txt
python postprocess-plot-4.py bp1_gcc_n16.txt bp3_gcc_n16.txt