bug-parallel
[Top][All Lists]
Advanced

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

Error with the --progress option


From: Alastair Andrew
Subject: Error with the --progress option
Date: Fri, 29 Oct 2010 20:50:06 +0100

Hi,

I've just started to use GNU parallel to distribute some of my experiments 
across my departments Linux lab. They've recently got some quad core machines 
which are running Ubuntu 10.04. I've placed all the commands I want to execute 
into a text file and I'm calling parallel as follows:

parallel -S .. -j+0 --progress -a cmds.txt

I know the -S .. option means parallel looks at the ~/.parallel/sshloginfile. 

My sshloginfile is populated with a list of the 30 lab machines' names
4/muir-01
4/muir-02 
4/muir-03
and so on. 

I'm always running the process from the same LAN so it doesn't need the full 
address to resolve the machines. I've prefaced the names with 4/ indicating the 
machines have 4 cpus for some reason parallels fails to detect this when the 
reading the machines from the file.   

When I run this process without the --progress option it seems to distribute 
fine. With the --progress option it spews forth the same errors thousands of 
times:
Use of uninitialized value in sprintf at /usr/local/bin/parallel line 3655.
Sometimes the error is reported at line 3645. 
Also sometimes the error has the additional info: 
Use of uninitialized value in sprintf at /usr/local/bin/parallel line 3655, 
<GEN0> line 38.

If I explicitly list some of the machines as arguments rather than using -S .. 
it seems to work: parallel -S muir-02,muir-07 -j+0 --progress -a cmds.txt
Output:
Computers / CPU cores / Max jobs to run
1:muir-02 / 4 / 4
2:muir-07 / 4 / 4

Computer:jobs running/jobs completed/%of started jobs/Average seconds to 
complete
muir-02:4/0/50%/0.0s  muir-07:4/0/50%/0.0s 

Does anyone have any idea whether the error is a problem on my part or a bug in 
parallel's progress / cpu parsing routines? If it's useful I've also attached 
one of the /proc/cpuinfo files

Thanks,
Alastair

Attachment: cpuinfo
Description: Binary data



---------------------------------------------------------
Alastair Andrew,
address@hidden
Department of Computer and Information Sciences,
University of Strathclyde.
Tel: 0141 548 3138    Fax: 0141 548 4523
The University of Strathclyde is a charitable body, registered in Scotland, 
with registration number SC015263.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]