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