Open MPI logo

Hardware Locality Development Mailing List Archives

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

Subject: Re: [hwloc-devel] [hwloc-svn] svn:hwloc r4554 - trunk/utils
From: Brice Goglin (brice.goglin_at_[hidden])
Date: 2012-06-29 16:28:50


----- Mail original -----
> De: "Samuel Thibault" <samuel.thibault_at_[hidden]>
> À: "Hardware locality development list" <hwloc-devel_at_[hidden]>
> 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