Are compiled PAPI libraries architecture dependent? Can I build PAPI libraries and my application binary on Intel CPU and run on AMD CPU or vice versa, (OS is the same, in my case it's RedHat Enterprise 4.5 or 5.5)?

Are compiled PAPI libraries architecture dependent? Can I build PAPI libraries and my application binary on Intel CPU and run on AMD CPU or vice versa, (OS is the same, in my case it's RedHat Enterprise 4.5 or 5.5)?

pmargar wrote:Thanks for confirmation, I already tested, works fine. But I see some processor dependent configure options:--with-CPU=--with-arch=what is the purpose of these?

some of these are for more obscure platforms (like BlueGene, etc)

and some are for the perfctr substrate. I was going to say that doesn't matter much anymore, but it looks like you are still using a perfctr so it might matter there. I think it primarily makes a difference if you are running on pentium4 systems.