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

Bug#518696: #518696 ITP: parallel -- build and execute command lines from standard input in parallel]



Samuel Thibault <samuel.thibault@ens-lyon.org> (09/03/2009):
> which makes parallel not take a command, but executes commands from
> stdin.  That can however be obtained by xargs sh -c.  Another option
> that xargs misses is
> 
>        -j +N    Add N to the number of CPUs.  Run this many jobs in parallel.
>                 For compute intensive jobs -j +0 is useful as it will run
>                 number-of-cpus jobs in parallel.
> 
>        -j -N    Subtract N from the number of CPUs.  Run this many jobs in
>                 parallel.  If the evaluated number is less than 1 then 1 will
>                 be used.
> 
>        -j N%    Multiply N% with the number of CPUs.  Run this many jobs in
>                 parallel.  If the evaluated number is less than 1 then 1 will
>                 be used.

Particularly useful in cluster environments. :)

Mraw,
KiBi.

Attachment: signature.asc
Description: Digital signature


Reply to: