[slurm-dev] Re: pbsdsh -u equivalent

2014-07-02 Thread Hartley Greenwald
I may be wrong about this, but doesn't this not necessarily solve the problem? Let's say we have one task and two nodes allocated. In PBS using pbsdsh -u, both of the nodes will get a copy of the task. However, according to the documentation --ntasks-per-node=1 only means that each node can

[slurm-dev] Re: pbsdsh -u equivalent

2014-07-02 Thread Christopher Samuel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/07/14 05:31, Hartley Greenwald wrote: Let's say we have one task and two nodes allocated. Er, how are you going to do that? $ sbatch --nodes=2 --ntasks=1 --wrap /bin/true sbatch: Warning: can't run 1 processes on 2 nodes, setting nnodes to

[slurm-dev] Re: pbsdsh -u equivalent

2014-06-30 Thread 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

[slurm-dev] Re: pbsdsh -u equivalent

2014-06-30 Thread Uwe Sauter
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

[slurm-dev] Re: pbsdsh -u equivalent

2014-06-30 Thread Hartley Greenwald
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

[slurm-dev] Re: pbsdsh -u equivalent

2014-06-30 Thread Hartley Greenwald
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

[slurm-dev] Re: pbsdsh -u equivalent

2014-06-30 Thread Christopher Samuel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/07/14 09:18, Hartley Greenwald wrote: 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. To emulate pbsdsh you are quite correct. According to