Open MPI logo

Hardware Locality Users' Mailing List Archives

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

Subject: [hwloc-users] Multiple thread binding
From: Gabriele Fatigati (g.fatigati_at_[hidden])
Date: 2011-08-02 10:22:28

Dear all,

binding a thread on a core like this:

hwloc_set_cpubind(*topology, set, HWLOC_CPUBIND_THREAD |

is it possible do multiple call to hwloc_set_cpubind passing each flag per

hwloc_set_cpubind(*topology, set, HWLOC_CPUBIND_THREAD);
hwloc_set_cpubind(*topology, set, HWLOC_CPUBIND_STRICT);
hwloc_set_cpubind(*topology, set, HWLOC_CPUBIND_NOMEMBIND);

or only the last have effect?

Thanks in forward.

Ing. Gabriele Fatigati
Parallel programmer
CINECA Systems & Tecnologies Department
Supercomputing Group
Via Magnanelli 6/3, Casalecchio di Reno (BO) Italy                    Tel:   +39 051 6171722
g.fatigati [AT]