Are PAPI binary libraries architecture dependent?

Open discussion of PAPI.

Are PAPI binary libraries architecture dependent?

Postby pmargar » Thu Nov 03, 2011 8:00 pm

Hi All,

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)?

Please share your experience.

Thanks in advance.
pmargar
 
Posts: 5
Joined: Thu Nov 03, 2011 6:51 pm

Re: Are PAPI binary libraries architecture dependent?

Postby vweaver1 » Tue Nov 08, 2011 4:11 pm

pmargar wrote:Hi All,

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)?

Please share your experience.

Thanks in advance.


The same binary should run fine on both AMD or Intel.
vweaver1
 
Posts: 50
Joined: Wed Feb 17, 2010 4:02 pm

Re: Are PAPI binary libraries architecture dependent?

Postby pmargar » Tue Nov 08, 2011 5:34 pm

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?
pmargar
 
Posts: 5
Joined: Thu Nov 03, 2011 6:51 pm

Re: Are PAPI binary libraries architecture dependent?

Postby vweaver1 » Wed Nov 09, 2011 11:48 am

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.
vweaver1
 
Posts: 50
Joined: Wed Feb 17, 2010 4:02 pm


Return to General discussion

Who is online

Users browsing this forum: Google [Bot] and 2 guests