![]() |
Note |
|---|---|
|
Note that TAU is only needed for Chapter 6, Using TAU to Monitor the Performance of Components. If you're not planning to do that exercise, or want to delay installing TAU until then, everything else should work fine without it. |
|
The latest version of the TAU Portable Profiling package can be found at http://www.cs.uoregon.edu/research/paracomp/tau/tautools/. Also needed for the exercises requiring TAU is the Performance component, available at http://www.cs.uoregon.edu/research/paracomp/proj/tau/cca/.
Untar the tau_version.tar.gz file in a convenient place.
Next, configure TAU with ./configure options. You can specify an installation prefix with the -prefix=TAU_ROOT option (the default is use the directory in which you build TAU). There are many other configuration options available (type ./configure -help for a complete list).
![]() |
Note |
|---|---|
|
In these exercises, MPI is not needed, but if you want to build TAU with it, you'll need to use the -mpiinc and -mpilib options. Also, for these exercises, TAU does not need to be compiled with Fortran support. Fortran support would be required to work with Fortran code you directly instrument. In these exercises, you will be using TAU via a the TAU performance component, which is written in C++. |
|
Build TAU using make install
Untar the performance-version.tar.gz file someplace convenient to build.
Configure the performance component using ./configure -ccafe=CCA_TOOLS_ROOT -taumakefile=TAU_ROOT/include/Makefile -without-classic -without-proxygen -ccatk=TAU_CMPT_ROOT. CCA_TOOLS_ROOT and TAU_ROOT are the installation roots for the CCA tools and TAU that you specified in previous steps. TAU_CMPT_ROOT is the directory into which you want the performance component tools installed.
Build the performance component using make ; make install