[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: replacement string for running jobs number(not job number{#})
From: |
Ole Tange |
Subject: |
Re: replacement string for running jobs number(not job number{#}) |
Date: |
Tue, 6 May 2014 11:59:08 +0200 |
On Mon, May 5, 2014 at 7:33 PM, max <magicdirac@gmail.com> wrote:
> Long question in short is I need a replacement string for the job slot
> number. say "parallel -k -j2" , we opened two slots for all the jobs to
> run, I want to know the slots number through which the job is running. As at
> any time there could be only two jobs running, one should be running through
> slot 1 and the other through slot 2. I need a replacement string to tell me
> which slot the jobs is running through.
Ahhh... Yes, that is useful, and will be implemented.
https://savannah.gnu.org/bugs/?42041
/Ole
>
>
>
>
> On Sat, May 3, 2014 at 4:30 PM, Ole Tange <ole@tange.dk> wrote:
>>
>> On Sat, May 3, 2014 at 2:44 AM, max <magicdirac@gmail.com> wrote:
>>
>> > The idea here is: Let parallel assign the jobs be assigned to a certain
>> > resource, (the resource could be hard-driver, internet port and so on,
>> > here
>> > I just used two cores: core1 or core2 as an example), and use taskset to
>> > pin
>> > that job onto the resource assigned to. ( here is the CPU core)
>>
>> Give me a real (not theoretical) example where this would matter in
>> practice. Preferably with example code showing the problem.
>>
>> /Ole
>
>