Open MPI logo

Hardware Locality Development Mailing List Archives

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

Subject: Re: [hwloc-devel] ***UNCHECKED*** [WARNING: A/V UNSCANNABLE]Re: hwloc-distrib --among
From: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2010-11-18 12:45:26

Jirka Hladky, le Thu 18 Nov 2010 18:17:59 +0100, a écrit :
> To summarize:
> --among can be used to specify the highest level of hierarchy where to start
> the distribution, right?

Yes. I've renamed it into --from, and extended the manpage documentation
on it.

> Possible inputs are:
> machine (default), numa, socket, core, pu
> Is this correct?

Possible inputs are all kinds of hwloc objects which have a unique
occurence in the tree. It's thus the correct current list (more may come
in the future).

> This is clear - balancing between NUMA nodes:
> $hwloc-calc --input ../hp-dl980g7-01 --po --proclist $(hwloc-distrib --input
> ../hp-dl980g7-01 --single 8)
> 0,16,24,32,8,9,10,11
> This is not clear to me:
> $hwloc-calc --input ../hp-dl980g7-01 --po --proclist $(hwloc-distrib --input
> ../hp-dl980g7-01 --single --ignore machine 8)
> 0,1,16,24,32,40,48,56

Mmm, I think the problem is because --ignore is passed as such to the
hwloc detection code, which then misses the second NUMA node:

$ lstopo --input ../hp-dl980g7-01 --ignore machine

will indeed not show the second NUMA node.

> Thanks a lot (and sorry for asking dummy questions)

They surely are not dummy questions, as they actually even raise issues :)