Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] #23: network topology support andv1.0semanticfixes
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2010-01-11 15:54:55


On Jan 11, 2010, at 3:27 PM, Samuel Thibault wrote:

> The concatenation would be
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE root SYSTEM "hwloc.dtd">
> <root>
> <object type="Misc">
> <object type="System" os_level="-1" os_index="0" cpuset="0x00000001" dmi_board_vendor="" dmi_board_name="" memory_kB="0" huge_page_free="0" huge_page_size_kB="0">
> <object type="Proc" os_level="-1" os_index="0" cpuset="0x00000001"/>
> </object>
> <object type="System" os_level="-1" os_index="0" cpuset="0x00000001" dmi_board_vendor="" dmi_board_name="" memory_kB="0" huge_page_free="0" huge_page_size_kB="0">
> <object type="Proc" os_level="-1" os_index="0" cpuset="0x00000001"/>
> </object>
> </object>
> </root>

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 <root>, further enclosed under a single "Misc" object.

-- 
Jeff Squyres
jsquyres_at_[hidden]