Difference between revisions of "Guide:POINTTutorial"
Line 17: | Line 17: | ||
Now build the BT example program | Now build the BT example program | ||
− | make bt CLASS= | + | make bt CLASS=S NPROCS=1 |
== Running NPB example == | == Running NPB example == | ||
cd bin | cd bin | ||
− | mpirun -np 1 ./bt. | + | mpirun -np 1 ./bt.S.1 |
+ | |||
+ | TAU Profiles will automatically be generated in the current directory, one profile file per thread. | ||
+ | |||
+ | ls | ||
+ | bt.S.1 profile.0.0.0 |
Revision as of 18:48, 19 May 2009
Use Live DVD version 2, built 5/18/09
Instrumenting NPB
cd workshop-point/NPB3.1 vi config/make.def
notice that the MPIF77 variable is set to tau_f90.sh this will enable TAU automatic instrumentation with PDT.
Setting TAU configuration
close vi.
setenv TAU_MAKEFILE=$TAU/Makefile-tau-mpi-pdt
This tells TAU to perform a basic instrumentation using PDT and the TAU MPI wrapper library. Now build the BT example program
make bt CLASS=S NPROCS=1
Running NPB example
cd bin mpirun -np 1 ./bt.S.1
TAU Profiles will automatically be generated in the current directory, one profile file per thread.
ls bt.S.1 profile.0.0.0