TAU - Notes about the Tuning and Analysis Utilities Kit
- Optional: modules
- Download it1
- Optional, if some dependencies cannot be installed via the distro: PDT.
- Download PDT
- Untar the ext.tgz in the top level TAU directory:
tar zxf ext.tgz
. It will create anexternal_dependencies
folder.- PDT can be installed using
./configure ; make ; make install
- PDT can be installed using
- Optional:
./tau_setup
./configure -prefix=/opt/tau && make
- results will be in
/opt/tau/x86_64/bin
or similar arch folder. - add the bin folder to the PATH
- results will be in
./tau_validate -v /opt/tau/x86_64
- Optional:
./upgradetau /path/to/old/source
- Use (see doc)
# load environment if modules is installed; note: cannot find that pesky modulefile?
module load tau
# or
export TAU_MAKEFILE=[path to tau]/[arch]/lib/[makefile]
export TAU_OPTIONS=-optCompInst
#
# w/o instrumentation
#
TAU_PROFILE=1 tau_exec -v -memory_debug <binary>
pprof
#
# w/ instrumentation
#
TAU_MAKEFILE=[path to tau]/[arch]/lib/[makefile] TAU_OPTIONS=-optCompInst CXX=tau_cxx.sh CC=tau_cc.sh make
# or
tau_cc.sh -tau_makefile=[path to makefile] -tau_options=[option] samplecprogram.c
<run the binary>
pprof # or paraprof ; paraprof needs a full jre
See also:
Written on June 11, 2024