Name

tau_rewrite — Rewrites binaries using Maqao if Tau is configured using PDT 3.17+ at the routine level. If it doesn't find the Maqao package from PDT 3.17, it reverts to tau_run (DyninstAPI based instrumentor).

Options

-o outfile

specify instrumented output file

-T

specify TAU option (CUPTI, DISABLE, MPI, OPENMP, PDT, PGI, PROFILE, SCOREP, SERIAL)

-loadlib= file.so

specify additional load library

-s

dryrun without executing

-v

long verbose mode

-v1

short verbose mode

-XrunTAUsh- options

specify TAU library directly

Notes

Defaults if unspecified: -T MPI

MPI is assumed unless SERIAL is specified

Example

    tau_rewrite -T papi,pdt a.out -o a.inst

    mpirun -np 4 ./a.inst