Re: [OMPI devel] opal_dss.load question

2015-02-11 Thread Ralph Castain
Well yes - when you OBJ_RELEASE(buf), it calls free on the data blob. All you have to do is set buf->base_ptr = NULL prior to releasing. You could also save a lot of malloc wastage by just using OBJ_CONSTRUCT/DESTRUCT for buf, though you still have to NULL the base_ptr before calling DESTRUCT

[OMPI devel] opal_dss.load question

2015-02-11 Thread Howard Pritchard
Hello Folks, I've got a question about the opal_dss.load functionality. If I have a construct like buf = OBJ_NEW(opal_buffer_t); opal_dss.load(buffer, input_ptr, num_bytes_to_load); OBJ_RELEASE(buf); I'm finding that input_ptr has to have been something returned by malloc and friends or else

[OMPI devel] Agenda item for Tuesday

2015-02-11 Thread Jeff Squyres (jsquyres)
Rolf -- Let's add the libtool issue back on the agenda for next Tuesday: https://github.com/open-mpi/ompi/issues/311 There are now 2 PRs that can fix the issue, reflecting two different ways of working around the underlying problem. See the description here: https://github.com/open-mp