Open MPI logo

Hardware Locality Users' Mailing List Archives

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

Subject: [hwloc-users] hwloc get cpubind function
From: Gabriele Fatigati (g.fatigati_at_[hidden])
Date: 2011-08-09 12:14:14


Dear hwloc users,

hwloc_get_cpubind() function, return, according to the manual, "current
process or thread binding". What does it means? It return cpu index where
process/thread runs? If yes, which cpuset I have to use in function
arguments?

Could you give me a little example to use it?

-- 
Ing. Gabriele Fatigati
HPC specialist
SuperComputing Applications and Innovation Department
Via Magnanelli 6/3, Casalecchio di Reno (BO) Italy
www.cineca.it                    Tel:   +39 051 6171722
g.fatigati [AT] cineca.it