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

Reply via email to