Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] memalign usage in OpenMPI and it's consequencesforTotalVIew
From: Åke Sandgren (ake.sandgren_at_[hidden])
Date: 2009-10-01 15:27:36


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.