ATPESC14: Intuitive Performance Engineering at the Exascale with TAU and TAU Commander

11 August 2014, 9:30am – 10:30am CST

Materials

Using TAU on Argonne systems

  1. Choose an appropriate TAU_MAKEFILE:

    % soft add +tau-latest
    % 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)
    
  2. Use tau_f90.sh, tau_cxx.sh, etc. as Fortran, C++, etc. compiler:

    % mpixlf90_r foo.f90
    

    changes to

    % tau_f90.sh foo.f90
    
  3. 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 ...
    
  4. 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