Difference between revisions of "Openacc"
(→Matrix Multiply) |
|||
Line 8: | Line 8: | ||
TAU has support for the OpenACC directives available in PGI 12.3 and greater. Configure TAU: | TAU has support for the OpenACC directives available in PGI 12.3 and greater. Configure TAU: | ||
− | ./configure -c++=pgCC -cc=pgcc -fortran=pgi | + | ./configure -c++=pgCC -cc=pgcc -fortran=pgi |
make install | make install | ||
− | export TAU_MAKEFILE=<path to TAU>/x86_64/lib/Makefile.tau | + | export TAU_MAKEFILE=<path to TAU>/x86_64/lib/Makefile.tau-pgi |
export TAU_OPTIONS='-optVerbose -optShared' | export TAU_OPTIONS='-optVerbose -optShared' | ||
Compile | Compile | ||
− | + | make | |
Run: | Run: | ||
− | + | ./mm | |
module | module | ||
Use TAU analysis tool to view performance data: | Use TAU analysis tool to view performance data: | ||
Line 26: | Line 26: | ||
pprof | pprof | ||
paraprof | paraprof | ||
+ | |||
+ | [[Image:openacc_profile1|750px]] | ||
+ | |||
+ | [[Image:openacc_profile1|750px]] | ||
+ | |||
+ | [[Image:openacc_profile1|750px]] | ||
+ | |||
+ | [[Image:openacc_profile1|750px]] | ||
+ | |||
+ | [[Image:openacc_profile1|750px]] |
Revision as of 19:55, 15 March 2012
Contents
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