Re: [OMPI users] freeing attributes on communicators

2009-03-14 Thread George Bosilca
Based on my understanding of the MPI standard, the attribute copy and delete functions have to be called every time we duplicate or free a communicator (if the attribute is attached to it). As in this particular case, the copy function is empty (redirected to MPI_NULL_COPY_FN) it should be

Re: [OMPI users] freeing attributes on communicators

2009-03-14 Thread Jeff Squyres
On Mar 12, 2009, at 12:43 PM, Robert Latham wrote: I'm using openmpi-1.3 in this example, linux, gcc-4.3.2, configured with nothing special. If I run the following simple C code under valgrind, single process, I get some errors about reading and writing already-freed memory: Hmm. This is an

[OMPI users] freeing attributes on communicators

2009-03-12 Thread Robert Latham
Hello all. I'm using openmpi-1.3 in this example, linux, gcc-4.3.2, configured with nothing special. If I run the following simple C code under valgrind, single process, I get some errors about reading and writing already-freed memory: --- #include #include int delete_