Open MPI logo

Hardware Locality Users' Mailing List Archives

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

Subject: Re: [hwloc-users] hwloc get cpubind function
From: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2011-08-11 06:39:16


Gabriele Fatigati, le Thu 11 Aug 2011 10:32:23 +0200, a écrit :
> I'm using hwloc-1.3a1r3606.  Now hwloc_get_last_cpu_location() works well:
>
> thread 0  bind:  0x00000008   as core number 3
> thread 1 bind: 0x00000800 as core number 11

Good.

> but hwloc_linux_get_tid_cpubind() has still some problems because after binding
> one thread on just one core it give me:
>
> thread 0 bind:  0x00000008   as core number 3
> thread 1 bind: "0x00ffffff"  as all available cores!!

How do you use it exactly?

Samuel