Open MPI logo

Hardware Locality Users' Mailing List Archives

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

Subject: [hwloc-users] Problem with hwloc_set_thread_cpubind() and pthread_barrier_wait() on new debian
From: ÁëÝîáíäñïò ÐáðáäïãéáííÜêçò (psxlover_at_[hidden])
Date: 2010-06-16 08:37:34

Hi. Yesterday one of the PCs at my university was updated to Debian "squeeze" with
kernel 2.6.32-5-amd64. I don't know if it's the kernel, hwloc or something else's fault
but I have a program tha worked fine before the update, but not anymore. It does work
without problem in other PCs.

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. The problem is that when I call hwloc_set_thread_cpubind() the threads
are waiting on a posix barrier.

Alexandros Papadogiannakis

Hotmail: Trusted email with powerful SPAM protection.