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 consequences for TotalVIew
From: Peter Thompson (peter.thompson_at_[hidden])
Date: 2009-10-01 15:17:18

The value of 4 might be invalid (though maybe on a 32b machine, it would be
okay?) but it's enough to allow TotalView to continue on without raising a
memory event, so I'm okay with it ;-)


Ashley Pittman wrote:
> Simple malloc() returns pointers that are at least eight byte aligned
> anyway, I'm not sure what the reason for calling memalign() with a value
> of four would be be anyway.
> Ashley,
> On Thu, 2009-10-01 at 20:19 +0200, Åke Sandgren wrote:
>> No it didn't. And memalign is obsolete according to the manpage.
>> posix_memalign is the one to use.