Re: [OMPI devel] RFC: hwloc object userdata

2012-10-03 Thread Ralph Castain
If you're going that route, we're probably better off using your original "hash" based solution so people can just assign a character string to "point" to their block of data. Otherwise, we get into the problem of potentially overlapping indexes with people on branches. On Oct 3, 2012, at 7:29

Re: [OMPI devel] RFC: hwloc object userdata

2012-10-03 Thread Jeff Squyres
On Oct 3, 2012, at 10:22 AM, George Bosilca wrote: > In the case such a functionality become necessary, I would suggest we use a > mechanism similar to the attributes in MPI (but without the multi-language > mess). That will allow whoever want to attach data to a hwloc node, to do it > without

Re: [OMPI devel] RFC: hwloc object userdata

2012-10-03 Thread George Bosilca
In the case such a functionality become necessary, I would suggest we use a mechanism similar to the attributes in MPI (but without the multi-language mess). That will allow whoever want to attach data to a hwloc node, to do it without the mess of dealing with reserving a slot. It might require

[OMPI devel] RFC: hwloc object userdata

2012-10-03 Thread Jeff Squyres
WHAT: allowing multiple entities in the OMPI code base to hang data off hwloc_obj->userdata WHY: anticipating that more parts of the OMPI code base will be using the hwloc data WHERE: hwloc base WHEN: no real hurry; Ralph and I just identified the potential for this issue this morning. We're