parallel
[Top][All Lists]
Advanced

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

Re: Question on optimizing GNU Parallel with multiple lines of search pa


From: David Florek
Subject: Re: Question on optimizing GNU Parallel with multiple lines of search parameters
Date: Fri, 19 Aug 2016 15:53:39 -0400

Thank you Ole.

Dave Florek
Email: dave.a.florek@gmail.com

> On Aug 19, 2016, at 3:00 PM, Ole Tange <tange@gnu.org> wrote:
> 
>> On Wed, Aug 17, 2016 at 9:34 PM, Dave Florek <dave.a.florek@gmail.com> wrote:
>> 
>> <command>| parallel <command> | parallel <command> >> file
>> <command>| parallel <command> | parallel <command> >> file
>> <command> | parallel <command> >> file
>> <command> | parallel <command> >> file
> 
> Put this into the file 'doit':
> 
> <command>| parallel <command> | parallel <command>
> <command>| parallel <command> | parallel <command>
> <command> | parallel <command>
> <command> | parallel <command>
> 
> Then run:
> 
> cat doit | parallel -kj0 > file
> 
> That way you can run the 4 lines in parallel and make sure there is
> not two programs writing to 'file' simultaneously (which may end up
> mixing output).
> 
> 
> /Ole



reply via email to

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