UK National HPC Service

Computer Services for Academic Research Logo
Home | Helpdesk | Machine Status | Search | Apply
 

Profile.pl

Overview

Profile.pl utilizes the standard pfmon package, but produces profiling information for any measurable metric at the routine level or indeed at the source code line level. There are number of measurable metrics the most obvious being CPU_CYCLES (the default), and these can be seen using the command pfmon -l.

Profile.pl has been provided by SGI but is not officially supported. We have however created extra scripts to allow profile.pl to be more convenient to use.

Profile.pl will create a profile for each host that the code runs on, these can be accumulated into a single profile using profile_summary.pl, if you generate 2 of these summaries they can be compared using profile_difference.pl.

Restrictions on Use

Profile.pl is only available on Newton.

Set Up Procedure

The software and supporting scripts is available by loading the profile_lsf module.

Running the Code

In order to profile with in your batch job you will need to run the following series of commands (example is provided for bash/ksh):

export PROF_APP=`which profile_lsf.sh`
mpirun -np N $PROF_APP ./a.out

Further Information

There is limited information available on profile.pl beyond what is available by typing profile.pl in a shell window.

Page maintained by This page last updated: Friday, 02-Dec-2005 14:25:42 GMT