Skip to content

Tau on Wrangler

Ioannis Paraskevakos edited this page Oct 4, 2017 · 2 revisions

Introduction

Tau is a profiler used on HPC to profile parallel program written in Fortran, C, C++, UPC, Java and Python.

Compilation

Initially you need to configure it. Usse flags -mpi, -openmp, and -python If you are not sure whether Libiberty or Unwind are installed and working, use -bfd=download and -unwind=download

On Wrangler, it was

c251-101.wrangler(89)$ ./configure -mpi -openmp -python -bfd=download -unwind=download

After that follow the instructions, i.e. add what is asked to path and do make install

Execution

The -python flag allows Tau to find your python distribution and use that. It also allows the usage of any Environment, at conda environment, that you created based on the initial distribution.

To get the profiles, on Wrangler as an example, do:

ibrun -np 8 tau_python <MPI_python_script>

It will output a profile file per process

For more information about its usage please refer to Tau's documentation

Clone this wiki locally