PDT/TAU Installation on a 64-bit AMD Opteron Cluster running CentOS 5 Linux
Tuning and Analysis Utilities (TAU) is a program and performance analysis tool for high-performance parallel and distributed computing with a suite of tools for static and dynamic analysis of programs written in C, C++, FORTRAN 77/90, Python, High Performance FORTRAN, and Java.
You'll also need the Program Database Toolkit (PDT), also available from the same location. Let's install that first. You'll need to set your environment variables. You use modules, right?
module load gcc/4.4.4
modulel load openmpi-gcc/1.3.4
cd /usr/local/src/PDT
wget http://tau.uoregon.edu/pdt.tgz
cd pdtoolkit-3.16
mkdir /usr/local/pdt/3.16
./configure -prefix=/usr/local/pdt/3.16
gmake
gmake install
Note that README recommends gmake over "vendor-supplied" make.
Now for TAU. Download from University of Oregon, untar and run the impressive configure script, install and establish the environment modules.
cd /usr/local/src/TAU
wget http://tau.uoregon.edu/tau.tgz .
tar xvf tau.tgz
cd tau2.19.2
./configure -pdt=/usr/local/pdt/3.16 -mpi -mpiinc=/usr/local/openmpi/1.3.4-gcc/include -mpilib=/usr/local/openmpi/1.3.4-gcc/lib -prefix=/usr/local/$(basename $(pwd) | sed 's#-#/#')-openmpigcc
make install
cd /usr/local/Modules/modulefiles
ln -s .base 2.19.2
