bugGNU Parallel - build and execute command lines from standard input in parallel - Bugs: bug #33752, experimental --load option gives...

 
 

bug #33752: experimental --load option gives warning messages.

Submitted by:  KIM, Jung-gyum <aragorn>
Submitted on:  Tue 12 Jul 2011 08:31:10 AM 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.

 

Tue 12 Jul 2011 08:04:18 PM UTC, comment #1:

Seems like a reasonable solution. Implemented in: [3c7e1c4]

Ole Tange <tange>
Project AdministratorIn charge of this item.
Tue 12 Jul 2011 08:31:10 AM UTC, original submission:

I am using sem(=parallel) version 20110522-3 packaged in .deb.

When I use --load option, it sometimes gives warning messages that is "Use of uninitialized value in ...". It looks like the most recent version still has the same problem.

I think this can be fixed by initializing the value in SSHLogin->new() like this.

1712 $$."-".$string,
1713 'loadavg' => undef,
1714 'last_loadavg_update' => 0,
1715 }
1716
1717 sub string {

Warning messages
-----
Use of uninitialized value in concatenation (.) or string at /usr/bin/sem line 1799. Use of uninitialized value in subtraction (-) at /usr/bin/sem line 1800.

Related Code
-----
1796 $self->{'loadavg'} = $1;
1797 ::debug("New loadavg: ".$self->{'loadavg'});
1798 }
1799 ::debug("Last update: ".$self->{'last_loadavg_update'});
1800 if(time - $self->{'last_loadavg_update'} > 10) {
1801 # last loadavg was started 10 seconds ago
1802 ::debug("Older than 10 sec: ".$self->{'loadavg_file'});
1803 $update_loadavg_file = 1;
-----

KIM, Jung-gyum <aragorn>

 

(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 (Posted a comment)
  • -unavailable- added by aragorn (Submitted the item)
  • -unavailable- added by aragorn
  •  

    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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 12 Jul 2011 08:04:18 PM UTCtangeStatusNone=>Fixed
      Assigned toNone=>tange
      Open/ClosedOpen=>Closed
    Tue 12 Jul 2011 08:31:10 AM UTCaragornCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1