Difference between revisions of "LULESH"
Line 34: | Line 34: | ||
CUDA: | CUDA: | ||
− | export TAU_MAKEFILE=<path to TAU>/x86_64/lib/Makefile.tau-icpc-pdt | + | 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 | 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 | ||
Line 52: | Line 52: | ||
[[Image:lulesh.ppk]] | [[Image:lulesh.ppk]] | ||
+ | |||
+ | CUDA: | ||
+ | |||
+ | [[Image:lulesh-cuda-profile.png|750px]] | ||
+ | |||
+ | [[Image:lulesh-cuda.ppk]] |
Revision as of 21:39, 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-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
Running
In each case run:
./lulesh
Performance Data
Serial:
CUDA: