http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58642
--- Comment #4 from vincenzo Innocente <vincenzo.innocente at cern dot ch> --- 24 thread machine ok innocent@vocms19 parallel]$ c++ -Ofast -std=c++11 -fopenmp simpleOMP.cpp [innocent@vocms19 parallel]$ ./a.out max thread 24 [innocent@vocms19 parallel]$ taskset -c 0-3 ./a.out max thread 4 strace ./a.out | & grep affi sched_getaffinity(9720, 8, { ffffff }) = 8 [innocent@vocms19 parallel]$ taskset -c 0-3 strace ./a.out | & grep affi sched_getaffinity(9723, 8, { f }) = 8