parallel
[Top][All Lists]
Advanced

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

Re: --nest for nested argument files


From: Ole Tange
Subject: Re: --nest for nested argument files
Date: Wed, 4 May 2011 00:26:46 +0200

On Tue, May 3, 2011 at 7:08 PM, Hans Schou <chlor@schou.dk> wrote:
> On Tue, 3 May 2011, Ole Tange wrote:
>> On Tue, May 3, 2011 at 4:25 PM, Hans Schou <chlor@schou.dk> wrote:
>>> 2011/5/3 Ole Tange <tange@gnu.org>:
>
>> --keeporder has nothing to do with --nest. It keeps the output in the
>> same order whether or not there are multiple -a. To understand
>> --keeporder compare the output of these two:
>>
>> parallel -k sleep {}\; echo {} ::: 4 1 3 2
>> parallel sleep {}\; echo {} ::: 4 1 3 2
>
> eeeh, yes?

Sorry:

parallel -j4 -k sleep {}\; echo {} ::: 4 1 3 2
parallel -j4 sleep {}\; echo {} ::: 4 1 3 2

(I clearly have too many cores on my daily computers).

>>>> If --nest is combined with -X what would you expect that to do?
>>>
>>> I think --arg-file (-a) should conflict or -X should do nothing if
>>> combined with --arg-file.
>>> (If I understand -X correctly)
>>
>> -X makes perfect sense if there is only one -a or input is from a pipe
>> (which is the normal situation for use of -X)
>
> And what should -X do when there is 2 or more -a ?

It will probably just do whatever will work.

/Ole



reply via email to

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