There is no shed affinity call at all if the thread is on a barrier :/

--------------------------
Alexandros Papadogiannakis




> Date: Wed, 16 Jun 2010 15:02:00 +0200
> From: samuel.thibault@inria.fr
> To: hwloc-users@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: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.
>
> Samuel
> _______________________________________________
> hwloc-users mailing list
> hwloc-users@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-users


Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. Sign up now.