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 <[email protected] <mailto:[email protected]>>
Reply-To: slurm-dev <[email protected] <mailto:[email protected]>>
Date: Monday, June 30, 2014 at 2:23 PM
To: slurm-dev <[email protected] <mailto:[email protected]>>
Subject: [slurm-dev] pbsdsh -u equivalent

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