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 18:42:27


On Thursday 27 May 2010 11:47:25 pm Brice Goglin wrote:
> Le 27/05/2010 23:28, Jirka Hladky a écrit :
> >> 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?
>
> I've added the stdin support to hwloc-calc so I don't think it matters
> anymore: "hwloc-distrib --single 8 | hwloc-calc --taskset" should do
> what you want. I'll add something like this to the manpage.
>
> Brice

Great, thanks!
Jirka