Open MPI logo

Hardware Locality Development Mailing List Archives

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

Subject: Re: [hwloc-devel] [hwloc-svn] svn:hwloc r5299 - in branches/bgq: config include/private src
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2013-02-12 01:57:05

Le 12/02/2013 01:31, Christopher Samuel a écrit :
> On 08/02/13 23:22, Brice Goglin wrote:
> > Le 08/02/2013 12:52, Samuel Thibault a ï¿©crit :
> >> Would it be possible to check some file in /proc or /sys to
> >> identify the machine, to make sure we are not lying?
> > There's no such filesystems on BlueGene compute nodes. The CNK
> > kernel redirects I/O call to the I/O node (which runs Linux).
> Actually the latest BG/Q stack V1R2M0 does have a /proc directory.
> However, I suspect you're probably better off calling uname() on it
> and using the sysname[] component.

Yeah I looked at this new /proc during the week-end but didn't find
anything significantly better than uname().

Also, unfortunately, /proc/<pid>/task doesn't seem to contain all
threads of a process so I didn't bother looking longer.