Open MPI logo

Hardware Locality Users' Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: [hwloc-users] distributing across cores with hwloc-distrib
From: Tim Creech (tcreech_at_[hidden])
Date: 2014-03-30 01:56:38


Hello,
  I would like to use hwloc_distrib for a project, but I'm having some
trouble understanding how it distributes. Specifically, it seems to
avoid distributing multiple processes across cores, and I'm not sure
why.

As an example, consider the actual output of:

$ hwloc-distrib -i "4 4" 2
0x0000000f
0x000000f0

I'm expecting hwloc-distrib to tell me how to distribute 2 processes
across the 16 PUs (4 cores by 4 PUs), but the answer only involves 8
PUs, leaving the other 8 unused. If there were more cores on the
machine, then potentially the vast majority of them would be unused.

In other words, I might expect the output to use all of the PUs across
cores, for example:

$ hwloc-distrib -i "4 4" 2
0x000000ff
0x0000ff00

Why does hwloc-distrib leave PUs unused? I'm using hwloc-1.9. Any help
in understanding where I'm going wrong is greatly appreciated!

Thanks,
Tim