Usage
This module defines the following defaults:
TAU_TRACE=0,
TAU_CALLPATH=1,
TAU_PROFILE=1,
TAU_MAKEFILE=Makefile.tau-callpath-icpc-papi-pdt,
TAU_METRICS=TIME:PAPI_FP_OPS:PAPI_L2_DCM.
The TAU_MAKEFILE sets the tools (pdt), compilers (intel) and parallel paradigm (serial, or mpi and/or openmp) to be used in the instrumentation.
For TAU 2.21.4 it is only necessary to load up the TAU 2.21.4 environment. Advanced users may need to load up pdt/3.18 for library and command access.
For normal usage use the defaults: load up tau, recompile, and run. See the pdf Quickstart and User Guide in the $HPC_TAU_DOC directory. Man pages are available for commands (e.g. paraprof, tauf90, etc.), and the application program interface.
To compile your code with TAU, use one of the TAU compiler wrappers:
- tau_f90.sh
- tau_cc.sh
- tau_cxx.sh
For constructing an instrumented code (instead of icc, ifort, etc.):
E.g. tau_f90.sh hello.f90, tau_cc.sh hello.c, etc.
These may also be used in make files, using macro definitions:
E.g. F90=tau_f90.sh, CC=tau_cc.sh, Cxx=tau_cxx.sh.
Tip
To enable callpath information collection set TAU_CALLPATH to 1.
To enable trace collection set the environmental variable TAU_TRACE to 1.