Re: [OMPI devel] MCA variable system slides and notes

2013-02-08 Thread Ralph Castain
+1 Just duplicate it - saves complexity and lowers probability of error On Feb 5, 2013, at 11:38 AM, George Bosilca wrote: > The major benefit of the second method is that it has the obvious potential > to save us some memory. Not much I guess, but somewhere in the order of few > Kb. > > But

Re: [OMPI devel] MCA variable system slides and notes

2013-02-05 Thread George Bosilca
The major benefit of the second method is that it has the obvious potential to save us some memory. Not much I guess, but somewhere in the order of few Kb. But in order to save this memory, the originator must keep a pointer to the data in order to be able to free it after the mca_params framewo

[OMPI devel] MCA variable system slides and notes

2013-02-05 Thread Nathan Hjelm
Notes: Variable system currently takes ownership of string values. This is done so strings can be freed when overwritten (by mca_base_var_set_value) or when the variable is deregistered. This requires that initial string values be allocated on the heap (not .DATA, heap, etc). Brian raised a goo