The BG/L performance counters normally
use the interval timer facility to prevent counter wrap-around, but the
interval timer is also needed by the profiling mechanism enabled via -pg.
So you can't do both at the same time. Using one at a time,
either profiling with -pg, or the using performance counters, should be
OK, and I have had some success with profiling real apps in that way.
Regards,
Bob Walkup (walkup@xxxxxxxxxx, 914-945-1512)
-------------------------------------------------------------------------
Katherine M Riley <kmriley@xxxxxxxxxxxxxxxxxx> Sent by: owner-discuss@xxxxxxxxxxxxxxx
09/16/2005 08:52 PM
To:
cc:
Subject:
[bgl-discuss] -pg or the hpc tools
Has anyone got an actual complex code successfully running using the
IBM hpm tools and/or -pg? I can get some trivial code snippets
running but I cannot get real codes to run.
For example, the -pg/profiling option always core dumps the code.
And, even using the explicit examples in /soft/tool/hpct for the more
involved perf. stuff my codes die with an immediate abort..
-katherine
- --------------------------------------------------------------------
To add or remove yourself from this mailing list, use the 'notifyme'
command on any BGL machine. To remove: notifyme -n, to add: notifyme -y.