Mare Nostrum
This is a short guide to building and using TAU on Mare Nostrum (http://www.bsc.es/plantillaA.php?cat_id=5).
Step 1. Acquire Sources
mkdir TAU cd TAU wget http://tau.uoregon.edu/tau.tgz wget http://tau.uoregon.edu/pdt.tgz
Step 2. Build PDT for 32 and 64 bit
tar -xzf pdt.tar.gz cd pdtoolkit* ./configure -GNU make -j8 make install ./configure -GNU -arch=ibm64linux make clean make -j8 make install cd ..
Step 2. Build TAU for 32-bit with GNU compilers
tar -xzf tau.tgz cd tau* ./configure -pdt=`pwd`/../pdtoolkit-<version> -mpiinc=/opt/osshpc/mpich-mx/32/include -mpilib=/opt/osshpc/mpich-mx/32/lib \
-mpilibrary="-L/opt/osshpc/mx/lib -lfmpich -lpmpich -lpmpich++ -lmpich -lrt -L/opt/osshpc/mx/lib -lmyriexpress" \ -papi=/gpfs/apps/PAPI/3.6.2-970mp/32