From 2c3fd52197c2d3a01b33616366e376923f240cc9 Mon Sep 17 00:00:00 2001 From: Ole Tange Date: Fri, 9 Jan 2015 00:00:21 +0100 Subject: [PATCH] Released as 20150109alpha. --- README | 12 +++++------ configure | 20 +++++++++---------- configure.ac | 2 +- doc/release_new_version | 14 +++++++++---- src/niceload | 2 +- src/parallel | 2 +- src/sql | 2 +- testsuite/tests-to-run/niceload01.sh | 8 ++++---- testsuite/tests-to-run/parallel-local-ssh3.sh | 8 ++++---- testsuite/wanted-results/niceload01 | 8 ++++---- testsuite/wanted-results/parallel-local-ssh3 | 8 ++++---- testsuite/wanted-results/parallel-local4 | 3 --- 12 files changed, 46 insertions(+), 43 deletions(-) diff --git a/README b/README index 4f633e42..da6e3509 100644 --- a/README +++ b/README @@ -40,9 +40,9 @@ document. Full installation of GNU Parallel is as simple as: - wget http://ftpmirror.gnu.org/parallel/parallel-20141122.tar.bz2 - bzip2 -dc parallel-20141122.tar.bz2 | tar xvf - - cd parallel-20141122 + wget http://ftpmirror.gnu.org/parallel/parallel-20150109.tar.bz2 + bzip2 -dc parallel-20150109.tar.bz2 | tar xvf - + cd parallel-20150109 ./configure && make && make install @@ -51,9 +51,9 @@ Full installation of GNU Parallel is as simple as: If you are not root you can add ~/bin to your path and install in ~/bin and ~/share: - wget http://ftpmirror.gnu.org/parallel/parallel-20141122.tar.bz2 - bzip2 -dc parallel-20141122.tar.bz2 | tar xvf - - cd parallel-20141122 + wget http://ftpmirror.gnu.org/parallel/parallel-20150109.tar.bz2 + bzip2 -dc parallel-20150109.tar.bz2 | tar xvf - + cd parallel-20150109 ./configure --prefix=$HOME && make && make install Or if your system lacks 'make' you can simply copy src/parallel diff --git a/configure b/configure index c907d532..545b5442 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for parallel 20141122. +# Generated by GNU Autoconf 2.69 for parallel 20150109. # # Report bugs to . # @@ -579,8 +579,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='parallel' PACKAGE_TARNAME='parallel' -PACKAGE_VERSION='20141122' -PACKAGE_STRING='parallel 20141122' +PACKAGE_VERSION='20150109' +PACKAGE_STRING='parallel 20150109' PACKAGE_BUGREPORT='bug-parallel@gnu.org' PACKAGE_URL='' @@ -1203,7 +1203,7 @@ if test "$ac_init_help" = "long"; then # 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. cat <<_ACEOF -\`configure' configures parallel 20141122 to adapt to many kinds of systems. +\`configure' configures parallel 20150109 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1269,7 +1269,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of parallel 20141122:";; + short | recursive ) echo "Configuration of parallel 20150109:";; esac cat <<\_ACEOF @@ -1345,7 +1345,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -parallel configure 20141122 +parallel configure 20150109 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1362,7 +1362,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by parallel $as_me 20141122, which was +It was created by parallel $as_me 20150109, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2225,7 +2225,7 @@ fi # Define the identity of the package. PACKAGE='parallel' - VERSION='20141122' + VERSION='20150109' cat >>confdefs.h <<_ACEOF @@ -2867,7 +2867,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by parallel $as_me 20141122, which was +This file was extended by parallel $as_me 20150109, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -2929,7 +2929,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -parallel config.status 20141122 +parallel config.status 20150109 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index 7db1d9bb..5aff40c3 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([parallel], [20141122], [bug-parallel@gnu.org]) +AC_INIT([parallel], [20150109], [bug-parallel@gnu.org]) AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_FILES([ diff --git a/doc/release_new_version b/doc/release_new_version index aa0c63f5..58911c61 100644 --- a/doc/release_new_version +++ b/doc/release_new_version @@ -4,7 +4,7 @@ Check that documentation is updated (compare to web): -Fixet for 20141022 +Fixet for 20141122 git diff last-release-commit Unmodified beta since last version => production Unmodified alpha since last version => beta @@ -226,9 +226,9 @@ cc:Tim Cuthbertson , Ryoichiro Suzuki , Jesse Alama -Subject: GNU Parallel 20150122 ('Manila SQ8501') released +Subject: GNU Parallel 20150122 ('Manila QZ8501') released -GNU Parallel 20150122 ('Manila SQ8501') has been released. It is available for download at: http://ftp.gnu.org/gnu/parallel/ +GNU Parallel 20150122 ('Hebdo Manila QZ8501') has been released. It is available for download at: http://ftp.gnu.org/gnu/parallel/ Haiku of the month: @@ -238,7 +238,9 @@ New in this release: * Remote jobs now sends stderr (standard error) to stderr (standard error) instead of stdout (standard output) -* Remote execution is now packed using hex encoded bzip2. That means that big environments (app. 250 KB) can be transferred. +* Remote execution is now packed using hex encoded bzip2. That means that big environments (app. 250 KB) can be transferred. This change makes remote execution alpha quality. + +* --semaphoretimeout now takes a negative value. This means give up if the semaphore is not gotten within the timeout. * A semibig refactoring of big functions. All non-trivial functions are now less than 100 lines. The refactoring makes this release beta quality. @@ -254,6 +256,10 @@ New in this release: * GNU Parallel on OSX and Linux https://darknightelf.wordpress.com/2015/01/01/gnu-parallel-on-osx/ +* How to build gnu parallel from source on Ubuntu PC? http://blog.ovidiuparvu.com/build-gnu-parallel-source-ubuntu-pc/ + +* From SRA Project to FastQ http://danielecook.com/sra-project-fastq/ + * コマンドを並列に実行するGNU parallelがとても便利 http://bicycle1885.hatenablog.com/entry/2014/08/10/143612 * Bug fixes and man page updates. diff --git a/src/niceload b/src/niceload index 1785914e..d75fb81e 100755 --- a/src/niceload +++ b/src/niceload @@ -24,7 +24,7 @@ use strict; use Getopt::Long; $Global::progname="niceload"; -$Global::version = 20141122; +$Global::version = 20150109; Getopt::Long::Configure("bundling","require_order"); get_options_from_array(\@ARGV) || die_usage(); if($opt::version) { diff --git a/src/parallel b/src/parallel index f81bc635..0a923ce9 100755 --- a/src/parallel +++ b/src/parallel @@ -949,7 +949,7 @@ sub parse_options { sub init_globals { # Defaults: - $Global::version = 20150106; + $Global::version = 20150109; $Global::progname = 'parallel'; $Global::infinity = 2**31; $Global::debug = 0; diff --git a/src/sql b/src/sql index 25327353..01291480 100755 --- a/src/sql +++ b/src/sql @@ -566,7 +566,7 @@ $Global::Initfile && unlink $Global::Initfile; exit ($err); sub parse_options { - $Global::version = 20141122; + $Global::version = 20150109; $Global::progname = 'sql'; # This must be done first as this may exec myself diff --git a/testsuite/tests-to-run/niceload01.sh b/testsuite/tests-to-run/niceload01.sh index e2917bc4..a1d03f36 100755 --- a/testsuite/tests-to-run/niceload01.sh +++ b/testsuite/tests-to-run/niceload01.sh @@ -34,13 +34,13 @@ EOF # force load > 10 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' | sed -e 's/;$/; /;s/$SERVER1/'$SERVER1'/;s/$SERVER2/'$SERVER2'/' | stdout parallel -vj0 -k --joblog /tmp/jl-`basename $0` -L1 +cat <<'EOF' | sed -e 's/;$/; /;s/$SERVER1/'$SERVER1'/;s/$SERVER2/'$SERVER2'/' | stdout parallel -vj0 --joblog /tmp/jl-`basename $0` -L1 echo '### -H and --hard' - niceload -H -l 9.9 uptime | grep ':.[1-9][0-9].[0-9][0-9],' || echo OK-l9.9 - niceload --hard -l 9 uptime | grep ':.[1-9][0-9].[0-9][0-9],' || echo OK-l9 + niceload -H -l 9.9 uptime | grep ':.[1-9][0-9].[0-9][0-9],' || echo OK-load below 9.9 + niceload --hard -l 9 uptime | grep ':.[1-9][0-9].[0-9][0-9],' || echo OK-load below 10 EOF -cat <<'EOF' | sed -e 's/;$/; /;s/$SERVER1/'$SERVER1'/;s/$SERVER2/'$SERVER2'/' | stdout parallel -vj0 -k --joblog /tmp/jl-`basename $0` -L1 +cat <<'EOF' | sed -e 's/;$/; /;s/$SERVER1/'$SERVER1'/;s/$SERVER2/'$SERVER2'/' | stdout parallel -vj0 --joblog /tmp/jl-`basename $0` -L1 echo '### -f and --factor' niceload -H --factor 10 -l6 echo factor 10 finish last niceload -H -f 0.01 -l6 echo f 0.1 finish first diff --git a/testsuite/tests-to-run/parallel-local-ssh3.sh b/testsuite/tests-to-run/parallel-local-ssh3.sh index 284fa436..4d5e4dd9 100644 --- a/testsuite/tests-to-run/parallel-local-ssh3.sh +++ b/testsuite/tests-to-run/parallel-local-ssh3.sh @@ -3,16 +3,16 @@ # SSH only allowed to localhost/lo cat <<'EOF' | sed -e s/\$SERVER1/$SERVER1/\;s/\$SERVER2/$SERVER2/ | parallel -vj2 -k --joblog /tmp/jl-`basename $0` -L1 echo '### --hostgroup force ncpu' - parallel --delay 0.1 --hgrp -S @g1/1/parallel@lo -S @g2/3/lo whoami\;sleep 0.{} ::: {1..8} | sort + parallel --delay 0.1 --hgrp -S @g1/1/parallel@lo -S @g2/3/lo whoami\;sleep 0.2{} ::: {1..8} | sort echo '### --hostgroup two group arg' - parallel -k --delay 0.1 --hgrp -S @g1/1/parallel@lo -S @g2/3/lo whoami\;sleep 0.{} ::: {1..8}@g1+g2 | sort + parallel -k --sshdelay 0.1 --hgrp -S @g1/1/parallel@lo -S @g2/3/lo whoami\;sleep 0.3{} ::: {1..8}@g1+g2 | sort echo '### --hostgroup one group arg' - parallel --delay 0.1 --hgrp -S @g1/1/parallel@lo -S @g2/3/lo whoami\;sleep 0.{} ::: {1..8}@g2 + parallel --delay 0.1 --hgrp -S @g1/1/parallel@lo -S @g2/3/lo whoami\;sleep 0.2{} ::: {1..8}@g2 echo '### --hostgroup multiple group arg + unused group' - parallel --delay 0.1 --hgrp -S @g1/1/parallel@lo -S @g1/3/lo -S @g3/100/tcsh@lo whoami\;sleep 0.{} ::: {1..8}@g1+g2 | sort + parallel --delay 0.1 --hgrp -S @g1/1/parallel@lo -S @g1/3/lo -S @g3/100/tcsh@lo whoami\;sleep 0.2{} ::: {1..8}@g1+g2 | sort echo '### --hostgroup two groups @' parallel -k --hgrp -S @g1/parallel@lo -S @g2/lo --tag whoami\;echo ::: parallel@g1 tange@g2 diff --git a/testsuite/wanted-results/niceload01 b/testsuite/wanted-results/niceload01 index 3962f0eb..bbcb8aa4 100644 --- a/testsuite/wanted-results/niceload01 +++ b/testsuite/wanted-results/niceload01 @@ -15,10 +15,10 @@ echo '### -N and --noswap. Must give 0' --noswap 0 echo '### -H and --hard' ### -H and --hard - niceload -H -l 9.9 uptime | grep ':.[1-9][0-9].[0-9][0-9],' || echo OK-l9.9 -OK-l9.9 - niceload --hard -l 9 uptime | grep ':.[1-9][0-9].[0-9][0-9],' || echo OK-l9 -OK-l9 + niceload -H -l 9.9 uptime | grep ':.[1-9][0-9].[0-9][0-9],' || echo OK-load below 9.9 +OK-load below 9.9 + niceload --hard -l 9 uptime | grep ':.[1-9][0-9].[0-9][0-9],' || echo OK-load below 10 +OK-load below 10 echo '### -f and --factor' ### -f and --factor niceload -H -f 0.01 -l6 echo f 0.1 finish first diff --git a/testsuite/wanted-results/parallel-local-ssh3 b/testsuite/wanted-results/parallel-local-ssh3 index 868b4366..2a7db90a 100644 --- a/testsuite/wanted-results/parallel-local-ssh3 +++ b/testsuite/wanted-results/parallel-local-ssh3 @@ -1,6 +1,6 @@ echo '### --hostgroup force ncpu' ### --hostgroup force ncpu - parallel --delay 0.1 --hgrp -S @g1/1/parallel@lo -S @g2/3/lo whoami\;sleep 0.{} ::: {1..8} | sort + parallel --delay 0.1 --hgrp -S @g1/1/parallel@lo -S @g2/3/lo whoami\;sleep 0.2{} ::: {1..8} | sort parallel parallel tange @@ -11,7 +11,7 @@ tange tange echo '### --hostgroup two group arg' ### --hostgroup two group arg - parallel -k --delay 0.1 --hgrp -S @g1/1/parallel@lo -S @g2/3/lo whoami\;sleep 0.{} ::: {1..8}@g1+g2 | sort + parallel -k --sshdelay 0.1 --hgrp -S @g1/1/parallel@lo -S @g2/3/lo whoami\;sleep 0.3{} ::: {1..8}@g1+g2 | sort parallel parallel tange @@ -22,7 +22,7 @@ tange tange echo '### --hostgroup one group arg' ### --hostgroup one group arg - parallel --delay 0.1 --hgrp -S @g1/1/parallel@lo -S @g2/3/lo whoami\;sleep 0.{} ::: {1..8}@g2 + parallel --delay 0.1 --hgrp -S @g1/1/parallel@lo -S @g2/3/lo whoami\;sleep 0.2{} ::: {1..8}@g2 tange tange tange @@ -33,7 +33,7 @@ tange tange echo '### --hostgroup multiple group arg + unused group' ### --hostgroup multiple group arg + unused group - parallel --delay 0.1 --hgrp -S @g1/1/parallel@lo -S @g1/3/lo -S @g3/100/tcsh@lo whoami\;sleep 0.{} ::: {1..8}@g1+g2 | sort + parallel --delay 0.1 --hgrp -S @g1/1/parallel@lo -S @g1/3/lo -S @g3/100/tcsh@lo whoami\;sleep 0.2{} ::: {1..8}@g1+g2 | sort parallel parallel tange diff --git a/testsuite/wanted-results/parallel-local4 b/testsuite/wanted-results/parallel-local4 index 38ecf042..9ba1de73 100644 --- a/testsuite/wanted-results/parallel-local4 +++ b/testsuite/wanted-results/parallel-local4 @@ -2,9 +2,6 @@ echo '### bug #36595: silent loss of input with --pipe and --sshlogin' ### bug #36595: silent loss of input with --pipe and --sshlogin seq 10000 | xargs | parallel --pipe -S 10/localhost cat | wc 1 10000 48894 -parallel: Warning: ssh to localhost only allows for 9 simultaneous logins. -You may raise this by changing /etc/ssh/sshd_config:MaxStartups and MaxSessions on localhost. -Using only 8 connections to avoid race conditions. echo 'bug #36707: --controlmaster eats jobs' bug #36707: --controlmaster eats jobs seq 2 | parallel -k --controlmaster --sshlogin localhost echo OK{}