Open MPI logo

Hardware Locality Users' 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-users] hwloc on systems with more than 64 cpus?
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2010-05-27 17:47:25


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