Hi Michael,

On Mon, Apr 16, 2007 at 08:37:39AM +0200, Michael Kluge wrote:
> 
> we are getting closer :) All is again compiled:
> 
> mars:~ # /usr/bin/pfmon --system-wide
> --smpl-outfile=/tmp/sample.out.7314 --smpl-entries=100000 -u -k
> --short-smpl-periods=15940000 --smpl-module=compact
> --events=CPU_OP_CYCLES_ALL --cpu-list=0 dplace -c0
> /work/home2/mkluge/omp_sched/sequential
> 
> cannot write PMCs: Invalid argument
> 
I think that is because you are not linking with the right libpfm.
Do a ldd of pfmon, it is picking up the older libpfm installed on
your system. You may want to use LD_LIBRARY_PATH to point it to the
place where you have the CVS libpfm. Alternatively, you can compile
pfmon as static.

--
-Stephane
_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/

Reply via email to