Hi Huan,
Once you've used tau_cc.sh to instrument your code if you run the
executable it will generate a number of profiles equal to the number
of processes you requested in mpirun. You can then use the command
'pprof' in the folder where these profiles are to view the data.
Alternatively, if you have xwindows working you can type 'paraprof'
for the gui. I believe each gives the same information.
I believe that the most detailed analysis is what tau provides you
with: computational cost on the level of functions.
Best,
Matt
On Apr 16, 5:30 pm, huan sun <
hsun...@gmail.com> wrote:
> Hi all,
>
> 1. I am not clear about what we are supposed to do in the homework 3. It
> says "do the most detailed analysis possible", but what should we analyze?
>
> 2. I am also not sure how to use TAU. I am refering to Stefan's website
> doing the following : Am I right? if so, after compiling the c
> file, shall we use mpirun as usual to run the code??
>
> Load the TAU environment:
>
> export PATH=/home/beta/tau/2.19-pgi/x86_64/bin:$PATH
> export LD_LIBRARY_PATH=/home/beta/tau/2.19-pgi/x86_64/lib:$LD_LIBRARY_PATH
>
> Select the appropiate TAU MAKEFILE based on your choices. For example:
> /home/beta/tau/2.19-pgi/x86_64/lib/Makefile.tau-mpi-pdt-pgi
> <
http://engineering.ucsb.edu/%7Estefan/Makefile.tau-mpi-pdt-pgi>