Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [hwloc-devel] [RFC] multinode topology
From: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2011-08-23 13:29:21


Brice Goglin, le Tue 23 Aug 2011 19:22:49 +0200, a écrit :
> root = hwloc_get_root_obj(global);
> sw1 = hwloc_topology_insert_misc_object_by_parent(global, root, "Switch");
> hwloc_topology_insert_topology(global, sw1, local);
> hwloc_topology_insert_topology(global, sw1, local);
> sw2 = hwloc_topology_insert_misc_object_by_parent(global, root, "Switch");
> hwloc_topology_insert_topology(global, sw2, local);
> hwloc_topology_insert_topology(global, sw2, local);

That looks good!

The performance hit should be quite low, I expect a copy to be much less
costly than the actual probe or XML load.

Samuel