Open MPI logo

Hardware Locality Users' Mailing List Archives

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

Subject: [hwloc-users] some questions about hwloc
From: guillaume Arnal (guillaume.arnal.35_at_[hidden])
Date: 2011-01-28 09:32:00

Hi everyone,

I'm beginner in using hwloc and I have some questions.

First: I'm looking for a way to find which core is using by the current
thread. (maybe with hwloc_get_thread_cpubind ??)

Second: is there a way to set the number of core usable for the current
process ?

Thank you in advance for your help.
Guillaume Arnal