bug-parallel
[Top][All Lists]
Advanced

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

Re: GNU Parallel Bug Reports Incorrect number of jobs-completed with --p


From: Ole Tange
Subject: Re: GNU Parallel Bug Reports Incorrect number of jobs-completed with --progress
Date: Fri, 23 Sep 2011 22:31:06 +0200

Logged in https://savannah.gnu.org/bugs/index.php?34369

/Ole

On Fri, Sep 16, 2011 at 8:37 AM, Jayanth Anantha Raman
<address@hidden> wrote:
>
> Dual core Mac Darwin Kernel Version 10.8.0.
> GNU parallel 20110822
> The following (variants of the example in the man page) print one job
> completed after the first two jobs appear to be completed:
> $ parallel --progress -k sleep {}\; echo {} ::: 4 2 8 6
> Computers / CPU cores / Max jobs to run
> 1:local / 2 / 2
> Computer:jobs running/jobs completed/%of started jobs/Average seconds to
> complete
> local:2/0/100%/0.0s 4
> 2
> local:2/1/100%/5.0s 8      # jobs-completed should be 2, not 1
> 6
> local:0/4/100%/2.8s
>
> Also, the intermediate average seconds to complete appear to be incorrect (I
> tried with various values including floats, which the mac honors):
> $ parallel --progress -k sleep {}\; echo {} ::: 2 1 8 6
> Computers / CPU cores / Max jobs to run
> 1:local / 2 / 2
> Computer:jobs running/jobs completed/%of started jobs/Average seconds to
> complete
> local:2/0/100%/0.0s 2
> 1
> local:2/1/100%/3.0s 8    # avg of 1s to 2s is understandable (sampled right
> after 1s or right before 2s if the job-completed value is correct)
> 6
> local:0/4/100%/2.5s
> -Jayanth
>



reply via email to

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