Re: [hwloc-devel] #23: network topology support andv1.0semanticfixes
Jeff Squyres, le Mon 11 Jan 2010 15:54:55 -0500, a écrit : > cat a.xml b.xml > c.xml > > and then using c.xml directly (which I didn't see how that would work). > Instead, you're talking about manually stitching multiple XML files together > under a single , further enclosed under a single "Misc" object. Yes. Samuel
Re: [hwloc-devel] #23: network topology support andv1.0semanticfixes
On Jan 11, 2010, at 3:27 PM, Samuel Thibault wrote: > The concatenation would be > > > > > >dmi_board_vendor="" dmi_board_name="" memory_kB="0" huge_page_free="0" > huge_page_size_kB="0"> > > >dmi_board_vendor="" dmi_board_name="" memory_kB="0" huge_page_free="0" > huge_page_size_kB="0"> > > > > Ah -- this is the source of my confusion. I thought you meant: cat a.xml b.xml > c.xml and then using c.xml directly (which I didn't see how that would work). Instead, you're talking about manually stitching multiple XML files together under a single , further enclosed under a single "Misc" object. -- Jeff Squyres jsquy...@cisco.com
Re: [hwloc-devel] #23: network topology support andv1.0semanticfixes
Samuel Thibault, le Mon 11 Jan 2010 21:27:35 +0100, a écrit : > Jeff Squyres, le Mon 11 Jan 2010 15:20:45 -0500, a écrit : > > > > I'm curious -- what's the definition of cat'ing 2 XML files together? > > > > Does the 2nd become a subtree of the first? > > > > > > No, I mean putting both under a "misc" object for instance. > > > > Can you explain more; maybe provide an example or two? > > lstopo --synthetic 1 test.xml gives > > > > >dmi_board_vendor="" dmi_board_name="" memory_kB="0" huge_page_free="0" > huge_page_size_kB="0"> > > > > > The concatenation would be (I mean the concatenation of the output above twice) Samuel
Re: [hwloc-devel] #23: network topology support andv1.0semanticfixes
Jeff Squyres, le Mon 11 Jan 2010 15:20:45 -0500, a écrit : > > > I'm curious -- what's the definition of cat'ing 2 XML files together? > > > Does the 2nd become a subtree of the first? > > > > No, I mean putting both under a "misc" object for instance. > > Can you explain more; maybe provide an example or two? lstopo --synthetic 1 test.xml gives The concatenation would be
Re: [hwloc-devel] #23: network topology support andv1.0semanticfixes
On Jan 11, 2010, at 2:52 PM, Samuel Thibault wrote: > > Maybe it would be better to add a (void*) on to the object to allow > > arbitrary 3rd parties to cache information off any given hwloc object. > > I.e. the userdata pointer in the hwloc_obj_t structure? Ummm... right. :-) (I really need to *use* the hwloc API so I learn it better and stop making such bone-headed suggestions!) > > I'm curious -- what's the definition of cat'ing 2 XML files together? Does > > the 2nd become a subtree of the first? > > No, I mean putting both under a "misc" object for instance. Can you explain more; maybe provide an example or two? -- Jeff Squyres jsquy...@cisco.com