Released as 20110422 'Libya'

This commit is contained in:
Ole Tange 2011-04-23 14:01:22 +02:00
parent 3ab1fc535c
commit c5af096f76
10 changed files with 88 additions and 25 deletions

31
NEWS
View file

@ -1,3 +1,34 @@
20110422
* {#} now works an alias for $PARALLEL_PID.
* --eta now estimates way more accurately.
* CPU detection code for AIX thanks to Christian Netrwal.
* --joblog contains exitcode.
* Thanks to Ævar Arnfjörð Bjarmason for reading my code.
* GNU Parallel was presented at:
- LUGA, Augsburg, 2011-03-26, http://www.luga.de/Aktionen/LIT-2011/Programm
- OSAA.dk, Aarhus, 2011-04-12
* Blog entry in Japanese. Thanks to Riywo.
http://blog.riywo.com/2011/04/19/022802
* Example of how to use GNU Parallel on PBS clusters. Thanks to Andrew
J Dolgert: http://web0.tc.cornell.edu/wiki/index.php?title=Gnu_Parallel
* First example of using GNU Parallel in Hebrew. Thanks to omry.
http://nd.gd/jk
* Intro video got past 10000 hits.
http://www.youtube.com/watch?v=OpaiGYxkSuQ
* Bug fixes and man page updates.
20110322 20110322
* --tollef to be switch compatible with Tollef's parallel. This will * --tollef to be switch compatible with Tollef's parallel. This will

20
configure vendored
View file

@ -1,6 +1,6 @@
#! /bin/sh #! /bin/sh
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.67 for parallel 20110322. # Generated by GNU Autoconf 2.67 for parallel 20110422.
# #
# Report bugs to <bug-parallel@gnu.org>. # Report bugs to <bug-parallel@gnu.org>.
# #
@ -551,8 +551,8 @@ MAKEFLAGS=
# Identity of this package. # Identity of this package.
PACKAGE_NAME='parallel' PACKAGE_NAME='parallel'
PACKAGE_TARNAME='parallel' PACKAGE_TARNAME='parallel'
PACKAGE_VERSION='20110322' PACKAGE_VERSION='20110422'
PACKAGE_STRING='parallel 20110322' PACKAGE_STRING='parallel 20110422'
PACKAGE_BUGREPORT='bug-parallel@gnu.org' PACKAGE_BUGREPORT='bug-parallel@gnu.org'
PACKAGE_URL='' PACKAGE_URL=''
@ -1168,7 +1168,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing. # Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh. # This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF cat <<_ACEOF
\`configure' configures parallel 20110322 to adapt to many kinds of systems. \`configure' configures parallel 20110422 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]... Usage: $0 [OPTION]... [VAR=VALUE]...
@ -1234,7 +1234,7 @@ fi
if test -n "$ac_init_help"; then if test -n "$ac_init_help"; then
case $ac_init_help in case $ac_init_help in
short | recursive ) echo "Configuration of parallel 20110322:";; short | recursive ) echo "Configuration of parallel 20110422:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
@ -1301,7 +1301,7 @@ fi
test -n "$ac_init_help" && exit $ac_status test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then if $ac_init_version; then
cat <<\_ACEOF cat <<\_ACEOF
parallel configure 20110322 parallel configure 20110422
generated by GNU Autoconf 2.67 generated by GNU Autoconf 2.67
Copyright (C) 2010 Free Software Foundation, Inc. Copyright (C) 2010 Free Software Foundation, Inc.
@ -1318,7 +1318,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. running configure, to aid debugging if configure makes a mistake.
It was created by parallel $as_me 20110322, which was It was created by parallel $as_me 20110422, which was
generated by GNU Autoconf 2.67. Invocation command line was generated by GNU Autoconf 2.67. Invocation command line was
$ $0 $@ $ $0 $@
@ -2133,7 +2133,7 @@ fi
# Define the identity of the package. # Define the identity of the package.
PACKAGE='parallel' PACKAGE='parallel'
VERSION='20110322' VERSION='20110422'
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
@ -2684,7 +2684,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their # report actual input values of CONFIG_FILES etc. instead of their
# values after options handling. # values after options handling.
ac_log=" ac_log="
This file was extended by parallel $as_me 20110322, which was This file was extended by parallel $as_me 20110422, which was
generated by GNU Autoconf 2.67. Invocation command line was generated by GNU Autoconf 2.67. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
@ -2746,7 +2746,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\ ac_cs_version="\\
parallel config.status 20110322 parallel config.status 20110422
configured by $0, generated by GNU Autoconf 2.67, configured by $0, generated by GNU Autoconf 2.67,
with options \\"\$ac_cs_config\\" with options \\"\$ac_cs_config\\"

View file

@ -1,4 +1,4 @@
AC_INIT([parallel], [20110322], [bug-parallel@gnu.org]) AC_INIT([parallel], [20110422], [bug-parallel@gnu.org])
AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AC_CONFIG_HEADERS([config.h]) AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([ AC_CONFIG_FILES([

View file

@ -131,7 +131,8 @@ https://savannah.gnu.org/news/?group=parallel
# Only 350 requests per hour: 1 tweet = 3 requests # Only 350 requests per hour: 1 tweet = 3 requests
# 119 tweets/hour = sleep 30 per tweet (40 to be safe) # 119 tweets/hour = sleep 30 per tweet (40 to be safe)
cat twitters | parallel -j1 sleep 40\; echo @{} You have earlier shown interest in GNU Parallel. \ cat twitters | grep -iv removed |
parallel -j1 sleep 40\; echo @{} You have earlier shown interest in GNU Parallel. \
A new version is out: http://nd.gd/2j '|' ttytter A new version is out: http://nd.gd/2j '|' ttytter
== Send announce == == Send announce ==
@ -139,6 +140,9 @@ A new version is out: http://nd.gd/2j '|' ttytter
http://groups.google.com/group/comp.unix.shell/post http://groups.google.com/group/comp.unix.shell/post
Newsgroups: comp.unix.shell,comp.unix.admin Newsgroups: comp.unix.shell,comp.unix.admin
https://lists.gnu.org/mailman/admindb/bug-parallel
https://lists.gnu.org/mailman/admindb/parallel
<<<<< <<<<<
from:tange@gnu.org from:tange@gnu.org
to:parallel@gnu.org, bug-parallel@gnu.org, info-gnu@gnu.org, bug-directory@gnu.org to:parallel@gnu.org, bug-parallel@gnu.org, info-gnu@gnu.org, bug-directory@gnu.org
@ -161,24 +165,32 @@ available for download at: http://ftp.gnu.org/gnu/parallel/
New in this release: New in this release:
? Part of Fedora? * {#} now works an alias for $PARALLEL_PID.
? Part of Debian?
? Part of Ubuntu? * --eta now estimates way more accurately.
* CPU detection code for AIX thanks to Christian Netrwal. * CPU detection code for AIX thanks to Christian Netrwal.
* --joblog contains exitcode.
* Thanks to Ævar Arnfjörð Bjarmason for reading my code. * Thanks to Ævar Arnfjörð Bjarmason for reading my code.
* GNU Parallel was presented at: * GNU Parallel was presented at:
- LUGA, Augsburg, 2011-03-26, http://www.luga.de/Aktionen/LIT-2011/Programm - LUGA, Augsburg, 2011-03-26, http://www.luga.de/Aktionen/LIT-2011/Programm
- OSAA.dk, Aarhus, 2011-04-12 - OSAA.dk, Aarhus, 2011-04-12
* Blog entry in Japanese. Thanks to Riywo.
http://blog.riywo.com/2011/04/19/022802
* Example of how to use GNU Parallel on PBS clusters. Thanks to Andrew * Example of how to use GNU Parallel on PBS clusters. Thanks to Andrew
J Dolgert: http://web0.tc.cornell.edu/wiki/index.php?title=Gnu_Parallel J Dolgert: http://web0.tc.cornell.edu/wiki/index.php?title=Gnu_Parallel
* First example of using GNU Parallel in Hebrew. Thanks to omry. * First example of using GNU Parallel in Hebrew. Thanks to omry.
http://nd.gd/jk http://nd.gd/jk
* Intro video got past 10000 hits.
http://www.youtube.com/watch?v=OpaiGYxkSuQ
* Bug fixes and man page updates. * Bug fixes and man page updates.

View file

@ -1,4 +1,4 @@
parallel (20100906-1) unstable; urgency=low parallel (20110422-1) unstable; urgency=low
* New upstream version * New upstream version

View file

@ -2,6 +2,7 @@ all:
cd ../debian/ && make cd ../debian/ && make
cp ../debian/parallel_*.dsc ../debian/parallel_*.tar.gz home\:tange/parallel/ cp ../debian/parallel_*.dsc ../debian/parallel_*.tar.gz home\:tange/parallel/
cp `ls ../../parallel-*.tar.bz2|tail -n1` home\:tange/parallel/ cp `ls ../../parallel-*.tar.bz2|tail -n1` home\:tange/parallel/
cd home\:tange/parallel/ && osc up && osc add *.dsc *.tar.gz *.tar.bz2 || true cd home\:tange/parallel/ && osc up
cd home\:tange/parallel/ && osc up && osc *.spec || true cd home\:tange/parallel/ && osc add *.dsc *.tar.gz *.tar.bz2 && echo Src added OK || true
cd home\:tange/parallel/ && osc add *.spec && echo spec added OK || true
cd home\:tange/parallel/ && osc ci cd home\:tange/parallel/ && osc ci

View file

@ -236,7 +236,7 @@ B<parallel>(1), B<nice>(1)
use strict; use strict;
use Getopt::Long; use Getopt::Long;
$Global::progname="niceload"; $Global::progname="niceload";
$Global::version = 20110322; $Global::version = 20110422;
Getopt::Long::Configure("bundling","require_order"); Getopt::Long::Configure("bundling","require_order");
get_options_from_array(\@ARGV) || die_usage(); get_options_from_array(\@ARGV) || die_usage();
if($::opt_version) { if($::opt_version) {

View file

@ -389,7 +389,7 @@ sub get_options_from_array {
sub parse_options { sub parse_options {
# Returns: N/A # Returns: N/A
# Defaults: # Defaults:
$Global::version = 20110408; $Global::version = 20110422;
$Global::progname = 'parallel'; $Global::progname = 'parallel';
$Global::infinity = 2**31; $Global::infinity = 2**31;
$Global::debug = 0; $Global::debug = 0;
@ -2155,6 +2155,7 @@ sub ncpus {
} else { } else {
$ncpu = qx(echo|$sshcmd $serverlogin parallel --number-of-cores); $ncpu = qx(echo|$sshcmd $serverlogin parallel --number-of-cores);
} }
chomp $ncpu;
if($ncpu =~ /^\s*[0-9]+\s*$/s) { if($ncpu =~ /^\s*[0-9]+\s*$/s) {
$self->{'ncpus'} = $ncpu; $self->{'ncpus'} = $ncpu;
} else { } else {

View file

@ -65,6 +65,10 @@ Command to execute. If I<command> or the following arguments contain
If I<command> is given, GNU B<parallel> will behave similar to B<xargs>. If If I<command> is given, GNU B<parallel> will behave similar to B<xargs>. If
I<command> is not given GNU B<parallel> will behave similar to B<cat | sh>. I<command> is not given GNU B<parallel> will behave similar to B<cat | sh>.
The I<command> must be an executable, a script or a composed command: an
alias or a function will not work (see why
http://www.perlmonks.org/index.pl?node_id=484296).
=item B<{}> =item B<{}>
@ -2502,10 +2506,8 @@ B<prll> is also a tool for running jobs in parallel. It does not
support running jobs on remote computers. support running jobs on remote computers.
B<prll> encourages using BASH aliases and BASH functions instead of B<prll> encourages using BASH aliases and BASH functions instead of
scripts. GNU B<parallel> can use the aliases and functions that are scripts. GNU B<parallel> will never support running aliases and
defined at login (using: B<parallel bash -ci myalias>) but it will functions (see why
never support running aliases and functions that are defined defined
later (see why
http://www.perlmonks.org/index.pl?node_id=484296). However, scripts or http://www.perlmonks.org/index.pl?node_id=484296). However, scripts or
composed commands work just fine. composed commands work just fine.
@ -2699,6 +2701,22 @@ allowed command length. It only uses a little more than half of what
it could. This affects -X and -m. If this becomes a real problem for it could. This affects -X and -m. If this becomes a real problem for
you file a bug-report. you file a bug-report.
=head2 Aliases and functions do not work
If you get:
B<Can't exec "I<command>": No such file or directory>
or:
B<open3: exec of by I<command> failed>
it may be because I<command> is not known, but it could also be
because I<command> is an alias or a function. GNU B<parallel> will
never support running aliases and functions (see why
http://www.perlmonks.org/index.pl?node_id=484296), so change your
alias or function to a script.
=head1 REPORTING BUGS =head1 REPORTING BUGS

View file

@ -536,7 +536,7 @@ $Global::Initfile && unlink $Global::Initfile;
exit ($err); exit ($err);
sub parse_options { sub parse_options {
$Global::version = 20110322; $Global::version = 20110422;
$Global::progname = 'sql'; $Global::progname = 'sql';
# This must be done first as this may exec myself # This must be done first as this may exec myself