[torqueusers] Torque module for pdsh ?

Bogdan Costescu Bogdan.Costescu at iwr.uni-heidelberg.de
Fri May 15 04:21:22 MDT 2009

On Thu, 14 May 2009, Ole Holm Nielsen wrote:

> The pdsh command has a very nice flag that will execute a command on 
> the nodes belonging to a certain jobid, but only if you use the 
> Slurm resource manager.

How about using pbs_python in a very simple script that prints out the 
list of nodes used by a specified job ? Then this list can be used 
with other tools and obtaining a list from several jobs is only a 
matter of:

for j in jobid1 jobid2 ...; nodes_of_job $j; done | uniq

Please note that if you are not using the nodes in exclusive mode 
there is potential from affecting other jobs than those specified.

Bogdan Costescu

IWR, University of Heidelberg, INF 368, D-69120 Heidelberg, Germany
Phone: +49 6221 54 8240, Fax: +49 6221 54 8850
E-mail: bogdan.costescu at iwr.uni-heidelberg.de

More information about the torqueusers mailing list