Difference between revisions of "LULESH"

From Tau Wiki
Jump to: navigation, search
 
Line 37: Line 37:
 
  nvcc --compiler-options=-finstrument-functions -O3 -arch sm_20 -c lulesh.cu
 
  nvcc --compiler-options=-finstrument-functions -O3 -arch sm_20 -c lulesh.cu
 
  tau_cc.sh -L/sw/keeneland/cuda/4.1/linux_binary/lib64 -lcudart lulesh.o -lm -o lulesh
 
  tau_cc.sh -L/sw/keeneland/cuda/4.1/linux_binary/lib64 -lcudart lulesh.o -lm -o lulesh
 +
 +
 +
== Running ==
 +
 +
In each case run:
 +
 +
./lulesh
 +
 +
== Performance Data ==
 +
 +
Serial:
 +
 +
[[Image:lulesh-profile.png|750px]]
 +
 +
[[Image:lulesh.ppk]]

Revision as of 01:50, 1 March 2012


Background

Link Code Version Machine Date
LLNL website 1.0.1 Keeneland February 2012

Building

Each version of LULUSH, serial, cuda, openmp contains one makefile. You can build them this way:

Serial:

export TAU_MAKEFILE=<path to TAU>/x86_64/lib/Makefile.tau-icpc-pdt
make CXX=tau_cxx.sh

OpenMP:

export TAU_MAKEFILE=<path to TAU>/x86_64/lib/Makefile.tau-icpc-pdt-openmp-opari
make CXX=tau_cxx.sh

CUDA:

export TAU_MAKEFILE=<path to TAU>/x86_64/lib/Makefile.tau-icpc-pdt
nvcc --compiler-options=-finstrument-functions -O3 -arch sm_20 -c lulesh.cu
tau_cc.sh -L/sw/keeneland/cuda/4.1/linux_binary/lib64 -lcudart lulesh.o -lm -o lulesh


Running

In each case run:

./lulesh

Performance Data

Serial:

Lulesh-profile.png

File:Lulesh.ppk