Re: [hwloc-users] Problem with hwloc_set_thread_cpubind() and pthread_barrier_wait() on new debianj

2010-06-16 Thread Samuel Thibault
Αλέξανδρος Παπαδογιαννάκης, le Wed 16 Jun 2010 16:11:12 +0300, a écrit : > There is no shed affinity call at all if the thread is on a barrier :/ Ok, so since hwloc_set_thread_cpubind returns 0, the issue can only be in glibc's pthread_setaffinity_np() (and I guess your are calling it on a thread

Re: [hwloc-users] Problem with hwloc_set_thread_cpubind() and pthread_barrier_wait() on new debianj

2010-06-16 Thread Αλέξανδρος Παπαδογιαννάκης
Sorry wrong I'll send you in a minute -- Alexandros Papadogiannakis From: psxlo...@hotmail.com To: hwloc-us...@open-mpi.org Date: Wed, 16 Jun 2010 16:11:12 +0300 Subject: Re: [hwloc-users] Problem with hwloc_set_thread_cpubind() and pthread_barrier_wait

Re: [hwloc-users] Problem with hwloc_set_thread_cpubind() and pthread_barrier_wait() on new debianj

2010-06-16 Thread Αλέξανδρος Παπαδογιαννάκης
Problem with hwloc_set_thread_cpubind() and > pthread_barrier_wait() on new debianj > > Αλέξανδρος Παπαδογιαννάκης, le Wed 16 Jun 2010 15:52:04 +0300, a écrit : > > hwloc_set_thread_cpubind() by itself works. I have it on a different test > > program > > and it binds the threads wit

Re: [hwloc-users] Problem with hwloc_set_thread_cpubind() and pthread_barrier_wait() on new debianj

2010-06-16 Thread Samuel Thibault
Αλέξανδρος Παπαδογιαννάκης, le Wed 16 Jun 2010 15:52:04 +0300, a écrit : > hwloc_set_thread_cpubind() by itself works. I have it on a different test > program > and it binds the threads without a problem. The problem is when the thread is > waiting on a barrier. I understand. I'm just saying that

Re: [hwloc-users] Problem with hwloc_set_thread_cpubind() and pthread_barrier_wait() on new debianj

2010-06-16 Thread Αλέξανδρος Παπαδογιαννάκης
Wed, 16 Jun 2010 14:47:44 +0200 > From: samuel.thiba...@inria.fr > To: hwloc-us...@open-mpi.org > Subject: Re: [hwloc-users] Problem with hwloc_set_thread_cpubind() and > pthread_barrier_wait() on new debianj > > Αλέξανδρος Παπαδογιαννάκης, le Wed 16 Jun 2010 15:37:3

Re: [hwloc-users] Problem with hwloc_set_thread_cpubind() and pthread_barrier_wait() on new debianj

2010-06-16 Thread Samuel Thibault
Αλέξανδρος Παπαδογιαννάκης, le Wed 16 Jun 2010 15:37:34 +0300, a écrit : > The program uses hwloc_set_thread_cpubind() to bind some threads to specific > cpus > but now it doesn't work. hwloc_set_thread_cpubind() returns zero but doesn't > bind > the thread. This looks to me like a glibc or kernel