Open MPI logo

Hardware Locality Users' Mailing List Archives

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

Subject: Re: [hwloc-users] Problem with hwloc_set_thread_cpubind() and pthread_barrier_wait() on new debianj
From: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2010-06-16 09:02:00

Αλέξανδρος Παπαδογιαννάκης, 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 concerning hwloc, being asleep or not
shouldn't change the behavior, and the bug is most probably either in
glibc or the kernel. The result of sched_setaffinity should tell us.