Open MPI logo

Hardware Locality Users' Mailing List Archives

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

Subject: Re: [hwloc-users] hwloc_get_last_cpu_location and hwloc_get_cpubind
From: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2012-01-16 08:33:29


Marc-André Hermanns, le Mon 16 Jan 2012 14:01:23 +0100, a écrit :
> hwloc_get_last_cpu_location(topology, cpuset, 0);
> and I am at a total loss on what I should make of this. It seems I am
> doing something fundamentally wrong,

You need to check the value returned by the function:
get_last_cpu_location is currently implemented only on Linux. I don't
think MacOS provides the information.