Mare Nostrum

From TAU Wiki

Jump to: navigation, search

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 3. Build TAU for 32-bit with GNU compilers

./configure -pdt=`pwd`/../pdtoolkit-<version> -mpiinc=/opt/osshpc/mpich-mx/32/include -mpilib=/opt/osshpc/mpich-mx/32/lib \
-mpilibrary="-L/opt/osshpc/mx/lib64 -lfmpich -lpmpich -lpmpich++ -lmpich -lrt -L/opt/osshpc/mx/lib -lmyriexpress" \
-papi=/gpfs/apps/PAPI/3.6.2-970mp/32

make clean install

Step 4. Build TAU for 64-bit with GNU compilers

./configure -arch=ibm64linux -pdt=`pwd`/../pdtoolkit-<version> -mpiinc=/opt/osshpc/mpich-mx/64/include -mpilib=/opt/osshpc/mpich-mx/64/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/64

make clean install

Step 4. Build TAU for 32-bit with XL compilers

./configure -cc=xlc -c++=xlC -fortran=ibm -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

make clean install

Step 5. Build TAU for 64-bit with XL compilers

./configure -arch=ibm64linux -cc=xlc -c++=xlC -fortran=ibm -pdt=`pwd`/../pdtoolkit-<version> -mpiinc=/opt/osshpc/mpich-mx/64/include -mpilib=/opt/osshpc/mpich-mx/64/lib \
-mpilibrary="-L/opt/osshpc/mx/lib -lfmpich -lpmpich -lpmpich++ -lmpich -lrt -L/opt/osshpc/mx/lib64 -lmyriexpress" \
-papi=/gpfs/apps/PAPI/3.6.2-970mp/64

make clean install
Personal tools