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 get a maximum of one task. This does not seem to entail that multiple copies of the tasks will be produced and given to all the nodes only that a maximum of one task is performed by each node. Hartley On Mon, Jun 30, 2014 at 6:04 PM, Christopher Samuel <[email protected]> wrote: > > -----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 the manual page the --ntasks-per-node=1 option for srun > should do what you want. > > cheers, > Chris > - -- > Christopher Samuel Senior Systems Administrator > VLSCI - Victorian Life Sciences Computation Initiative > Email: [email protected] Phone: +61 (0)3 903 55545 > http://www.vlsci.org.au/ http://twitter.com/vlsci > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1 > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iEYEARECAAYFAlOx+JUACgkQO2KABBYQAh/+uQCdHWQEQ/H+aJMJ8ppeMD+C/r88 > jb0An2qJT4FZxloNNOqP2owAC2N3W7eZ > =7BJX > -----END PGP SIGNATURE----- >
