[StarCluster] run command on all nodes
Cedar McKay
cmckay at uw.edu
Tue Jun 3 18:56:26 EDT 2014
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
More information about the StarCluster
mailing list