bugGNU Parallel - build and execute command lines from standard input in parallel - Bugs: bug #34369, GNU Parallel Bug Reports Incorrect...

 
 

bug #34369: GNU Parallel Bug Reports Incorrect number of jobs-completed with --progress

Submitted by:  Ole Tange <tange>
Submitted on:  Fri 23 Sep 2011 08:36:19 PM UTC  
 
Category: NoneSeverity: 2 - Minor
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Ole Tange <tange>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 01 Oct 2012 08:34:00 PM UTC, comment #1:

Fixed in [b170f88]

Ole Tange <tange>
Project AdministratorIn charge of this item.
Fri 23 Sep 2011 08:36:19 PM UTC, original submission:

$ 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

Ole Tange <tange>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by tange (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 01 Oct 2012 08:34:24 PM UTCtangeStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1