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: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2012-06-29 16:18:47


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

Samuel