Mare Nostrum

From TAU Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 17:06, 10 August 2009 (edit)
Amorris (Talk | contribs)

← Previous diff
Revision as of 17:12, 10 August 2009 (edit)
Amorris (Talk | contribs)

Next diff →
Line 23: Line 23:
<pre> <pre>
./configure -pdt=`pwd`/../pdtoolkit-<version> -mpiinc=/opt/osshpc/mpich-mx/32/include -mpilib=/opt/osshpc/mpich-mx/32/lib \ ./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" \+-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 -papi=/gpfs/apps/PAPI/3.6.2-970mp/32

Revision as of 17:12, 10 August 2009

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
Personal tools