Hi Brice,
hi Samuel,
see my comments bellow.
> > 1) Does the option --get works together with --pid ? Like finding out
> > mempolicy for any pid? I don't think that get_mempolicy supports this.
>
> hwloc indeed gives:
>
> hwloc_get_membind failed (errno 38 Function not implemented)
Yes, you are right!
--get --pid
works on Linux.
--get --membind --pid
will give "Function not implemented"
$ /tmp/hwloc-1.1rc2/utils/hwloc-bind --get --membind --pid 344
hwloc_get_membind failed (errno 38 Function not implemented)
> It actually depends on the OS. I'll see what I can.
I see. It's getting difficult then. I believe that in this case more explanatory
error message would be enough.
Thanks!
Jirka
|