JBesaw29 / likwid

Automatically exported from code.google.com/p/likwid
GNU General Public License v3.0
0 stars 0 forks source link

likwid-pin always pinning to core 0 #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
$ export OMP_NUM_THREADS=4  # dunnington1
$ echo $KMP_AFFINITY 
disabled
$ likwid-pin -t intel_omp -c 0,3,6,9  ./stream_omp_NT.exe
[likwid-pin] Main PID -> core 0 - OK
[...]
[pthread wrapper] [pthread wrapper] PIN_MASK: 0->9  
[pthread wrapper] SKIP MASK: 0x0
[pthread wrapper 0] Notice: Using libpthread.so.0 
        threadid 1073809728 -> core 9 - OK
[pthread wrapper 1] Notice: Using libpthread.so.0 
        threadid 1078008128 -> core 0 - OK
[pthread wrapper 2] Notice: Using libpthread.so.0 
        threadid 1082206528 -> core 0 - OK
[pthread wrapper 3] Notice: Using libpthread.so.0 
        threadid 1086404928 -> core 0 - OK
---------------------

In fact, all 4 application threads are running on core 0.
The only one on core 9 is the shepherd thread.

Original issue reported on code.google.com by hager.ge...@gmail.com on 5 Feb 2010 at 2:15

GoogleCodeExporter commented 8 years ago
Additional info: The core list is not interpreted correctly. This happens if 
likwid
is built on Ubuntu 9.10. Everything works fine when building on SLES10SP3.

Original comment by hager.ge...@gmail.com on 5 Feb 2010 at 3:36

GoogleCodeExporter commented 8 years ago
Could not reproduce with current hg head

Original comment by jan.trei...@gmail.com on 8 Feb 2010 at 1:58