Open MPI logo

Hardware Locality Users' Mailing List Archives

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

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


Hello,

Αλέξανδρος Παπαδογιαννάκης, le Wed 16 Jun 2010 16:35:27 +0300, a écrit :
> Here is a partial output from strace (the program does the same thing again and
> again and only changes
> the cpus that do the work) http://rapidshare.com/files/399658973/
> strace.txt.html

Ok, there are just a few setaffinity calls:

sched_setaffinity(7261, 128, {1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}) = 0
sched_setaffinity(7262, 128, {40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}) = 0
sched_setaffinity(7263, 128, {1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}) = 0
sched_setaffinity(7264, 128, {2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}) = 0
sched_setaffinity(7265, 128, {1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}) = 0
sched_setaffinity(7266, 128, {10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}) = 0
sched_setaffinity(7267, 128, {1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}) = 0
sched_setaffinity(7268, 128, {4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}) = 0
sched_setaffinity(7269, 128, {1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}) = 0
sched_setaffinity(7270, 128, {20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}) = 0
sched_setaffinity(7271, 128, {1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}) = 0
sched_setaffinity(7272, 128, {8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}) = 0
sched_setaffinity(7273, 128, {1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}) = 0
sched_setaffinity(7274, 128, {80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}) = 0

Is it what was expected? (I don't know what your program is supposed to
do).

Samuel