Materials
Using TAU on Argonne systems
-
Choose an appropriate TAU_MAKEFILE:
% soft add +tau-latest % export TAU_MAKEFILE=/soft/perftools/tau/tau_latest/bgq/lib/Makefile.tau-bgqtimers-mpi-pdt % export TAU_OPTIONS='-optVerbose' # (see tau_compiler.sh -help for more options)
-
Use tau_f90.sh, tau_cxx.sh, etc. as Fortran, C++, etc. compiler:
% mpixlf90_r foo.f90
changes to
% tau_f90.sh foo.f90
- Execute application:
% qsub –A –q R.bc –n 256 –t 10 ./a.out
Note: If TAU_MAKEFILE has “papi” in its name, set TAU_METRICS:
% qsub --env TAU_METRICS=BGQ_TIMERS:PAPI_L2_DCM ...
- Analyze performance data:
- pprof (for text based profile display)
- paraprof (for GUI)
Getting Started with Workshop Files
% ssh mira.alcf.anl.gov
% tar xvzf /soft/perftools/tau/workshop.tgz
% cd workshop
% less README