Open MPI logo

Hardware Locality Users' Mailing List Archives

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

Subject: Re: [hwloc-users] How do I access CPUModel info string
From: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2012-10-29 10:31:32

Olivier Cessenat, le Sat 27 Oct 2012 19:10:55 +0200, a écrit :
> Just in case, I also provide the output of sysctl hw:

Thanks. There is indeed no package information (hw.packages), that's why
hwloc does not include any socket object.

Brice wrote:
> One way to solve this problem (which may also occur on old Linux
> distribs) would be to store the CPU model in the machine object. But
> we'll have to make sure all processors in the machine are indeed of the
> same model. On MacOSX, it looks like sysctl reports a single socket
> description anyway, so no problem.

So we have to resort to that, now commited.