I may be wrong about this because I'm pretty new to all this stuff, but I
think that I want to give a copy to every node allocated for the job.


On Mon, Jun 30, 2014 at 5:13 PM, Gary Brown <gbr...@adaptivecomputing.com>
wrote:

>  Hartley,
> To clarify, you want to run a command on every node in the cluster, not
> just on every node allocated to a job, correct?
>
> Gary Brown
>
>
> On Mon, Jun 30, 2014 at 5:01 PM, Hartley Greenwald <jhgreenw...@gmail.com>
> wrote:
>
>>  Hi Phil,
>>
>> Won't that just distribute the work among the nodes?  I need a command
>> that will give one copy of the command to each node rather than
>> distributing it.
>>
>> Hartley
>>
>>
>>
>> On Mon, Jun 30, 2014 at 4:02 PM, Uwe Sauter <uwe.sauter...@gmail.com>
>> wrote:
>>
>>>  You could also use pdsh (https://code.google.com/p/pdsh/)
>>>
>>> Uwe
>>>
>>> Am 30.06.2014 23:41, schrieb Eckert, Phil:
>>>
>>>  Hartley,
>>>
>>>  Sounds like you might be wanting srun.
>>>
>>>  If I ask for 5 nodes on our rzmerl system:
>>>
>>>  > salloc -p pdebug -N 5
>>> salloc: Granted job allocation 1966117
>>>
>>>  > srun hostname
>>> rzmerl1
>>> rzmerl2
>>> rzmerl4
>>> rzmerl3
>>> rzmerl5
>>>
>>>  Phil Eckert
>>> LLNL
>>>
>>>   From: Hartley Greenwald <jhgreenw...@gmail.com>
>>> Reply-To: slurm-dev <slurm-dev@schedmd.com>
>>> Date: Monday, June 30, 2014 at 2:23 PM
>>> To: slurm-dev <slurm-dev@schedmd.com>
>>> Subject: [slurm-dev] pbsdsh -u equivalent
>>>
>>>   Hi,
>>>
>>> Is there an equivalent command on slurm for the pbs command pbsdsh -u?
>>> That is to say, is there some command which will give one copy of a command
>>> to each node in a given allocation?  I've combed through the documentation
>>> and there doesn't seem to be, but that struck me as odd that there
>>> wouldn't, so that's why I'm asking
>>>
>>>  Thank you,
>>>  Hartley
>>>
>>>
>>>
>>
>

Reply via email to