Cray

From Tau Wiki
Revision as of 21:18, 1 April 2008 by Scottb (talk | contribs)
Jump to: navigation, search

This document describes how to configure TAU and PDT on Cray XT3/RedStorm or Cray CNL. Choose the subsection that applies to you. Both cases assumes that the backend nodes are running Catamount OS.

Cray XT3

1. Configuring PDT

 % ./configure -GNU
% make clean install 

Installs PDT binaries in x86_64/bin directory.

2. Installing TAU

It is important to note that executables that are created for the backend nodes do not run on the XT3 front-end. Hence, it is important to compile TAU with -pdt_c++=g++ so that tau_instrumentoris built for the front-end as it is required for compilation. To install TAU:

 % ./configure -arch=xt3 -pdt=<dir> -pdt_c++=g++ -mpi
% make clean install 

Builds xt3/lib/Makefile.tau-mpi-pdt-pgi stub Makefile. Configuring in this manner builds the TAUlibraries in xt3/lib directory.

To use SHMEM on XT3, we use:

 % ./configure -arch=xt3 -pdt=<dir> -pdt_c++=g++ -shmem
% make clean install 

To build other tools (such as pprof, tau_merge, tau2vtf) that execute on the front-end, we install TAU using:

 % ./configure
% make clean install

Which builds binaries in the x86_64/bin/ directory which may be executed on the front-end.

Cray CNL

with PGI compilers

1. Configuring PDT

 % ./configure -GNU
% make clean install 

Installs PDT binaries in x86_64/bin directory.

2. Installing TAU

It is important to note that executables that are created for the backend nodes do not run on the XT3 front-end. Hence, it is important to compile TAU with -pdt_c++=g++ so that tau_instrumentoris built for the front-end as it is required for compilation. To install TAU:

 % ./configure -arch=craycnl -pdt=<dir> -pdt_c++=g++ -mpi
% make clean install 

Builds xt3/lib/Makefile.tau-mpi-pdt-pgi stub Makefile. Configuring in this manner builds the TAUlibraries in xt3/lib directory.

To use SHMEM on XT3, we use:

 % ./configure -arch=craycnl -pdt=<dir> -pdt_c++=g++ -shmem
% make clean install 

To build other tools (such as pprof, tau_merge, tau2vtf) that execute on the front-end, we install TAU using:

 % ./configure
% make clean install

Which builds binaries in the x86_64/bin/ directory which may be executed on the front-end.

with PathScale compilers

1. Configuring PDT

 % ./configure -GNU
% make clean install 

Installs PDT binaries in x86_64/bin directory.

2. Installing TAU

It is important to note that executables that are created for the backend nodes do not run on the XT3 front-end. Hence, it is important to compile TAU with -pdt_c++=g++ so that tau_instrumentoris built for the front-end as it is required for compilation. To install TAU:

module unload PrgEnv-pgi
module load pathscale/3.0
module load xt-pe/2.0.33
module load xt-mpt-pathscale/2.0.33
module load xt-libsci/10.2.0
module load PrgEnv-pathscale/2.0.33

./configure -fortran=pathscale -c++=CC -cc=pathcc -arch=craycnl -pdt=/spin/proj/perc/TOOLS/pdt/pdtoolkit-3.12 -pdt_c++=g++ -mpi