----- Mail original -----
> De: "Samuel Thibault" <samuel.thiba...@inria.fr>
> À: "Hardware locality development list" <hwloc-de...@open-mpi.org>
> Envoyé: Vendredi 29 Juin 2012 22:18:47
> Objet: Re: [hwloc-devel] [hwloc-svn] svn:hwloc r4554 - trunk/utils
> 
> Brice Goglin, le Fri 29 Jun 2012 22:10:30 +0200, a écrit :
> > --pid doesn't care about binding, it just changes things like
> > cgroups
> 
> Uh?  It's in there since a long time: lstopo-draw.c pu_draw():
> 
>       else if (pid == 0)
>         hwloc_get_cpubind(topology, bind, 0);
>       if (bind && hwloc_bitmap_isset(bind, level->os_index))
>         methods->box(output, RUNNING_R_COLOR, RUNNING_G_COLOR,
>         RUNNING_B_COLOR, depth, x, *retwidth, y, *retheight);

Arg, I was using the console output (hwloc-nox). The manpage doesn't specify 
whether --pid 0 works in console mode. I don't have the source code at hand. 
But if it's colorizing boxes, I assume it doesn't :)

Brice

Reply via email to