Mare Nostrum

From TAU Wiki

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

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

Next diff →
Line 20: Line 20:
cd ..</pre> cd ..</pre>
-Step 2. Build TAU for 32-bit with GNU compilers+Step 3. Build TAU for 32-bit with GNU compilers
- tar -xzf tau.tgz+<pre>
- cd tau*+./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/lib -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+ 
 +make clean install
 +</pre>
 + 
 +Step 4. Build TAU for 64-bit with GNU compilers

Revision as of 17:05, 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/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 4. Build TAU for 64-bit with GNU compilers

Personal tools