Hi Stephane, John,
I just gave it a try. The compilation aborts after a couple of files with:
gcc -O2 -g -Wall -Werror -D_REENTRANT -I/usr/local/include
-DCONFIG_PFMON_IA64 -DPFMON_DEBUG -DDATADIR=\"/usr/local/share/pfmon\"
-I. -I/usr/include/libelf -DCONFIG_PFMON_DEMANGLE -D_GNU_SOURCE
-DCONFIG_PFMON_IA64 -DPFMON_DEBUG -g -DCONFIG_PFMON_GEN_IA64
-DCONFIG_PFMON_MONTECITO -c pfmon_montecito.c
pfmon_montecito.c: In function ‘pfmon_mont_parse_options’:
pfmon_montecito.c:674: error: ‘PFM_ITA_SETFL_IDLE_EXCL’ undeclared
(first use in this function)
pfmon_montecito.c:674: error: (Each undeclared identifier is reported
only once
pfmon_montecito.c:674: error: for each function it appears in.)
pfmon_montecito.c: In function ‘pfmon_mont_verify_event_sets’:
pfmon_montecito.c:1195: error: ‘PFM_ITA_SETFL_IDLE_EXCL’ undeclared
(first use in this function)
make[1]: *** [pfmon_montecito.o] Fehler 1
make[1]: Leaving directory `/root/pfmon/pfmon'
make: *** [all] Fehler 2
For some reason (that I am not sure of) we can not udate to PP5 SP1. If
I remember well, the CXFS modules are not yet there? I might be wrong.
But I'll ask for the updated profile.pl in advance. Thanks for hint, John.
Regards, Michael
Stephane Eranian schrieb:
Hello Michael,
I have seen this problem myself and I think I fixed it now.
Pull the latest sources from the CVS repository and let me know
if it works. The new module name is 'compact'.
On Fri, Apr 13, 2007 at 03:58:23PM +0200, Michael Kluge wrote:
Hi list,
we have a big SGI Altix system and I just installed libpfm and pfmon 3.2
by just typing make and make install for both packages. pfmon -l works
and does what it has been designed for. Then I wanted to do a run with a
tool called profile.pl (by SGI) that uses pfmon internally. The command
line used is:
pfmon --system-wide --smpl-outfile=/tmp/sample.out.31070
--smpl-entries=100000 -u -k --short-smpl-periods=15940000
--smpl-module=compact-ia64 --events=CPU_CYCLES --relative --cpu-list=0
dplace -c0 ./sequential
This does not work because there is no module 'compact-ia64', only
'compact' is compiled in:
[EMAIL PROTECTED]:~/omp_sched> pfmon -I
detected host CPUs: 384-way 1594MHz/9.0MB Dual-Core Itanium 2
(Montecito, rev 5)
detected PMU model: dual-core Itanium 2
max counters/set: 12
supported PMU models: [Itanium] [Itanium2] [dual-core Itanium 2]
[generic IA-64]
supported sampling modules: [inst-hist] [detailed] [compact] [dear-hist]
[detailed] [inst-hist] [dear-hist] [compact] [raw]
pfmlib version: 3.2
kernel perfmon version: 2.0
[EMAIL PROTECTED]:~/omp_sched> pfmon -S compact
name : compact
description : Column-style raw values (perfmon v2.0)
PMU models : [IA-64]
[EMAIL PROTECTED]:~/omp_sched> uname -a
Linux mars 2.6.16.27-0.6-default #1 SMP Wed Dec 13 09:34:50 UTC 2006
ia64 ia64 ia64 GNU/Linux
So I tried:
pfmon --system-wide --smpl-outfile=/tmp/sample.out.31070
--smpl-entries=100000 -u -k --short-smpl-periods=15940000
--smpl-module=compact --events=CPU_CYCLES --relative --cpu-list=0 dplace
-c0 ./sequential
But again I get:
invalid sampling output format compact
allthough this module is compiled in as pfmon -I claims.
Any suggestion is appreciated.
Regards, Michael
____________________________________________
Michael Kluge, M.Sc.
Technische Universität Dresden
Center for Information Services and
High Performance Computing (ZIH)
D-01062 Dresden
Germany
Contact:
Willersbau, Room HRSK 151
Phone: (+49) 351 463-32424
Fax: (+49) 351 463-37773
e-mail: [EMAIL PROTECTED]
WWW: http://www.tu-dresden.de/zih
_______________________________________________
perfmon mailing list
[EMAIL PROTECTED]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/
--
____________________________________________
Michael Kluge, M.Sc.
Technische Universität Dresden
Center for Information Services and
High Performance Computing (ZIH)
D-01062 Dresden
Germany
Contact:
Room : HRSK 151
Phone: (+49) 351 463 32424
Fax : (+49) 351 463 37773
email: [EMAIL PROTECTED]
_______________________________________________
perfmon mailing list
[EMAIL PROTECTED]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/