Le 24/08/2012 23:17, George Bosilca a écrit :
> On Aug 24, 2012, at 09:06 , Brice Goglin <Brice.Goglin_at_[hidden]> wrote:
>> hwloc_obj_t already has a "void *userdata" for this. But we cannot store
>> it in XML unless we know what it contains.
> Contiguous binary structures with a known size can be stored in a XML file. Instead of forcing the upper level to store their meaningful information as arrays of one of a few predefined types, let them deal with the content of the binary object, and focus on preserving the binary objects in the XML structure.
>> Exporting to XML is strictly required here since people want to add
>> values to the XML topology in a preliminary benchmarking programs, and
>> later read it back in their actual application (a charm++ scheduler).
> XDR exists for ensuring consistency. Let them store what they want not just arrays.
What they want is arrays of floats :)