parallel
[Top][All Lists]
Advanced

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

Re: Job slot number {%} working yet?


From: Ole Tange
Subject: Re: Job slot number {%} working yet?
Date: Fri, 12 Sep 2014 07:20:11 +0200

On Thu, Sep 11, 2014 at 5:34 PM, Jamshid Afshar <jamshid69@gmail.com> wrote:
> On Thu, Sep 11, 2014 at 5:08 AM, Ole Tange <ole@tange.dk> wrote:
>> I understand why you might expect that. But {%} is not stored between
>> invocations. So if we want {%} to work with 'sem' then we need somehow
>> to store that when starting the job and remove it when done.
>> It is working when not using 'sem'/--semaphore.
>
> Thanks for confirming. This seems like a valuable feature, should I
> file an enhancement request or is it already in the works?

Please file one.

> In the meantime I'll look through examples again and see if I can
> accomplish what I want with --slf and a list of servers. Just trying
> to execute a collection of unit tests, one at a time per server, on a
> pool of servers.

I would reckon that if you have something that works with 'sem', then
it ought to be fairly easy to convert to a bash function and then just
call that from GNU Parallel.

/Ole



reply via email to

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