Re: [OMPI users] memalign usage in OpenMPI and it's consequencesforTotalVIew

2009-10-01 Thread Åke Sandgren
On Thu, 2009-10-01 at 15:19 -0400, Jeff Squyres wrote:
> On Oct 1, 2009, at 2:19 PM, Åke Sandgren wrote:
> 
> > No it didn't. And memalign is obsolete according to the manpage.
> > posix_memalign is the one to use.
> >
> 
> 
> This particular call is testing the memalign intercept in the ptmalloc  
> component during startup; we can't replace it with posix_memalign.
> 
> Hence, the values that are passed are fairly meaningless.  It's just  
> testing that the intercept works.

Yes, but perhaps you need to verify that posix_memalign is also
intercepted?

I commented on memalign being obsolete since there are a couple of uses
of it in the rest of the openmpi code apart from that particular case.
They should probably be changed.



Re: [OMPI users] memalign usage in OpenMPI and it's consequencesforTotalVIew

2009-10-01 Thread Jeff Squyres

On Oct 1, 2009, at 2:19 PM, Åke Sandgren wrote:


No it didn't. And memalign is obsolete according to the manpage.
posix_memalign is the one to use.




This particular call is testing the memalign intercept in the ptmalloc  
component during startup; we can't replace it with posix_memalign.


Hence, the values that are passed are fairly meaningless.  It's just  
testing that the intercept works.


--
Jeff Squyres
jsquy...@cisco.com