bug-parallel
[Top][All Lists]
Advanced

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

GNU Parallel Bug Reports Incorrect number of jobs-completed with --progr


From: Jayanth Anantha Raman
Subject: GNU Parallel Bug Reports Incorrect number of jobs-completed with --progress
Date: Thu, 15 Sep 2011 23:37:47 -0700


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]