parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Transferring a script file to EVERY host for "local" execution?


From: Ole Tange
Subject: Re: Transferring a script file to EVERY host for "local" execution?
Date: Thu, 14 Oct 2010 18:29:55 +0200

On Wed, Oct 13, 2010 at 8:25 PM, Shawn Skriver <shawn.skriver@gmail.com> wrote:

> I am interested in using "parallel" to ship a script file (i.e. Bash shell
> script) to ALL hosts in a given list and have EVERY host execute the script
> in a "local" context.

GNU Parallel does not guarantee that jobs will be scheduled on all
hosts. For that you probably want ClusterSSH or similar. One of the
situations in which you will see this is if you have fewer jobs to run
than you have hosts.

But GNU Parallel _can_ distribute a scriptfile to every host that a
job is being scheduled for using --basefile.

If neither ClusterSSH nor --basefile covers what you want, then feel
free to write again - preferably with a real example. Then maybe the
next version of GNU Parallel will be able to do what you want.


/Ole



reply via email to

[Prev in Thread] Current Thread [Next in Thread]