StarCluster - Mailing List Archive

run command on all nodes

From: Cedar McKay <no email>
Date: Tue, 3 Jun 2014 15:56:26 -0700

What is the easiest way to run terminal commands on each and every node? I can qsub a command as many times as I have hosts, but (perhaps if nodes are busy) nodeX could run the command multiple times, and nodeY not at all.


Our local cluster has something that works like this:

$ rocks run host compute "COMMAND"

That runs COMMAND on every "compute" host.

I'm sort of surprised this functionality isn't totally standard (or is it?) on all clusters. I have gotten tmux going, but it seems both over-complicated, and a bit fragile. Plus, will it scale to a 100 node cluster? Any tips?

best,
Cedar
Received on Tue Jun 03 2014 - 18:56:44 EDT
This archive was generated by hypermail 2.3.0.

Search:

Sort all by:

Date

Month

Thread

Author

Subject