Open MPI logo

Hardware Locality Users' Mailing List Archives

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

Subject: Re: [hwloc-users] hwloc on systems with more than 64 cpus?
From: Jirka Hladky (jhladky_at_[hidden])
Date: 2010-05-27 17:28:47


Hi Brice,

>
> My feeling is that --taskset is just an option that changes the way
> cpuset are displayed with --cpuset or --cpuset-only.
> I'll change the code so that --taskset also enables --cpuset if not
> already done.
Yes, you are right. I agree!

> hwloc-calc doesn't accept input from stdin, it only reads the
> command-line. We have a TODO entry about this, I'll work on it soon.
> For now, you can do:
> hwloc-distrib ... | xargs -n 1 utils/hwloc-calc
I forgot to use "-n 1" switch in xargs to send only 1 cpu set per one hwloc-
calc command.

This works just fine: :-)
hwloc-distrib --single 8 | xargs -n1 hwloc-calc --taskset

Perhaps you can add this example to hwloc-distrib man page?

>
> > Could you please suggest what am I doing wrong or perhaps add support of
> > --taskset to
> > hwloc-distrib
> > command directly?
>
> Yeah, I can do that too :)
Great, thanks!

Have a nice day and many thanks for changes to hwloc you made!
Jirka