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

2009-10-01 Thread Samuel K. Gutierrez
Good point. That particular call to memalign, however, is part of a series of OMPI memory hook tests. The memory allocated by that memalign call is promptly freed (opal/mca/memory/ptmalloc2/ opal_ptmalloc2_component.c : line 111). The change is to silence TotalView's memory alignment

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

2009-10-01 Thread Åke Sandgren
On Thu, 2009-10-01 at 19:56 +0100, 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. That is not necessarily true on all systems. -- Ake Sandgren,

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

2009-10-01 Thread Ashley Pittman
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

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

2009-10-01 Thread Åke Sandgren
On Thu, 2009-10-01 at 13:58 -0400, Jeff Squyres wrote: > Did that make it over to the v1.3 branch? No it didn't. And memalign is obsolete according to the manpage. posix_memalign is the one to use. > > > > I think Jeff has already addressed this problem. > > > >

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

2009-10-01 Thread Samuel K. Gutierrez
Ticket created (#2040). I hope it's okay ;-). -- Samuel K. Gutierrez Los Alamos National Laboratory On Oct 1, 2009, at 11:58 AM, Jeff Squyres wrote: Did that make it over to the v1.3 branch? On Oct 1, 2009, at 1:39 PM, Samuel K. Gutierrez wrote: Hi, I think Jeff has already addressed

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

2009-10-01 Thread Jeff Squyres
Did that make it over to the v1.3 branch? On Oct 1, 2009, at 1:39 PM, Samuel K. Gutierrez wrote: Hi, I think Jeff has already addressed this problem. https://svn.open-mpi.org/trac/ompi/changeset/21744 -- Samuel K. Gutierrez Los Alamos National Laboratory On Oct 1, 2009, at 11:25 AM, Peter