On Feb 20, 2008 3:01 PM, Jeff Squyres <jsquyres_at_[hidden]> wrote:
> On Feb 19, 2008, at 10:12 AM, Sharon Melamed wrote:
> I guess I was torn between reporting num_processors/sockets and
> max_socket|core_id. Really, you need both, right? It is possible
> that the number of processors and/or sockets are not contiguous.
I need both *because* the number of processor is not contiguous. In my
case, I have a machine with two sockets. the socket numbers are 0 and
3. so in num_sockets I have 2 and in max_socket_id I have 3 and I need
those both values.
> (fwiw: this is specifically what I was referring to when I was talking
> about returning the paffinity API)
> Jeff Squyres
> Cisco Systems
> devel mailing list