-
Notifications
You must be signed in to change notification settings - Fork 23
Tau on Wrangler
Tau is a profiler used on HPC to profile parallel program written in Fortran, C, C++, UPC, Java and Python.
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
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