How about displaying a warning if --get is specified but a command to execute
is also specified?
Sent from my phone. No type good.
> On Aug 13, 2014, at 5:22 AM, "John Donners" wrote:
>
> Hi Brice,
>
>> On 13-08-14 10:46, Brice Goglin wrote:
>> Hello,
>>
>> Can
Hi Brice,
On 13-08-14 10:46, Brice Goglin wrote:
Hello,
Can you elaborate how you would use this?
The intend of the current behavior is:
1) if the target task already runs, use "hwloc-bind --pid --get"
without any command since you have pid already
this behaviour stays the same with the
Hello,
Can you elaborate how you would use this?
The intend of the current behavior is:
1) if the target task already runs, use "hwloc-bind --pid --get"
without any command since you have pid already
2) you just want to check whether the upcoming binding works, so you
just do something like
Hi,
I was somewhat surprised to notice that hwloc-bind doesn't
execute the command if the --get option is used. This could
come in handy to check the binding set by other programs,
e.g. SLURM, mpirun or taskset. The following patch would
change this.
--- hwloc-1.9/utils/hwloc-bind.c