Difference between revisions of "LULESH"

From Tau Wiki
Jump to: navigation, search
 
Line 29: Line 29:
 
OpenMP:
 
OpenMP:
  
  export TAU_MAKEFILE=<path to TAU>/x86_64/lib/Makefile.tau-icpc-pdt-openmp-opari
+
  make
make CXX=tau_cxx.sh
+
tau_exec -T serial,pdt,icpc,openmp -ebs ./lulesh
  
 
CUDA:
 
CUDA:
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
 
+
  tau_exec -T serial,pdt,icpc,openmp,cupti -cupti ./lulesh
 
 
== Running ==
 
 
 
In each case run:
 
 
 
  ./lulesh
 
  
 
== Performance Data ==
 
== Performance Data ==
Line 52: Line 46:
  
 
[[Image:lulesh.ppk]]
 
[[Image:lulesh.ppk]]
 +
 +
OpenMP:
 +
 +
[[Image:lulesh-omp-profile.png|750px]]
 +
 +
[[Image:lulesh-omp-sample.ppk]]
  
 
CUDA:
 
CUDA:

Latest revision as of 19:08, 2 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:

make
tau_exec -T serial,pdt,icpc,openmp -ebs ./lulesh

CUDA:

export TAU_MAKEFILE=<path to TAU>/x86_64/lib/Makefile.tau-cputi-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
tau_exec -T serial,pdt,icpc,openmp,cupti -cupti ./lulesh

Performance Data

Serial:

Lulesh-profile.png

File:Lulesh.ppk

OpenMP:

Lulesh-omp-profile.png

File:Lulesh-omp-sample.ppk

CUDA:

Lulesh-cuda-profile.png

File:Lulesh-cuda.ppk