Ported testsuite to new testmachine (aspire).

This commit is contained in:
Ole Tange 2013-11-22 18:24:09 +01:00
parent c463bbc728
commit b1d3013f50
34 changed files with 305 additions and 126 deletions

View file

@ -201,18 +201,32 @@ cc:Sandro Cazzaniga <kharec@mandriva.org>,
Ryoichiro Suzuki <ryoichiro.suzuki@gmail.com>, Ryoichiro Suzuki <ryoichiro.suzuki@gmail.com>,
Jesse Alama <jesse.alama@gmail.com> Jesse Alama <jesse.alama@gmail.com>
Subject: GNU Parallel 20131122 ('') released Subject: GNU Parallel 20131122 ('Haiyan') released
GNU Parallel 20131122 ('') has been released. It is GNU Parallel 20131122 ('Haiyan') has been released. It is
available for download at: http://ftp.gnu.org/gnu/parallel/ available for download at: http://ftp.gnu.org/gnu/parallel/
New in this release: New in this release:
* * GNU Parallel was used (unfortunately with improper citation) in:
'fastphylo: Fast tools for phylogenetics'
http://www.biomedcentral.com/1471-2105/14/334/abstract
* Using GNU parallel
http://davetang.org/muse/2013/11/18/using-gnu-parallel/
* Techlux - GNU - Parallel (German)
https://techlux.de/blog/2013/11/07/gnu-parallel/
* awk, sed, bzip2, grep, wc на всех ядрах
http://vk.com/page-30666517_45528467
* 如何利用多核CPU來加速你的Linux命令 — awk, sed, bzip2, grep, wc等 * 如何利用多核CPU來加速你的Linux命令 — awk, sed, bzip2, grep, wc等
http://www.hksilicon.com/kb/articles/290543/CPULinuxawk-sed-bzip2-grep-wc http://www.hksilicon.com/kb/articles/290543/CPULinuxawk-sed-bzip2-grep-wc
* GNU Parallel (Japanese)
http://jarp.does.notwork.org/diary/201311b.html#20131117
* Bug fixes and man page updates. * Bug fixes and man page updates.

View file

@ -724,6 +724,7 @@ sub options_hash {
"gnu" => \$opt::gnu, "gnu" => \$opt::gnu,
"xapply" => \$opt::xapply, "xapply" => \$opt::xapply,
"bibtex" => \$opt::bibtex, "bibtex" => \$opt::bibtex,
"nonotice|no-notice" => \$opt::no_notice,
# xargs-compatibility - implemented, man, testsuite # xargs-compatibility - implemented, man, testsuite
"max-procs|P=s" => \$opt::P, "max-procs|P=s" => \$opt::P,
"delimiter|d=s" => \$opt::d, "delimiter|d=s" => \$opt::d,
@ -924,7 +925,7 @@ sub parse_options {
$opt::u = 1; $opt::u = 1;
$Global::grouped = 0; $Global::grouped = 0;
$Global::quoting = 1; $Global::quoting = 1;
$opt::q = 1; $opt::q = 1; # =
if(defined $opt::max_lines) { if(defined $opt::max_lines) {
$opt::load = $opt::max_lines; $opt::load = $opt::max_lines;
$opt::max_lines = undef; $opt::max_lines = undef;
@ -1047,6 +1048,7 @@ sub parse_options {
::error("-H has been retired. Use --halt.\n"); ::error("-H has been retired. Use --halt.\n");
::wait_and_exit(255); ::wait_and_exit(255);
} }
citation_notice();
parse_sshlogin(); parse_sshlogin();
parse_env_var(); parse_env_var();
@ -2309,6 +2311,34 @@ sub usage {
""); "");
} }
sub citation_notice {
# if --no-notice: do nothing
# if stderr redirected: do nothing
# if ~/.parallel/will-cite: do nothing
# else: print citation notice to stderr
if($opt::no_notice
or
not -t $Global::original_stderr
or
-e $ENV{'HOME'}."/.parallel/will-cite") {
# skip
} else {
print $Global::original_stderr
("When using GNU Parallel to process data for publication please cite:\n",
"\n",
" O. Tange (2011): GNU Parallel - The Command-Line Power Tool,\n",
" ;login: The USENIX Magazine, February 2011:42-47.\n",
"\n",
"This helps funding further development; and it won't cost you a cent.\n",
"\n",
"To silence this citation notice run 'parallel --bibtex' once or use '--no-notice'.\n\n",
);
flush $Global::original_stderr;
}
}
sub warning { sub warning {
my @w = @_; my @w = @_;
my $fh = $Global::original_stderr || *STDERR; my $fh = $Global::original_stderr || *STDERR;
@ -2364,6 +2394,8 @@ sub bibtex {
print "WARNING: YOU ARE USING --tollef. IF THINGS ARE ACTING WEIRD USE --gnu.\n"; print "WARNING: YOU ARE USING --tollef. IF THINGS ARE ACTING WEIRD USE --gnu.\n";
} }
print join("\n", print join("\n",
"When using GNU Parallel to process data for publication please cite:",
"",
"\@article{Tange2011a,", "\@article{Tange2011a,",
" title = {GNU Parallel - The Command-Line Power Tool},", " title = {GNU Parallel - The Command-Line Power Tool},",
" author = {O. Tange},", " author = {O. Tange},",
@ -2377,7 +2409,21 @@ sub bibtex {
" pages = {42-47}", " pages = {42-47}",
"}", "}",
"", "",
"This helps funding further development.",
""
); );
while(not -e $ENV{'HOME'}."/.parallel/will-cite") {
print "\nType: 'will cite' and press enter.\n> ";
my $input = <STDIN>;
if($input =~ /will cite/i) {
mkdir $ENV{'HOME'}."/.parallel";
open (my $fh, ">", $ENV{'HOME'}."/.parallel/will-cite")
|| ::die_bug("Cannot write: ".$ENV{'HOME'}."/.parallel/will-cite");
close $fh;
print "\nThank you for your support. It is much appreciated. The citation\n",
"notice is now silenced.\n";
}
}
} }
sub show_limits { sub show_limits {

View file

@ -20,6 +20,7 @@ testlocal: ../src/parallel tests-to-run/*local* wanted-results/*local* prereqloc
date date
prereqlocal: installparallel prereqlocal: installparallel
tcsh -c echo tcsh installed || (echo tcsh is required for testsuite; /bin/false)
seq 1 2 >/dev/null || (echo seq is required for testsuite; /bin/false) seq 1 2 >/dev/null || (echo seq is required for testsuite; /bin/false)
stdout echo || (echo stdout is required for testsuite; /bin/false) stdout echo || (echo stdout is required for testsuite; /bin/false)
convert >/dev/null || (echo convert is required for testsuite; /bin/false) convert >/dev/null || (echo convert is required for testsuite; /bin/false)
@ -50,7 +51,7 @@ installparallel: ../src/parallel
cd .. && make -j && sudo make -j install cd .. && make -j && sudo make -j install
startdb: startdb:
sudo parallel /etc/init.d/{} start ::: postgresql mysql oracle-xe sudo parallel /etc/init.d/{} restart ::: postgresql mysql oracle-xe
clean: clean:
rm -rf input-files/random_dirs_no_newline rm -rf input-files/random_dirs_no_newline

View file

@ -4,14 +4,17 @@ echo '### Test niceload -q'
niceload -q perl -e '$a = "works";$b="This $a\n"; print($b);' niceload -q perl -e '$a = "works";$b="This $a\n"; print($b);'
echo echo
# Force swapping freepl >/dev/null
MEMAVAIL=$(free | perl -ane '/buffers.cache:/ and print $F[3]') freepl >/dev/null &
while [ $MEMAVAIL -gt 1000000 ] ; do ## # Force swapping
BS=$(echo $MEMAVAIL/10 | bc) ## MEMAVAIL=$(free | perl -ane '/buffers.cache:/ and print $F[3]')
(seq 1 10 | parallel -j0 -N0 timeout 15 nice dd if=/dev/zero bs=${BS}k '|' wc -c >/dev/null &) ## while [ $MEMAVAIL -gt 1000000 ] ; do
sleep 2 ## BS=$(echo $MEMAVAIL/20 | bc)
MEMAVAIL=$(free | perl -ane '/buffers.cache:/ and print $F[3]') ## (seq 1 10 | parallel -j0 -N0 --timeout 15 nice nice dd if=/dev/zero bs=${BS}k '|' wc -c >/dev/null &)
done ## sleep 2
## MEMAVAIL=$(free | perl -ane '/buffers.cache:/ and print $F[3]')
## echo $MEMAVAIL
## done
#echo 1 | parallel --timeout 20 'seq 10000{} | gzip -1 | perl -e '\'\$a=join\"\",\<\>\;\ while\(1\)\{push\ @a,\$a\}\' #echo 1 | parallel --timeout 20 'seq 10000{} | gzip -1 | perl -e '\'\$a=join\"\",\<\>\;\ while\(1\)\{push\ @a,\$a\}\'

View file

@ -14,6 +14,6 @@ perl -e '$|=1;while($t++<3){sleep(1);print "."}' &
stdout /usr/bin/time -f %e niceload -l 8 -p $! | perl -ne '$_ >= 5 and print "OK\n"' stdout /usr/bin/time -f %e niceload -l 8 -p $! | perl -ne '$_ >= 5 and print "OK\n"'
echo "### Test --sensor -l negative" echo "### Test --sensor -l negative"
timeout 10 nice nice dd iflag=fullblock if=/dev/zero of=/dev/null bs=10G & timeout 10 nice nice dd iflag=fullblock if=/dev/zero of=/dev/null bs=11G &
niceload -t 1 --sensor 'free | field 3 | head -3|tail -1' -l -6000000 "free -g|egrep -q /.*[67]. && echo more than 6 GB used" niceload -t 1 --sensor 'free | field 3 | head -3|tail -1' -l -10000000 "free -g|egrep -q /.*1[0-9]. && echo more than 6 GB used"

View file

@ -4,10 +4,13 @@
while uptime | grep -v age:.[1-9][0-9].[0-9][0-9] >/dev/null ; do (timeout 5 nice burnP6 2>/dev/null &) done while uptime | grep -v age:.[1-9][0-9].[0-9][0-9] >/dev/null ; do (timeout 5 nice burnP6 2>/dev/null &) done
cat <<'EOF' | stdout parallel -j0 -L1 cat <<'EOF' | stdout parallel -j0 -L1
# The seq 10000000 should take > 1 cpu sec to run.
echo '### --soft -f and test if child is actually suspended and thus takes longer' echo '### --soft -f and test if child is actually suspended and thus takes longer'
niceload --soft -t 0.2 -f 0.5 'seq 1000000 | wc;echo This should finish last' niceload --soft -f 0.5 'seq 20000000 | wc;echo This should finish last'
(sleep 1; seq 1000000 | wc;echo This should finish first) (sleep 1; seq 20000000 | wc;echo This should finish first)
echo '### niceload with no arguments should give no output' echo '### niceload with no arguments should give no output'
niceload niceload
EOF EOF
# TODO test -f + -t

View file

@ -4,7 +4,7 @@ rm -rf tmp
mkdir tmp mkdir tmp
cd tmp cd tmp
cat <<'EOF' | sed -e s/\$SERVER1/$SERVER1/\;s/\$SERVER2/$SERVER2/ | stdout parallel -j10 -k -L1 cat <<'EOF' | sed -e s/\$SERVER1/$SERVER1/\;s/\$SERVER2/$SERVER2/ | stdout parallel -j8 -k -L1
echo '### Test bug #34241: --pipe should not spawn unneeded processes' echo '### Test bug #34241: --pipe should not spawn unneeded processes'
seq 5 | ssh csh@lo parallel -k --block 5 --pipe -j10 cat\\\;echo Block_end seq 5 | ssh csh@lo parallel -k --block 5 --pipe -j10 cat\\\;echo Block_end

View file

@ -78,10 +78,10 @@ echo "### Test --results --header : named - a/b swapped";
echo "### Test --results --header : piped"; echo "### Test --results --header : piped";
mkdir -p /tmp/parallel_results_test; mkdir -p /tmp/parallel_results_test;
(echo Col; perl -e 'print "backslash\\tab\tslash/null\0eof\n"') | parallel --header : --result /tmp/parallel_results_test/testF true; (echo Col; perl -e 'print "backslash\\tab\tslash/null\0eof\n"') | parallel --header : --result /tmp/parallel_results_test/testF true;
find /tmp/parallel_results_test/testF/*/*/*; rm -rf /tmp/parallel_results_test/testF* find /tmp/parallel_results_test/testF/*/*/* | sort; rm -rf /tmp/parallel_results_test/testF*
echo "### Test --results --header : piped - non-existing column header"; echo "### Test --results --header : piped - non-existing column header";
mkdir -p /tmp/parallel_results_test; mkdir -p /tmp/parallel_results_test;
(printf "Col1\t\n"; printf "v1\tv2\tv3\n"; perl -e 'print "backslash\\tab\tslash/null\0eof\n"') | parallel --header : --result /tmp/parallel_results_test/testG true; find /tmp/parallel_results_test/testG/; rm -rf /tmp/parallel_results_test/testG* (printf "Col1\t\n"; printf "v1\tv2\tv3\n"; perl -e 'print "backslash\\tab\tslash/null\0eof\n"') | parallel --header : --result /tmp/parallel_results_test/testG true; find /tmp/parallel_results_test/testG/ | sort; rm -rf /tmp/parallel_results_test/testG*
EOF EOF

View file

@ -12,7 +12,7 @@ seq 9 | /usr/bin/time -f %e parallel -j3 --delay 0.57 true {} 2>&1 |
perl -ne '$_ > 3.3 and print "More than 3.3 secs: OK\n"' perl -ne '$_ > 3.3 and print "More than 3.3 secs: OK\n"'
echo '### test --sshdelay' echo '### test --sshdelay'
stdout /usr/bin/time -f %e parallel -j0 --sshdelay 0.5 -S localhost true ::: 1 2 3 | perl -ne 'print($_ > 1.80 ? "OK\n" : "Not OK\n")' stdout /usr/bin/time -f %e parallel -j0 --sshdelay 0.5 -S localhost true ::: 1 2 3 | perl -ne 'print($_ > 1.30 ? "OK\n" : "Not OK\n")'
echo '### bug #38299: --resume-failed -k' echo '### bug #38299: --resume-failed -k'
rm /tmp/joblog-38299; rm /tmp/joblog-38299;

View file

@ -4,14 +4,17 @@ highload ()
{ {
# Force load > #cpus # Force load > #cpus
CPUS=$(parallel --number-of-cores) CPUS=$(parallel --number-of-cores)
seq 0 0.1 $CPUS | nice nice parallel -j0 timeout 50 burnP6 2>/dev/null & seq 0 0.1 $CPUS | parallel -j0 timeout 50 burnP6 2>/dev/null &
PID=$!
sleep 20
perl -e 'do{$a=`uptime`} while($a=~/average: *(\S+)/ and $1 < '$CPUS')' perl -e 'do{$a=`uptime`} while($a=~/average: *(\S+)/ and $1 < '$CPUS')'
# Load is now > $CPUS # Load is now > $CPUS
# Kill off burnP6 and the parent parallel # Kill off burnP6 and the parent parallel
kill %1; sleep 0.1; kill %1; killall burnP6; sleep 0.3; kill -9 %1 2>/dev/null # kill $PID; sleep 0.1; kill $PID; killall burnP6; sleep 0.3; kill -9 $PID 2>/dev/null
} }
highload 2>/dev/null highload 2>/dev/null &
sleep 1
cat <<'EOF' | parallel -j0 -k -L1 cat <<'EOF' | parallel -j0 -k -L1
echo "bug #38441: CPU usage goes to 100% if load is higher than --load at first job" echo "bug #38441: CPU usage goes to 100% if load is higher than --load at first job"
@ -24,7 +27,7 @@ echo "bug #38441: CPU usage goes to 100% if load is higher than --load at first
echo '### Test slow arguments generation - https://savannah.gnu.org/bugs/?32834' echo '### Test slow arguments generation - https://savannah.gnu.org/bugs/?32834'
seq 1 3 | parallel -j1 "sleep 2; echo {}" | parallel -kj2 echo seq 1 3 | parallel -j1 "sleep 2; echo {}" | parallel -kj2 echo
echo '### Test too slow spawning' echo '### Test too slow spawning - TODO THIS CURRENTLY DOES NOT OVERLOAD'
# Let the commands below run during high load # Let the commands below run during high load
seq `parallel --number-of-cores` | parallel -j200% -N0 timeout -k 25 26 burnP6 & seq `parallel --number-of-cores` | parallel -j200% -N0 timeout -k 25 26 burnP6 &
sleep 1; sleep 1;

View file

@ -2,26 +2,28 @@
cat <<'EOF' | sed -e 's/;$/; /;s/$SERVER1/'$SERVER1'/;s/$SERVER2/'$SERVER2'/' | stdout parallel -k -L1 cat <<'EOF' | sed -e 's/;$/; /;s/$SERVER1/'$SERVER1'/;s/$SERVER2/'$SERVER2'/' | stdout parallel -k -L1
echo '### Test of xargs -m command lines > 130k'; echo '### Test of xargs -m command lines > 130k';
seq 1 60000 | parallel -m -j1 echo a{}b{}c | tee >(wc) >(sort |md5sum) >/tmp/a$$; seq 1 60000 | parallel -m -j1 echo a{}b{}c | tee >(wc >/tmp/awc$$) >(sort | md5sum) >/tmp/a$$;
wait; wait;
CHAR=$(cat /tmp/a$$ | wc -c); CHAR=$(cat /tmp/a$$ | wc -c);
LINES=$(cat /tmp/a$$ | wc -l); LINES=$(cat /tmp/a$$ | wc -l);
echo "Chars per line:" $(echo "$CHAR/$LINES" | bc); echo "Chars per line:" $(echo "$CHAR/$LINES" | bc);
rm /tmp/a$$ cat /tmp/awc$$;
rm /tmp/a$$ /tmp/awc$$
echo '### Test of xargs -X command lines > 130k'; echo '### Test of xargs -X command lines > 130k';
seq 1 60000 | parallel -X -j1 echo a{}b{}c | tee >(wc) >(sort | (sleep 1; md5sum)) >/tmp/b$$; seq 1 60000 | parallel -X -j1 echo a{}b{}c | tee >(wc >/tmp/bwc$$) >(sort | (sleep 1; md5sum)) >/tmp/b$$;
wait; wait;
CHAR=$(cat /tmp/b$$ | wc -c); CHAR=$(cat /tmp/b$$ | wc -c);
LINES=$(cat /tmp/b$$ | wc -l); LINES=$(cat /tmp/b$$ | wc -l);
echo "Chars per line:" $(echo "$CHAR/$LINES" | bc); echo "Chars per line:" $(echo "$CHAR/$LINES" | bc);
rm /tmp/b$$ cat /tmp/bwc$$;
rm /tmp/b$$ /tmp/bwc$$
echo '### Test of xargs -m command lines > 130k'; echo '### Test of xargs -m command lines > 130k';
seq 1 60000 | parallel -k -j1 -m echo | md5sum seq 1 60000 | parallel -k -j1 -m echo | md5sum
echo '### This causes problems if we kill child processes'; echo '### This causes problems if we kill child processes';
seq 1 40 | parallel -j 0 seq 1 10 | sort |md5sum seq 2 40 | parallel -j 0 seq 1 10 | sort | md5sum
echo '### This causes problems if we kill child processes (II)'; echo '### This causes problems if we kill child processes (II)';
seq 1 40 | parallel -j 0 seq 1 10 '| parallel -j 3 echo' | sort | md5sum seq 1 40 | parallel -j 0 seq 1 10 '| parallel -j 3 echo' | sort | md5sum

View file

@ -26,8 +26,8 @@ echo '### bug #39572: --tty and --joblog do not work'
seq 1 | parallel --joblog - -u true | tr '0-9' 'X' seq 1 | parallel --joblog - -u true | tr '0-9' 'X'
echo '### How do we deal with missing $HOME' echo '### How do we deal with missing $HOME'
unset HOME; stdout perl -w $(which parallel) echo ::: 1 2 3 unset HOME; stdout perl -w $(which parallel) -k echo ::: 1 2 3
echo '### How do we deal with missing $SHELL' echo '### How do we deal with missing $SHELL'
unset SHELL; stdout perl -w $(which parallel) echo ::: 1 2 3 unset SHELL; stdout perl -w $(which parallel) -k echo ::: 1 2 3
EOF EOF

View file

@ -1,10 +1,10 @@
#!/bin/bash #!/bin/bash
P_ALL="vax freebsd solaris openbsd netbsd debian alpha aix redhat hpux ultrix qnx irix tru64 openindiana suse openstep mandriva ubuntu scosysv unixware dragonfly centos miros hurd minix raspberrypi" P_ALL="vax freebsd solaris openbsd netbsd debian alpha aix redhat hpux ultrix qnx irix tru64 openindiana suse openstep mandriva ubuntu scosysv unixware dragonfly centos miros hurd raspberrypi"
P_NOTWORKING="vax alpha openstep" P_NOTWORKING="vax alpha openstep"
P_NOTWORKING_YET="ultrix tru64 irix" P_NOTWORKING_YET="ultrix tru64 irix minix raspberrypi"
P_WORKING="freebsd solaris openbsd netbsd debian aix redhat hpux qnx openindiana suse mandriva ubuntu scosysv unixware dragonfly centos miros hurd minix raspberrypi" P_WORKING="freebsd solaris openbsd netbsd debian aix redhat hpux qnx openindiana suse mandriva ubuntu scosysv unixware dragonfly centos miros hurd"
P="$P_WORKING" P="$P_WORKING"
POLAR=`parallel -k echo {}.polarhome.com ::: $P` POLAR=`parallel -k echo {}.polarhome.com ::: $P`

View file

@ -5,12 +5,12 @@ SERVER2=lo
SSHLOGIN1=parallel@parallel-server3 SSHLOGIN1=parallel@parallel-server3
SSHLOGIN2=parallel@lo SSHLOGIN2=parallel@lo
echo '### Test use special ssh with > 9 simultaneous' echo '### Test use special ssh'
echo 'TODO test ssh with > 9 simultaneous'
echo 'ssh "$@"; echo "$@" >>/tmp/myssh1-run' >/tmp/myssh1 echo 'ssh "$@"; echo "$@" >>/tmp/myssh1-run' >/tmp/myssh1
echo 'ssh "$@"; echo "$@" >>/tmp/myssh2-run' >/tmp/myssh2 echo 'ssh "$@"; echo "$@" >>/tmp/myssh2-run' >/tmp/myssh2
chmod 755 /tmp/myssh1 /tmp/myssh2 chmod 755 /tmp/myssh1 /tmp/myssh2
seq 1 100 | parallel --sshlogin "/tmp/myssh1 $SSHLOGIN1, /tmp/myssh2 $SSHLOGIN2" \ seq 1 100 | parallel --sshdelay 0.05 --sshlogin "/tmp/myssh1 $SSHLOGIN1,/tmp/myssh2 $SSHLOGIN2" -k echo
-j10000% -k echo
cat <<'EOF' | sed -e s/\$SERVER1/$SERVER1/\;s/\$SERVER2/$SERVER2/\;s/\$SSHLOGIN1/$SSHLOGIN1/ | parallel -j2 -k -L1 cat <<'EOF' | sed -e s/\$SERVER1/$SERVER1/\;s/\$SERVER2/$SERVER2/\;s/\$SSHLOGIN1/$SSHLOGIN1/ | parallel -j2 -k -L1
echo '### --filter-hosts - OK, non-such-user, connection refused, wrong host' echo '### --filter-hosts - OK, non-such-user, connection refused, wrong host'

View file

@ -1,6 +1,6 @@
### --soft -f and test if child is actually suspended and thus takes longer ### --soft -f and test if child is actually suspended and thus takes longer
### niceload with no arguments should give no output ### niceload with no arguments should give no output
1000000 1000000 6888896 20000000 20000000 168888897
This should finish first This should finish first
1000000 1000000 6888896 20000000 20000000 168888897
This should finish last This should finish last

View file

@ -7,7 +7,7 @@ Block_end
5 5
Block_end Block_end
### --env _ ### --env _
DEBEMAIL: Undefined variable. OK FUBAR test
### --env _ with explicit mentioning of normally ignored var $DEBEMAIL ### --env _ with explicit mentioning of normally ignored var $DEBEMAIL
OK FUBAR ole@tange.dk test OK FUBAR ole@tange.dk test
bug #40137: SHELL not bash: Warning when exporting funcs bug #40137: SHELL not bash: Warning when exporting funcs

View file

@ -259,12 +259,6 @@ o
### Test --seqreplace and line too long ### Test --seqreplace and line too long
1 1 130001 1 1 130001
1 1 130001 1 1 130001
1 1 130001
1 1 130001
1 1 130001
1 1 130001
1 1 130001
1 1 130001
parallel: Error: Command line too long (260009 >= 131071) at number 9: 10... parallel: Error: Command line too long (260009 >= 131071) at number 9: 10...
### bug #37042: -J foo is taken from the whole command line - not just the part before the command ### bug #37042: -J foo is taken from the whole command line - not just the part before the command
foo tag_with_foo foo tag_with_foo

View file

@ -4,5 +4,5 @@ Removing files
e364fd590106adc42f4d052d1cd64b37 - e364fd590106adc42f4d052d1cd64b37 -
There are 6246 dirs with files There are 6246 dirs with files
Removing dirs Removing dirs
404a3f0c1ca9a1f0024ae97b3d24a878 - aaee94919a2efbcf9ef00bdbfb211dc5 -
There are 1 dirs with files There are 1 dirs with files

View file

@ -201,20 +201,20 @@ II IIII
### Test --results --header : piped ### Test --results --header : piped
/tmp/parallel_results_test/testF/Col/backslash\\tab/2 /tmp/parallel_results_test/testF/Col/backslash\\tab/2
/tmp/parallel_results_test/testF/Col/backslash\\tab/2/slash\_null\0eof /tmp/parallel_results_test/testF/Col/backslash\\tab/2/slash\_null\0eof
/tmp/parallel_results_test/testF/Col/backslash\\tab/2/slash\_null\0eof/stdout
/tmp/parallel_results_test/testF/Col/backslash\\tab/2/slash\_null\0eof/stderr /tmp/parallel_results_test/testF/Col/backslash\\tab/2/slash\_null\0eof/stderr
/tmp/parallel_results_test/testF/Col/backslash\\tab/2/slash\_null\0eof/stdout
### Test --results --header : piped - non-existing column header ### Test --results --header : piped - non-existing column header
/tmp/parallel_results_test/testG/ /tmp/parallel_results_test/testG/
/tmp/parallel_results_test/testG/Col1 /tmp/parallel_results_test/testG/Col1
/tmp/parallel_results_test/testG/Col1/backslash\\tab
/tmp/parallel_results_test/testG/Col1/backslash\\tab/2
/tmp/parallel_results_test/testG/Col1/backslash\\tab/2/slash\_null\0eof
/tmp/parallel_results_test/testG/Col1/backslash\\tab/2/slash\_null\0eof/stderr
/tmp/parallel_results_test/testG/Col1/backslash\\tab/2/slash\_null\0eof/stdout
/tmp/parallel_results_test/testG/Col1/v1 /tmp/parallel_results_test/testG/Col1/v1
/tmp/parallel_results_test/testG/Col1/v1/2 /tmp/parallel_results_test/testG/Col1/v1/2
/tmp/parallel_results_test/testG/Col1/v1/2/v2 /tmp/parallel_results_test/testG/Col1/v1/2/v2
/tmp/parallel_results_test/testG/Col1/v1/2/v2/3 /tmp/parallel_results_test/testG/Col1/v1/2/v2/3
/tmp/parallel_results_test/testG/Col1/v1/2/v2/3/v3 /tmp/parallel_results_test/testG/Col1/v1/2/v2/3/v3
/tmp/parallel_results_test/testG/Col1/v1/2/v2/3/v3/stdout
/tmp/parallel_results_test/testG/Col1/v1/2/v2/3/v3/stderr /tmp/parallel_results_test/testG/Col1/v1/2/v2/3/v3/stderr
/tmp/parallel_results_test/testG/Col1/backslash\\tab /tmp/parallel_results_test/testG/Col1/v1/2/v2/3/v3/stdout
/tmp/parallel_results_test/testG/Col1/backslash\\tab/2
/tmp/parallel_results_test/testG/Col1/backslash\\tab/2/slash\_null\0eof
/tmp/parallel_results_test/testG/Col1/backslash\\tab/2/slash\_null\0eof/stdout
/tmp/parallel_results_test/testG/Col1/backslash\\tab/2/slash\_null\0eof/stderr

View file

@ -1,9 +1,27 @@
### Test stdin goes to first command only ("-" as argument) ### Test stdin goes to first command only ("-" as argument)
When using GNU Parallel to process data for publication please cite:
O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
;login: The USENIX Magazine, February 2011:42-47.
This helps funding further development; and it won't cost you a cent.
To silence this citation notice run 'parallel --bibtex' once or use '--no-notice'.
cat - cat -
via first cat via first cat
cat - cat -
via pseudotty via pseudotty
### Test stdin goes to first command only ("cat" as argument) ### Test stdin goes to first command only ("cat" as argument)
When using GNU Parallel to process data for publication please cite:
O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
;login: The USENIX Magazine, February 2011:42-47.
This helps funding further development; and it won't cost you a cent.
To silence this citation notice run 'parallel --bibtex' once or use '--no-notice'.
echo a echo a
a a
cat cat

View file

@ -271,8 +271,12 @@ three
### -r echo this plus that < blank.xi ### -r echo this plus that < blank.xi
### -0 -s118 echo < stairs-0.xi ### -0 -s118 echo < stairs-0.xi
1 22 333 4444 55555 666666 7777777 88888888 999999999 1 22 333 4444 55555 666666 7777777 88888888 999999999 1 22 333 4444 55555 666666 7777777 88888888 999999999 1 22 333 4444 55555 666666 7777777 88888888 999999999
1 22 333 4444 55555 666666 7777777 88888888 999999999 1 22 333
1 22 333 4444 55555 666666 7777777 88888888 999999999 4444 55555 666666
7777777 88888888 999999999
1 22 333
4444 55555 666666
7777777 88888888 999999999
### -0 -s19 echo < stairs-0.xi ### -0 -s19 echo < stairs-0.xi
1 22 333 4444 1 22 333 4444
55555 666666 55555 666666
@ -314,8 +318,10 @@ three
88888888 88888888
7777777 7777777
666666 55555 666666 55555
4444 333 4444
22 1 333
22
1
### -0 -s20 echo < stairs-0.xi ### -0 -s20 echo < stairs-0.xi
1 22 333 4444 1 22 333 4444
55555 666666 55555 666666
@ -405,8 +411,11 @@ from two to xtwoy
hi there /src/gnu/autoconf-1.11 /src/gnu/autoconf-1.11/README /src/gnu/autoconf-1.11/Makefile.in /src/gnu/autoconf-1.11/INSTALL /src/gnu/autoconf-1.11/NEWS /src/gnu/autoconf-1.11/COPYING /src/gnu/autoconf-1.11/ChangeLog /src/gnu/autoconf-1.11/autoconf.texi /src/gnu/autoconf-1.11/acconfig.h /src/gnu/autoconf-1.11/autoconf.sh /src/gnu/autoconf-1.11/acgeneral.m4 /src/gnu/autoconf-1.11/acspecific.m4 /src/gnu/autoconf-1.11/configure hi there /src/gnu/autoconf-1.11 /src/gnu/autoconf-1.11/README /src/gnu/autoconf-1.11/Makefile.in /src/gnu/autoconf-1.11/INSTALL /src/gnu/autoconf-1.11/NEWS /src/gnu/autoconf-1.11/COPYING /src/gnu/autoconf-1.11/ChangeLog /src/gnu/autoconf-1.11/autoconf.texi /src/gnu/autoconf-1.11/acconfig.h /src/gnu/autoconf-1.11/autoconf.sh /src/gnu/autoconf-1.11/acgeneral.m4 /src/gnu/autoconf-1.11/acspecific.m4 /src/gnu/autoconf-1.11/configure
hi there /src/gnu/autoconf-1.11/configure.in /src/gnu/autoconf-1.11/autoheader.sh /src/gnu/autoconf-1.11/mkinstalldirs /src/gnu/autoconf-1.11/install.sh /src/gnu/autoconf-1.11/autoconf.info /src/gnu/autoconf-1.11/standards.texi /src/gnu/autoconf-1.11/make-stds.texi /src/gnu/autoconf-1.11/standards.info /src/gnu/autoconf-1.11/texinfo.tex hi there /src/gnu/autoconf-1.11/configure.in /src/gnu/autoconf-1.11/autoheader.sh /src/gnu/autoconf-1.11/mkinstalldirs /src/gnu/autoconf-1.11/install.sh /src/gnu/autoconf-1.11/autoconf.info /src/gnu/autoconf-1.11/standards.texi /src/gnu/autoconf-1.11/make-stds.texi /src/gnu/autoconf-1.11/standards.info /src/gnu/autoconf-1.11/texinfo.tex
hi there /src/gnu/autoconf-1.11 /src/gnu/autoconf-1.11/README /src/gnu/autoconf-1.11/Makefile.in /src/gnu/autoconf-1.11/INSTALL /src/gnu/autoconf-1.11/NEWS /src/gnu/autoconf-1.11/COPYING /src/gnu/autoconf-1.11/ChangeLog /src/gnu/autoconf-1.11/autoconf.texi /src/gnu/autoconf-1.11/acconfig.h /src/gnu/autoconf-1.11/autoconf.sh /src/gnu/autoconf-1.11/acgeneral.m4 /src/gnu/autoconf-1.11/acspecific.m4 /src/gnu/autoconf-1.11/configure hi there /src/gnu/autoconf-1.11 /src/gnu/autoconf-1.11/README /src/gnu/autoconf-1.11/Makefile.in /src/gnu/autoconf-1.11/INSTALL /src/gnu/autoconf-1.11/NEWS /src/gnu/autoconf-1.11/COPYING /src/gnu/autoconf-1.11/ChangeLog /src/gnu/autoconf-1.11/autoconf.texi /src/gnu/autoconf-1.11/acconfig.h /src/gnu/autoconf-1.11/autoconf.sh /src/gnu/autoconf-1.11/acgeneral.m4 /src/gnu/autoconf-1.11/acspecific.m4 /src/gnu/autoconf-1.11/configure
hi there /src/gnu/autoconf-1.11/configure.in /src/gnu/autoconf-1.11/autoheader.sh /src/gnu/autoconf-1.11/mkinstalldirs /src/gnu/autoconf-1.11/install.sh /src/gnu/autoconf-1.11/autoconf.info hi there /src/gnu/autoconf-1.11/configure.in /src/gnu/autoconf-1.11/autoheader.sh
hi there /src/gnu/autoconf-1.11/standards.texi /src/gnu/autoconf-1.11/make-stds.texi /src/gnu/autoconf-1.11/standards.info /src/gnu/autoconf-1.11/texinfo.tex hi there /src/gnu/autoconf-1.11/mkinstalldirs /src/gnu/autoconf-1.11/install.sh
hi there /src/gnu/autoconf-1.11/autoconf.info /src/gnu/autoconf-1.11/standards.texi
hi there /src/gnu/autoconf-1.11/make-stds.texi /src/gnu/autoconf-1.11/standards.info
hi there /src/gnu/autoconf-1.11/texinfo.tex
### -IARG echo from ARG to xARGy -E_ < eof_.xi ### -IARG echo from ARG to xARGy -E_ < eof_.xi
from one to xoney -E_ from one to xoney -E_
from two to xtwoy -E_ from two to xtwoy -E_
@ -634,8 +643,12 @@ an embedded newline
with 'single quotes' as well. with 'single quotes' as well.
### -s118 echo < stairs.xi ### -s118 echo < stairs.xi
1 22 333 4444 55555 666666 7777777 88888888 999999999 1 22 333 4444 55555 666666 7777777 88888888 999999999 1 22 333 4444 55555 666666 7777777 88888888 999999999 1 22 333 4444 55555 666666 7777777 88888888 999999999
1 22 333 4444 55555 666666 7777777 88888888 999999999 1 22 333
1 22 333 4444 55555 666666 7777777 88888888 999999999 4444 55555 666666
7777777 88888888 999999999
1 22 333
4444 55555 666666
7777777 88888888 999999999
### -s19 echo < stairs2.xi ### -s19 echo < stairs2.xi
999999999 999999999
88888888 88888888
@ -656,8 +669,10 @@ with 'single quotes' as well.
88888888 88888888
7777777 7777777
666666 55555 666666 55555
4444 333 4444
22 1 333
22
1
### -s19 echo < stairs.xi ### -s19 echo < stairs.xi
1 22 333 4444 1 22 333 4444
55555 666666 55555 666666
@ -714,8 +729,14 @@ with 'single quotes' as well.
/src/gnu/autoconf-1.11 /src/gnu/autoconf-1.11/README /src/gnu/autoconf-1.11/Makefile.in /src/gnu/autoconf-1.11/INSTALL /src/gnu/autoconf-1.11/NEWS /src/gnu/autoconf-1.11/COPYING /src/gnu/autoconf-1.11/ChangeLog /src/gnu/autoconf-1.11/autoconf.texi /src/gnu/autoconf-1.11/acconfig.h /src/gnu/autoconf-1.11/autoconf.sh /src/gnu/autoconf-1.11/acgeneral.m4 /src/gnu/autoconf-1.11/acspecific.m4 /src/gnu/autoconf-1.11/configure /src/gnu/autoconf-1.11/configure.in /src/gnu/autoconf-1.11 /src/gnu/autoconf-1.11/README /src/gnu/autoconf-1.11/Makefile.in /src/gnu/autoconf-1.11/INSTALL /src/gnu/autoconf-1.11/NEWS /src/gnu/autoconf-1.11/COPYING /src/gnu/autoconf-1.11/ChangeLog /src/gnu/autoconf-1.11/autoconf.texi /src/gnu/autoconf-1.11/acconfig.h /src/gnu/autoconf-1.11/autoconf.sh /src/gnu/autoconf-1.11/acgeneral.m4 /src/gnu/autoconf-1.11/acspecific.m4 /src/gnu/autoconf-1.11/configure /src/gnu/autoconf-1.11/configure.in
/src/gnu/autoconf-1.11/autoheader.sh /src/gnu/autoconf-1.11/mkinstalldirs /src/gnu/autoconf-1.11/install.sh /src/gnu/autoconf-1.11/autoconf.info /src/gnu/autoconf-1.11/standards.texi /src/gnu/autoconf-1.11/make-stds.texi /src/gnu/autoconf-1.11/standards.info /src/gnu/autoconf-1.11/texinfo.tex /src/gnu/autoconf-1.11/autoheader.sh /src/gnu/autoconf-1.11/mkinstalldirs /src/gnu/autoconf-1.11/install.sh /src/gnu/autoconf-1.11/autoconf.info /src/gnu/autoconf-1.11/standards.texi /src/gnu/autoconf-1.11/make-stds.texi /src/gnu/autoconf-1.11/standards.info /src/gnu/autoconf-1.11/texinfo.tex
/src/gnu/autoconf-1.11 /src/gnu/autoconf-1.11/README /src/gnu/autoconf-1.11/Makefile.in /src/gnu/autoconf-1.11/INSTALL /src/gnu/autoconf-1.11/NEWS /src/gnu/autoconf-1.11/COPYING /src/gnu/autoconf-1.11/ChangeLog /src/gnu/autoconf-1.11/autoconf.texi /src/gnu/autoconf-1.11/acconfig.h /src/gnu/autoconf-1.11/autoconf.sh /src/gnu/autoconf-1.11/acgeneral.m4 /src/gnu/autoconf-1.11/acspecific.m4 /src/gnu/autoconf-1.11/configure /src/gnu/autoconf-1.11/configure.in /src/gnu/autoconf-1.11 /src/gnu/autoconf-1.11/README /src/gnu/autoconf-1.11/Makefile.in /src/gnu/autoconf-1.11/INSTALL /src/gnu/autoconf-1.11/NEWS /src/gnu/autoconf-1.11/COPYING /src/gnu/autoconf-1.11/ChangeLog /src/gnu/autoconf-1.11/autoconf.texi /src/gnu/autoconf-1.11/acconfig.h /src/gnu/autoconf-1.11/autoconf.sh /src/gnu/autoconf-1.11/acgeneral.m4 /src/gnu/autoconf-1.11/acspecific.m4 /src/gnu/autoconf-1.11/configure /src/gnu/autoconf-1.11/configure.in
/src/gnu/autoconf-1.11/autoheader.sh /src/gnu/autoconf-1.11/mkinstalldirs /src/gnu/autoconf-1.11/install.sh /src/gnu/autoconf-1.11/autoconf.info /src/gnu/autoconf-1.11/autoheader.sh
/src/gnu/autoconf-1.11/standards.texi /src/gnu/autoconf-1.11/make-stds.texi /src/gnu/autoconf-1.11/standards.info /src/gnu/autoconf-1.11/texinfo.tex /src/gnu/autoconf-1.11/mkinstalldirs
/src/gnu/autoconf-1.11/install.sh
/src/gnu/autoconf-1.11/autoconf.info
/src/gnu/autoconf-1.11/standards.texi
/src/gnu/autoconf-1.11/make-stds.texi
/src/gnu/autoconf-1.11/standards.info
/src/gnu/autoconf-1.11/texinfo.tex
### -s47 echo < files.xi ### -s47 echo < files.xi
/src/gnu/autoconf-1.11 /src/gnu/autoconf-1.11
/src/gnu/autoconf-1.11/README /src/gnu/autoconf-1.11/README
@ -808,7 +829,7 @@ with 'single quotes' as well.
/src/gnu/autoconf-1.11/texinfo.tex /src/gnu/autoconf-1.11/texinfo.tex
### -s6 echo < files.xi ### -s6 echo < files.xi
xargs: argument line too long xargs: argument line too long
parallel: Error: Command line too long (27 >= 6) at number 1: /src/gnu/autoconf-1.11... parallel: Error: Command line too long (27 >= 6) at number 7: /src/gnu/autoconf-1.11...
### -iARG -s86 echo ARG is xARGx < files.xi ### -iARG -s86 echo ARG is xARGx < files.xi
/src/gnu/autoconf-1.11 is x/src/gnu/autoconf-1.11x /src/gnu/autoconf-1.11 is x/src/gnu/autoconf-1.11x
/src/gnu/autoconf-1.11/README is x/src/gnu/autoconf-1.11/READMEx /src/gnu/autoconf-1.11/README is x/src/gnu/autoconf-1.11/READMEx

View file

@ -28,21 +28,15 @@ a' * ? >o <i*? ][\!#¤%=( ) | }b 5
8 8
8 8
### Test --env for \n and \\ - single and double (*csh only) - no output is good ### Test --env for \n and \\ - single and double (*csh only) - no output is good
2 2\ \92V2=\ \92 8
2 2\\ \92V2=\\ \92 8
16 : Command not found.
8 Unmatched ".
16 \ : Command not found.
### Test --env for \n and \\ - single and double --onall (bash only) - no output is good ### Test --env for \n and \\ - single and double --onall (bash only) - no output is good
2 1 2 1
2 10 2 10
2 10V2= 2 10V2=
2 2\\ \92V2=\\ \92 2 2\\ \92V2=\\ \92
### Test --env for \n and \\ - single and double --onall (*csh only) - no output is good ### Test --env for \n and \\ - single and double --onall (*csh only) - no output is good
1 2\ \92V2=\ \92 4
1 2\\ \92V2=\\ \92 4
8 : Command not found.
4 Unmatched ".
8 \ : Command not found.
### Test --env for \160 - which kills csh - single and double - no output is good ### Test --env for \160 - which kills csh - single and double - no output is good
### Test --env for \160 - which kills csh - single and double --onall - no output is good ### Test --env for \160 - which kills csh - single and double --onall - no output is good

View file

@ -5,5 +5,6 @@ Less than 1 secs user time: OK
1 1
2 2
3 3
### Test too slow spawning ### Test too slow spawning - TODO THIS CURRENTLY DOES NOT OVERLOAD
OK parallel: Warning: Only enough file handles to run 506 jobs in parallel.
Raising ulimit -n or /etc/security/limits.conf may help.

View file

@ -1,15 +1,15 @@
### Test of xargs -m command lines > 130k ### Test of xargs -m command lines > 130k
6 119994 697800
31d9274be5fdc2de59487cb05ba57776 - 31d9274be5fdc2de59487cb05ba57776 -
Chars per line: 116300 Chars per line: 116300
6 119994 697800
### Test of xargs -X command lines > 130k ### Test of xargs -X command lines > 130k
7 60000 817788
22074f9acada52462defb18ba912d744 - 22074f9acada52462defb18ba912d744 -
Chars per line: 116826 Chars per line: 116826
7 60000 817788
### Test of xargs -m command lines > 130k ### Test of xargs -m command lines > 130k
b35d8e49be8d94899b719c40d3f1f4bb - b35d8e49be8d94899b719c40d3f1f4bb -
### This causes problems if we kill child processes ### This causes problems if we kill child processes
33bf8b2986551515cdaff5e860618098 - 437c0d47a99b9a7c5bcb1d132f94c2e6 -
### This causes problems if we kill child processes (II) ### This causes problems if we kill child processes (II)
d7fb96d6a56d4347bc24930a395c431a - d7fb96d6a56d4347bc24930a395c431a -
### Test -m ### Test -m

View file

@ -29,8 +29,10 @@ B next to last B
C next to last C C next to last C
A last AB last BC last C A last AB last BC last C
### test round-robin ### test round-robin
473 473 1893 223 223 893
527 527 2000 250 250 1000
250 250 1000
277 277 1000
### --version must have higher priority than retired options ### --version must have higher priority than retired options
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. This is free software: you are free to change and redistribute it.

View file

@ -100,14 +100,14 @@ Seq Host Starttime Runtime Send Receive Exitval Signal Command
X : XXXXXXXXXX.XXX X.XXX X X X X true X X : XXXXXXXXXX.XXX X.XXX X X X X true X
echo '### How do we deal with missing $HOME' echo '### How do we deal with missing $HOME'
### How do we deal with missing $HOME ### How do we deal with missing $HOME
unset HOME; stdout perl -w $(which parallel) echo ::: 1 2 3 unset HOME; stdout perl -w $(which parallel) -k echo ::: 1 2 3
parallel: Warning: $HOME not set. Using /tmp parallel: Warning: $HOME not set. Using /tmp
1 1
2 2
3 3
echo '### How do we deal with missing $SHELL' echo '### How do we deal with missing $SHELL'
### How do we deal with missing $SHELL ### How do we deal with missing $SHELL
unset SHELL; stdout perl -w $(which parallel) echo ::: 1 2 3 unset SHELL; stdout perl -w $(which parallel) -k echo ::: 1 2 3
parallel: Warning: $SHELL not set. Using /bin/sh. parallel: Warning: $SHELL not set. Using /bin/sh.
1 1
2 2

View file

@ -30,7 +30,7 @@
### Test --number-of-cpus ### Test --number-of-cpus
1 1
### Test --number-of-cores ### Test --number-of-cores
2 8
### Test --use-cpus-instead-of-cores ### Test --use-cpus-instead-of-cores
Cores should complete first on machines with less than 4 physical CPUs Cores should complete first on machines with less than 4 physical CPUs
cores done cores done

View file

@ -19,8 +19,6 @@ copy_to_host dragonfly.polarhome.com
copy_to_host centos.polarhome.com copy_to_host centos.polarhome.com
copy_to_host miros.polarhome.com copy_to_host miros.polarhome.com
copy_to_host hurd.polarhome.com copy_to_host hurd.polarhome.com
copy_to_host minix.polarhome.com
copy_to_host raspberrypi.polarhome.com
### Run the test on polarhome machines ### Run the test on polarhome machines
freebsd.polarhome.com Works on freebsd.polarhome.com freebsd.polarhome.com Works on freebsd.polarhome.com
solaris.polarhome.com Works on solaris.polarhome.com solaris.polarhome.com Works on solaris.polarhome.com
@ -43,6 +41,3 @@ dragonfly.polarhome.com Works on dragonfly.polarhome.com
centos.polarhome.com Works on centos.polarhome.com centos.polarhome.com Works on centos.polarhome.com
miros.polarhome.com Works on miros.polarhome.com miros.polarhome.com Works on miros.polarhome.com
hurd.polarhome.com Works on hurd.polarhome.com hurd.polarhome.com Works on hurd.polarhome.com
minix.polarhome.com Works on minix.polarhome.com
raspberrypi.polarhome.com Works on raspberrypi.polarhome.com
raspberrypi.polarhome.com parallel: Warning: Cannot figure out number of CPU cores. Using 1.

View file

@ -1,4 +1,5 @@
### Test use special ssh with > 9 simultaneous ### Test use special ssh
TODO test ssh with > 9 simultaneous
1 1
2 2
3 3
@ -100,6 +101,6 @@
99 99
100 100
### --filter-hosts - OK, non-such-user, connection refused, wrong host ### --filter-hosts - OK, non-such-user, connection refused, wrong host
hk aspire
### test --workdir . in $HOME ### test --workdir . in $HOME
OK OK

View file

@ -4,7 +4,43 @@ tange@centos3
tange@centos5 tange@centos5
tange@freebsd7 tange@freebsd7
### bug #37589: Red Hat 9 (Shrike) perl v5.8.0 built for i386-linux-thread-multi error ### bug #37589: Red Hat 9 (Shrike) perl v5.8.0 built for i386-linux-thread-multi error
centos3.tange.dk
centos3.tange.dk
centos3.tange.dk
centos3.tange.dk
centos3.tange.dk ;login: The USENIX Magazine, February 2011:42-47.
centos3.tange.dk O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
centos3.tange.dk OK_if_no_perl_warnings centos3.tange.dk OK_if_no_perl_warnings
centos3.tange.dk This helps funding further development; and it won't cost you a cent.
centos3.tange.dk To silence this citation notice run 'parallel --bibtex' once or use '--no-notice'.
centos3.tange.dk When using GNU Parallel to process data for publication please cite:
centos5.tange.dk
centos5.tange.dk
centos5.tange.dk
centos5.tange.dk
centos5.tange.dk ;login: The USENIX Magazine, February 2011:42-47.
centos5.tange.dk O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
centos5.tange.dk OK_if_no_perl_warnings centos5.tange.dk OK_if_no_perl_warnings
centos5.tange.dk This helps funding further development; and it won't cost you a cent.
centos5.tange.dk To silence this citation notice run 'parallel --bibtex' once or use '--no-notice'.
centos5.tange.dk When using GNU Parallel to process data for publication please cite:
freebsd7.tange.dk
freebsd7.tange.dk
freebsd7.tange.dk
freebsd7.tange.dk
freebsd7.tange.dk ;login: The USENIX Magazine, February 2011:42-47.
freebsd7.tange.dk O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
freebsd7.tange.dk OK_if_no_perl_warnings freebsd7.tange.dk OK_if_no_perl_warnings
freebsd7.tange.dk This helps funding further development; and it won't cost you a cent.
freebsd7.tange.dk To silence this citation notice run 'parallel --bibtex' once or use '--no-notice'.
freebsd7.tange.dk When using GNU Parallel to process data for publication please cite:
redhat9.tange.dk
redhat9.tange.dk
redhat9.tange.dk
redhat9.tange.dk
redhat9.tange.dk ;login: The USENIX Magazine, February 2011:42-47.
redhat9.tange.dk O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
redhat9.tange.dk OK_if_no_perl_warnings redhat9.tange.dk OK_if_no_perl_warnings
redhat9.tange.dk This helps funding further development; and it won't cost you a cent.
redhat9.tange.dk To silence this citation notice run 'parallel --bibtex' once or use '--no-notice'.
redhat9.tange.dk When using GNU Parallel to process data for publication please cite:

View file

@ -1,5 +1,5 @@
### Test -k ### Test -k
parallel: Warning: Only enough file handles to run 19 jobs in parallel. parallel: Warning: Only enough file handles to run 18 jobs in parallel.
Raising ulimit -n or /etc/security/limits.conf may help. Raising ulimit -n or /etc/security/limits.conf may help.
begin begin
1 1
@ -17,8 +17,8 @@ begin
13 13
14 14
15 15
16
parallel: Warning: No more file handles. Raising ulimit -n or /etc/security/limits.conf may help. parallel: Warning: No more file handles. Raising ulimit -n or /etc/security/limits.conf may help.
16
17 17
18 18
19 19

View file

@ -1,10 +1,28 @@
### Test -p --interactive ### Test -p --interactive
spawn /tmp/parallel-script-for-expect spawn /tmp/parallel-script-for-expect
When using GNU Parallel to process data for publication please cite:
O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
;login: The USENIX Magazine, February 2011:42-47.
This helps funding further development; and it won't cost you a cent.
To silence this citation notice run 'parallel --bibtex' once or use '--no-notice'.
sleep 0.1; echo opt-p 1 ?...y sleep 0.1; echo opt-p 1 ?...y
sleep 0.1; echo opt-p 2 ?...n sleep 0.1; echo opt-p 2 ?...n
sleep 0.1; echo opt-p 3 ?...y sleep 0.1; echo opt-p 3 ?...y
opt-p 1 opt-p 1
opt-p 3 opt-p 3
When using GNU Parallel to process data for publication please cite:
O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
;login: The USENIX Magazine, February 2011:42-47.
This helps funding further development; and it won't cost you a cent.
To silence this citation notice run 'parallel --bibtex' once or use '--no-notice'.
sleep 0.1; echo opt--interactive 1 ?...y sleep 0.1; echo opt--interactive 1 ?...y
sleep 0.1; echo opt--interactive 2 ?...n sleep 0.1; echo opt--interactive 2 ?...n
sleep 0.1; echo opt--interactive 3 ?...y sleep 0.1; echo opt--interactive 3 ?...y
@ -181,6 +199,15 @@ xargs Expect: 3 1 2
1 1
2 2
parallel Expect: 3 1 via psedotty 2 parallel Expect: 3 1 via psedotty 2
When using GNU Parallel to process data for publication please cite:
O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
;login: The USENIX Magazine, February 2011:42-47.
This helps funding further development; and it won't cost you a cent.
To silence this citation notice run 'parallel --bibtex' once or use '--no-notice'.
3 3
1 1
via pseudotty via pseudotty
@ -190,6 +217,15 @@ xargs Expect: 1 3 2
3 3
2 2
parallel Expect: 1 3 2 via pseudotty parallel Expect: 1 3 2 via pseudotty
When using GNU Parallel to process data for publication please cite:
O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
;login: The USENIX Magazine, February 2011:42-47.
This helps funding further development; and it won't cost you a cent.
To silence this citation notice run 'parallel --bibtex' once or use '--no-notice'.
1 1
3 3
2 2
@ -660,15 +696,24 @@ a b
### Test distribute arguments at EOF to 2 jobslots ### Test distribute arguments at EOF to 2 jobslots
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
66 67 68 69 70 71 72 73 74 75 76 77 78 79 66 67 68 69
80 81 82 83 84 85 86 87 88 89 90 91 92 70 71 72 73
74 75 76 77
78 79 80 81
82 83 84 85
86 87 88 89
90 91 92
### Test distribute arguments at EOF to 5 jobslots ### Test distribute arguments at EOF to 5 jobslots
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
66 67 68 69 70 71 66 67 68
72 73 74 75 76 77 69 70 71
78 79 80 81 82 83 72 73 74
84 85 86 87 88 89 75 76 77
78 79 80
81 82 83
84 85 86
87 88 89
90 91 92 90 91 92
### Test distribute arguments at EOF to infinity jobslots ### Test distribute arguments at EOF to infinity jobslots
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34

View file

@ -78,7 +78,7 @@ parallel: Warning: --cleanup ignored as there are no remote --sshlogin.
9 9
10 10
### Check forced number of CPUs being respected ### Check forced number of CPUs being respected
hk aspire
redhat9.tange.dk redhat9.tange.dk
redhat9.tange.dk redhat9.tange.dk
redhat9.tange.dk redhat9.tange.dk
@ -86,18 +86,18 @@ redhat9.tange.dk
redhat9.tange.dk redhat9.tange.dk
redhat9.tange.dk redhat9.tange.dk
redhat9.tange.dk redhat9.tange.dk
hk aspire
hk aspire
hk aspire
hk aspire
hk aspire
hk aspire
hk aspire
hk aspire
hk aspire
hk aspire
hk aspire
hk aspire
### Check more than 9 simultaneous sshlogins ### Check more than 9 simultaneous sshlogins
1 1
2 2

View file

@ -3,22 +3,22 @@
### Test of --eta with no jobs ### Test of --eta with no jobs
Computers / CPU cores / Max jobs to run Computers / CPU cores / Max jobs to run
1:local / 2 / 1 1:local / 8 / 1
0 0
### Test of --progress ### Test of --progress
16 16
### Test of --progress with no jobs ### Test of --progress with no jobs
Computers / CPU cores / Max jobs to run Computers / CPU cores / Max jobs to run
1:local / 2 / 1 1:local / 8 / 1
0 0
### bug #34422: parallel -X --eta crashes with div by zero ### bug #34422: parallel -X --eta crashes with div by zero
1 2
Computers / CPU cores / Max jobs to run Computers / CPU cores / Max jobs to run
1:local / 2 / 1 1:local / 8 / 1
Computer:jobs running/jobs completed/%of started jobs/Average seconds to complete Computer:jobs running/jobs completed/%of started jobs/Average seconds to complete
local:1/0/100%/0.0s 1 2
### --timeout --onall on remote machines: 2*slept 1, 2 jobs failed ### --timeout --onall on remote machines: 2*slept 1, 2 jobs failed
slept 1 slept 1
slept 1 slept 1