[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Correct way to execute same command in parallel on multiple machines
Re: Correct way to execute same command in parallel on multiple machines?
Sat, 3 Feb 2018 21:59:46 +0100
On Sat, Feb 3, 2018 at 1:28 PM, Emil Fihlman <address@hidden> wrote:
> So I'm experiencing an issue with parallel:
> parallel --tag --nonall --sshloginfile nodelist.txt 'find . -type f | wc -l'
> is ironically executed sequentially on each machine instead of in parallel.
> What's the correct way to have parallel execute the command in parallel on
> all machines simultaneously?
>From man parallel:
[...] GNU parallel will log into --jobs number of
computers in parallel and run the job on the computer. -j
adjusts how many
computers to log into in parallel.
So add -j0.