Getting Started - POOMA Profiling
Profiling POOMA Applications allows the user to identify bottlenecks
within the application and receive function profiling information for templated
functions.
Settings
Check out the latest Pooma version :
% setenv CVSROOT /home/POOMA/framework
% setenv POOMA_ROOT /users/rs/pooma/r1
% setenv POOMA_ARCH O2K64
% cd $POOMA_ROOT
% cvs update -d
On ASCI BlueMountain machines, add to your .cshrc file:
set path=($path /usr/local/packages/tau/bin/sgi8k)
On the ACL Linux SMP Cluster, add to your .cshrc file:
set path=($path /usr/local/packages/tau/bin/i386_linux)
The Tau distribution may be copied to other architectures.
Using conf
Configure using PROFILE options in conf
. The options are :
PROFILE -- Enable Profiling (default time profiling)
PROFILECOUNTERS -- Enable SGI Hardware Counters Profiling (instead
of time)
PROFILECALLS -- Profile each invocation of every profiled function
PROFILESTATS -- Calculate standard deviation of exclusive time/counter
Use either PROFILE or PROFILECOUNTERS. PROFILECALLS and/or PROFILESTATS
can be added to either. If PROFILESTATS is used without PROFILE or PROFILECOUNTERS,
it uses the default PROFILE (time profiling) option.
For e.g.,
% conf O2K64 MPI 72BETA PROFILE
or
% conf O2K64 MPI KAI_NEW PROFILECOUNTERS
or
% conf O2K64 MPI KAI_NEW PROFILE PROFILECALLS
or
% conf O2K64 MPI 72BETA PROFILECOUNTERS PROFILECALLS PROFILESTATS