bugGNU Parallel - build and execute command lines from standard input in parallel - Bugs: bug #36139, --load causes parallel not to...

 
 

bug #36139: --load causes parallel not to finish

Submitted by:  Ole Tange <tange>
Submitted on:  Mon 09 Apr 2012 02:38:41 PM UTC  
 
Category: NoneSeverity: 3 - Normal
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 09 Apr 2012 02:39:21 PM UTC, comment #1:

Fixed in [f4f5fdd]

Ole Tange <tange>
Project AdministratorIn charge of this item.
Mon 09 Apr 2012 02:38:41 PM UTC, original submission:

#!/bin/bash

# use a tmp-dir in a RAM disk
mkdir -p /dev/shm/pissue || exit
cd /dev/shm/pissue || exit

# cleanup
ls | xargs -rd '\n' rm

# this seems to be important
export PARALLEL="--load 100% --verbose"
echo PARALLEL=$PARALLEL

echo -n "cores on $HOSTNAME: "
parallel --number-of-cores
echo

for i in $(seq 2 10); do
i2=$[i*i]
echo creating $i2 files:
seq $i2 | parallel -X touch
echo deleting $i2 files:
ls -v | parallel -X rm
echo
done

rmdir /dev/shm/pissue

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 09 Apr 2012 02:39:33 PM UTCtangeOpen/ClosedOpen=>Closed
    Mon 09 Apr 2012 02:39:21 PM UTCtangeStatusConfirmed=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1