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: Αλέξανδρος Παπαδογιαννάκης (psxlover_at_[hidden])
Date: 2010-06-16 09:11:12



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_at_[hidden]
> To: hwloc-users_at_[hidden]
> 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_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-users
                                               
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969