Difference between revisions of "Openacc"

From Tau Wiki
Jump to: navigation, search
Line 36: Line 36:
  
 
[[Image:openacc_profile5.png|750px]]
 
[[Image:openacc_profile5.png|750px]]
 +
 +
[[Image:mm2.f90]]
 +
 +
[[Image:mmdriv.f90]]
 +
 +
[[Image:Makefile]]
 +
 +
[[Image:mm_openacc.ppk]]

Revision as of 20:01, 15 March 2012


Matrix Multiply

TAU has support for the OpenACC directives available in PGI 12.3 and greater. Configure TAU:

./configure -c++=pgCC -cc=pgcc -fortran=pgi
make install
export TAU_MAKEFILE=<path to TAU>/x86_64/lib/Makefile.tau-pgi
export TAU_OPTIONS='-optVerbose -optShared'

Compile

make

Run:

./mm
module 

Use TAU analysis tool to view performance data:

pprof
paraprof

Openacc profile1.png

Openacc profile2.png

Openacc profile3.png

Openacc profile4.png

Openacc profile5.png

File:Mm2.f90

File:Mmdriv.f90

File:Makefile

File:Mm openacc.ppk