CRC Wiki
CRC Wiki
Log in

TAU

From CRC Wiki

General Description

TAU is a program and performance analysis tool framework being developed for the DOE Office of Science, ASC initiatives at LLNL, the ZeptoOS project at ANL, and the Los Alamos National Laboratory. TAU provides a suite of static and dynamic tools that provide graphical user interaction and inter-operation to form an integrated analysis environment for parallel Fortran, C++, C, Java, and Python applications.

Basic Usage

TAU can be loaded using the following module:

module load tau/2.20.3-gnu

For TAU to generate profiles of your parallel code, you need to recompile your source code with specially configured TAU compiler wrappers as follows:

tau_f90.sh -o foo foo.f90

The complete list of wrappers is:

tau_f90.sh (Fortran F90)
tau_f77.sh (FORTRAN 77)
tau_cc.sh (C)
tau_cxx.sh (C++)

Then run your MPI executable as normal e.g.

mpiexec -n 4 ./foo

Once your execution has terminated TAU profile(s) will be written to your work directory. To see a text-based report of your codes's profile invoke the following command:

 pprof

To see a GUI-based report of your code's profile, invoke the following command:

paraprof

Complete information on using the ParaProf GUI tool can be found in the online documentation

Further Information

See the official website: TAU Webpage