Of course,

with gettid() works well.

Thanks so much!

2011/8/11 Samuel Thibault <samuel.thibault@inria.fr>
Gabriele Fatigati, le Thu 11 Aug 2011 18:05:25 +0200, a écrit :
> char* bitmap_string=(char*)malloc(256);
>
> hwloc_bitmap_t set = hwloc_bitmap_alloc();
>
> hwloc_linux_get_tid_cpubind(&topology, tid, set);

Where does "tid" come from? hwloc_linux_get_tid_cpubind() only takes
Linux tids (as in gettid()), not OpenMP thread IDs.

Samuel
_______________________________________________
hwloc-users mailing list
hwloc-users@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-users



--
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