bugGNU Parallel - Bugs: bug #34074, Distribute --pipe in round robin...

 
 

bug #34074: Distribute --pipe in round robin fashion

Submitter:  Ole Tange <tange>
Submitted:  Fri 19 Aug 2011 01:25:45 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  tange
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 28 Sep 2013 07:27:31 PM UTC, comment #4: 

--round-robin implemented.

Ole Tange <tange>
Group administrator
Fri 07 Dec 2012 12:21:22 AM UTC, comment #3: 

awk '{ print NR > "i/tmpfile."NR%3000 }'

Ole Tange <tange>
Group administrator
Wed 05 Dec 2012 10:26:55 PM UTC, comment #2: 

cat stdin | split -n r/$NPROC --filter 'grep -a ole > '$TMP'.$FILE;echo '$TMP'.$FILE' | parallel cat

seq 1000 | split -n r/8 --filter 'grep -a . > $FILE;echo $FILE' | parallel cat

It does not work for records not one line long.

Ole Tange <tange>
Group administrator
Wed 05 Dec 2012 09:31:26 PM UTC, comment #1: 

Use

 split -n r/8 --filter='grep -a ole'

somehow.

Ole Tange <tange>
Group administrator
Fri 19 Aug 2011 01:25:45 PM UTC, original submission:  

So when one pipe is empty fill in more records.

Useful for parallelizing pipe-sort.

Ole Tange <tange>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-09-28 tange StatusNone Fixed
        Assigned toNone tange
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code