Released as 20230422 ('Grand Jury')

This commit is contained in:
Ole Tange 2023-04-22 22:57:46 +02:00
parent 72a55906d3
commit 3cbbc507ea
20 changed files with 90 additions and 63 deletions

17
NEWS
View file

@ -6,6 +6,23 @@ New in this release:
* Bug fixes and man page updates.
News about GNU Parallel:
* Running shell script in parallel
https://w3toppers.com/running-shell-script-in-parallel/
* Simulating climate risk scenarios for the Amazon Rainforest
https://aws.amazon.com/blogs/hpc/simulating-climate-risk-scenarios-for-the-amazon-rainforest/
* How To Use Your Entire CPU In Bash With Parallel
https://bash-prompt.net/guides/parallell-bash/
* Bash - parallel command execution
https://medium.com/linuxstories/bash-parallel-command-execution-d4bd7c7cc1d6
* 3 tips for faster batch post-pro
https://www.cfdengine.com/newsletter/142/
20230322

24
README
View file

@ -57,11 +57,11 @@ document.
Full installation of GNU Parallel is as simple as:
wget https://ftpmirror.gnu.org/parallel/parallel-20230322.tar.bz2
wget https://ftpmirror.gnu.org/parallel/parallel-20230322.tar.bz2.sig
gpg parallel-20230322.tar.bz2.sig
bzip2 -dc parallel-20230322.tar.bz2 | tar xvf -
cd parallel-20230322
wget https://ftpmirror.gnu.org/parallel/parallel-20230422.tar.bz2
wget https://ftpmirror.gnu.org/parallel/parallel-20230422.tar.bz2.sig
gpg parallel-20230422.tar.bz2.sig
bzip2 -dc parallel-20230422.tar.bz2 | tar xvf -
cd parallel-20230422
./configure && make && sudo make install
@ -70,11 +70,11 @@ 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 https://ftpmirror.gnu.org/parallel/parallel-20230322.tar.bz2
wget https://ftpmirror.gnu.org/parallel/parallel-20230322.tar.bz2.sig
gpg parallel-20230322.tar.bz2.sig
bzip2 -dc parallel-20230322.tar.bz2 | tar xvf -
cd parallel-20230322
wget https://ftpmirror.gnu.org/parallel/parallel-20230422.tar.bz2
wget https://ftpmirror.gnu.org/parallel/parallel-20230422.tar.bz2.sig
gpg parallel-20230422.tar.bz2.sig
bzip2 -dc parallel-20230422.tar.bz2 | tar xvf -
cd parallel-20230422
./configure --prefix=$HOME && make && make install
Or if your system lacks 'make' you can simply copy src/parallel
@ -122,8 +122,8 @@ will love you for it.
When using programs that use GNU Parallel to process data for
publication please cite:
Tange, O. (2023, March 22). GNU Parallel 20230322 ('Arrest Warrant').
Zenodo. https://doi.org/10.5281/zenodo.7761866
Tange, O. (2023, April 22). GNU Parallel 20230422 ('Grand Jury').
Zenodo. https://doi.org/10.5281/zenodo.7855617
Copyright (C) 2007-2022 Ole Tange, http://ole.tange.dk and Free
Software Foundation, Inc.

20
configure vendored
View file

@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.71 for parallel 20230322.
# Generated by GNU Autoconf 2.71 for parallel 20230422.
#
# Report bugs to <bug-parallel@gnu.org>.
#
@ -610,8 +610,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='parallel'
PACKAGE_TARNAME='parallel'
PACKAGE_VERSION='20230322'
PACKAGE_STRING='parallel 20230322'
PACKAGE_VERSION='20230422'
PACKAGE_STRING='parallel 20230422'
PACKAGE_BUGREPORT='bug-parallel@gnu.org'
PACKAGE_URL=''
@ -1246,7 +1246,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 20230322 to adapt to many kinds of systems.
\`configure' configures parallel 20230422 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@ -1313,7 +1313,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of parallel 20230322:";;
short | recursive ) echo "Configuration of parallel 20230422:";;
esac
cat <<\_ACEOF
@ -1390,7 +1390,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
parallel configure 20230322
parallel configure 20230422
generated by GNU Autoconf 2.71
Copyright (C) 2021 Free Software Foundation, Inc.
@ -1427,7 +1427,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 20230322, which was
It was created by parallel $as_me 20230422, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ $0$ac_configure_args_raw
@ -2379,7 +2379,7 @@ fi
# Define the identity of the package.
PACKAGE='parallel'
VERSION='20230322'
VERSION='20230422'
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@ -3026,7 +3026,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 20230322, which was
This file was extended by parallel $as_me 20230422, which was
generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@ -3090,7 +3090,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
parallel config.status 20230322
parallel config.status 20230422
configured by $0, generated by GNU Autoconf 2.71,
with options \\"\$ac_cs_config\\"

View file

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

View file

@ -4,8 +4,6 @@
Quote of the month:
parallel might be one of the best utilities out there
-- @ThePrimeagen ThePrimeagen
Recently learned how to use GNU parallel (from ChatGPT, no less!) and I've gone mad with power
-- Mark, Anthropomorphic Anuran @reject_resubmit@twitter
@ -233,6 +231,9 @@ https://negfeedback.blogspot.com/2020/05/indispensable-command-line-tools.html
=== Used ===
parallel might be one of the best utilities out there
-- @ThePrimeagen ThePrimeagen
GNU parallel is magic, half of my work uses it, to the point where they're referenced and thanked in my thesis
-- Best Catboy Key Grip @alamogordoglass@twitter

View file

@ -105,6 +105,7 @@ lbry://@GnuParallel#4/parallel-20210322.tar.bz2
. .last-doitag.txt
file_path="`pwd`/parallel-$YYYYMMDD.tar.bz2"
title="GNU Parallel $YYYYMMDD ('$SPCTAG') [stable]"
title="GNU Parallel $YYYYMMDD ('$SPCTAG')"
name="GNU-Parallel-$YYYYMMDD-$TAG"
author="Ole Tange"
license="GNU GPLv3 or later"
@ -262,28 +263,33 @@ from:tange@gnu.org
to:parallel@gnu.org, bug-parallel@gnu.org
stable-bcc: Jesse Alama <jessealama@fastmail.fm>
Subject: GNU Parallel 20230422 ('Grand Jury<<>>') released
Subject: GNU Parallel 20230422 ('Grand Jury') released
GNU Parallel 20230422 ('<<>>') has been released. It is available for download at: lbry://@GnuParallel:4
GNU Parallel 20230422 ('Grand Jury') has been released. It is available for download at: lbry://@GnuParallel:4
Quote of the month:
<<>>
parallel might be one of the best utilities out there
-- @ThePrimeagen ThePrimeagen
New in this release:
<<>>
* --jobs evaluates expression: +3*log(55)% = ncpu*1.12
* Bug fixes and man page updates.
News about GNU Parallel:
https://w3toppers.com/running-shell-script-in-parallel/
https://aws.amazon.com/blogs/hpc/simulating-climate-risk-scenarios-for-the-amazon-rainforest/
https://bash-prompt.net/guides/parallell-bash/
https://medium.com/linuxstories/bash-parallel-command-execution-d4bd7c7cc1d6
https://www.cfdengine.com/newsletter/142/
* Running shell script in parallel https://w3toppers.com/running-shell-script-in-parallel/
* Simulating climate risk scenarios for the Amazon Rainforest https://aws.amazon.com/blogs/hpc/simulating-climate-risk-scenarios-for-the-amazon-rainforest/
* How To Use Your Entire CPU In Bash With Parallel https://bash-prompt.net/guides/parallell-bash/
* Bash - parallel command execution https://medium.com/linuxstories/bash-parallel-command-execution-d4bd7c7cc1d6
* 3 tips for faster batch post-pro https://www.cfdengine.com/newsletter/142/
<<>>
GNU Parallel - For people who live life in the parallel lane.

View file

@ -1,7 +1,7 @@
<directory name="parallel" rev="360" vrev="4" srcmd5="2ac7ba4f60d5521c729371ba986b36db">
<entry name="PKGBUILD" md5="f1e9f71229d2c45e7dcf5579f11c2643" size="1246" mtime="1679526191" />
<entry name="parallel-20230322.tar.bz2" md5="7754cbb70aea7382c694aed96c56c895" size="2479654" mtime="1679526191" />
<entry name="parallel.spec" md5="b868aba8a474169049cdd5888b17c986" size="6224" mtime="1679525330" />
<entry name="parallel_20230322.dsc" md5="2f852e11d4d7e8612518786a91009b63" size="556" mtime="1679525330" />
<entry name="parallel_20230322.tar.gz" md5="41bcf589033dd9c0d990215c172d4fb0" size="2756979" mtime="1679525331" />
<directory name="parallel" rev="361" vrev="2" srcmd5="2a7d8bb12a37e2a1df51974e30fcac52">
<entry name="PKGBUILD" md5="7577ce8166ca189fa31d1f9f9dd0aec5" size="1246" mtime="1682193426" />
<entry name="parallel-20230422.tar.bz2" md5="67663e5dd2387bab6367c397b1d8303a" size="2483119" mtime="1682193427" />
<entry name="parallel.spec" md5="c67cb63ddd8b10dfa55d1e01c846a4ce" size="6224" mtime="1682193427" />
<entry name="parallel_20230422.dsc" md5="a994db64fe980a7c2e89b5c32ece2e1e" size="556" mtime="1682193427" />
<entry name="parallel_20230422.tar.gz" md5="0be0cb9baa636daed69ad91214f0c628" size="2762791" mtime="1682193428" />
</directory>

View file

@ -1,7 +1,7 @@
Summary: Shell tool for executing jobs in parallel
Name: parallel
Version: 20230322
Version: 20230422
Release: 2.1
License: GPL-3.0-or-later
Group: Productivity/File utilities

View file

@ -393,7 +393,7 @@ _parset_main() {
fi
if [ "$_parset_NAME" = "--version" ] ; then
# shellcheck disable=SC2006
echo "parset 20230323 (GNU parallel `parallel --minversion 1`)"
echo "parset 20230422 (GNU parallel `parallel --minversion 1`)"
echo "Copyright (C) 2007-2023 Ole Tange, http://ole.tange.dk and Free Software"
echo "Foundation, Inc."
echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>"

View file

@ -395,7 +395,7 @@ _parset_main() {
fi
if [ "$_parset_NAME" = "--version" ] ; then
# shellcheck disable=SC2006
echo "parset 20230323 (GNU parallel `parallel --minversion 1`)"
echo "parset 20230422 (GNU parallel `parallel --minversion 1`)"
echo "Copyright (C) 2007-2023 Ole Tange, http://ole.tange.dk and Free Software"
echo "Foundation, Inc."
echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>"

View file

@ -393,7 +393,7 @@ _parset_main() {
fi
if [ "$_parset_NAME" = "--version" ] ; then
# shellcheck disable=SC2006
echo "parset 20230323 (GNU parallel `parallel --minversion 1`)"
echo "parset 20230422 (GNU parallel `parallel --minversion 1`)"
echo "Copyright (C) 2007-2023 Ole Tange, http://ole.tange.dk and Free Software"
echo "Foundation, Inc."
echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>"

View file

@ -376,7 +376,7 @@ _parset_main() {
fi
if [ "$_parset_NAME" = "--version" ] ; then
# shellcheck disable=SC2006
echo "parset 20230323 (GNU parallel `parallel --minversion 1`)"
echo "parset 20230422 (GNU parallel `parallel --minversion 1`)"
echo "Copyright (C) 2007-2023 Ole Tange, http://ole.tange.dk and Free Software"
echo "Foundation, Inc."
echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>"

View file

@ -378,7 +378,7 @@ _parset_main() {
fi
if [ "$_parset_NAME" = "--version" ] ; then
# shellcheck disable=SC2006
echo "parset 20230323 (GNU parallel `parallel --minversion 1`)"
echo "parset 20230422 (GNU parallel `parallel --minversion 1`)"
echo "Copyright (C) 2007-2023 Ole Tange, http://ole.tange.dk and Free Software"
echo "Foundation, Inc."
echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>"

View file

@ -393,7 +393,7 @@ _parset_main() {
fi
if [ "$_parset_NAME" = "--version" ] ; then
# shellcheck disable=SC2006
echo "parset 20230323 (GNU parallel `parallel --minversion 1`)"
echo "parset 20230422 (GNU parallel `parallel --minversion 1`)"
echo "Copyright (C) 2007-2023 Ole Tange, http://ole.tange.dk and Free Software"
echo "Foundation, Inc."
echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>"

View file

@ -368,7 +368,7 @@ _parset_main() {
fi
if [ "$_parset_NAME" = "--version" ] ; then
# shellcheck disable=SC2006
echo "parset 20230323 (GNU parallel `parallel --minversion 1`)"
echo "parset 20230422 (GNU parallel `parallel --minversion 1`)"
echo "Copyright (C) 2007-2023 Ole Tange, http://ole.tange.dk and Free Software"
echo "Foundation, Inc."
echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>"

View file

@ -26,7 +26,7 @@
use strict;
use Getopt::Long;
$Global::progname="niceload";
$Global::version = 20230323;
$Global::version = 20230422;
Getopt::Long::Configure("bundling","require_order");
get_options_from_array(\@ARGV) || die_usage();
if($opt::version) {

View file

@ -2762,7 +2762,7 @@ sub check_invalid_option_combinations() {
sub init_globals() {
# Defaults:
$Global::version = 20230323;
$Global::version = 20230422;
$Global::progname = 'parallel';
$::name = "GNU Parallel";
$Global::infinity = 2**31;
@ -5711,8 +5711,8 @@ sub usage() {
"If you use programs that use GNU Parallel to process data for an article in a",
"scientific publication, please cite:",
"",
" Tange, O. (2023, March 22). GNU Parallel 20230322 ('Arrest Warrant').",
" Zenodo. https://doi.org/10.5281/zenodo.7761866",
" Tange, O. (2023, April 22). GNU Parallel 20230422 ('Grand Jury').",
" Zenodo. https://doi.org/10.5281/zenodo.7855617",
"",
# Before changing these lines, please read
# https://www.gnu.org/software/parallel/parallel_design.html#citation-notice
@ -5744,8 +5744,8 @@ sub citation_notice() {
"If you use programs that use GNU Parallel to process data for an article in a",
"scientific publication, please cite:",
"",
" Tange, O. (2023, March 22). GNU Parallel 20230322 ('Arrest Warrant').",
" Zenodo. https://doi.org/10.5281/zenodo.7761866",
" Tange, O. (2023, April 22). GNU Parallel 20230422 ('Grand Jury').",
" Zenodo. https://doi.org/10.5281/zenodo.7855617",
"",
# Before changing these line, please read
# https://www.gnu.org/software/parallel/parallel_design.html#citation-notice and
@ -5872,20 +5872,20 @@ sub citation() {
"If you use programs that use GNU Parallel to process data for an article in a",
"scientific publication, please cite:",
"",
"\@software{tange_2023_7761866,",
"\@software{tange_2023_7855617,",
" author = {Tange, Ole},",
" title = {GNU Parallel 20230322 ('Arrest Warrant')},",
" month = Mar,",
" title = {GNU Parallel 20230422 ('Grand Jury')},",
" month = Apr,",
" year = 2023,",
" note = {{GNU Parallel is a general parallelizer to run",
" multiple serial command line programs in parallel",
" without changing them.}},",
" publisher = {Zenodo},",
" doi = {10.5281/zenodo.7761866},",
" url = {https://doi.org/10.5281/zenodo.7761866}",
" doi = {10.5281/zenodo.7855617},",
" url = {https://doi.org/10.5281/zenodo.7855617}",
"}",
"",
"(Feel free to use \\nocite{tange_2023_7761866})",
"(Feel free to use \\nocite{tange_2023_7855617})",
"",
# Before changing these lines, please read
# https://www.gnu.org/software/parallel/parallel_design.html#citation-notice and

View file

@ -137,7 +137,7 @@ GetOptions(
"help" => \$opt::dummy,
) || exit(255);
$Global::progname = ($0 =~ m:(^|/)([^/]+)$:)[1];
$Global::version = 20230323;
$Global::version = 20230422;
if($opt::version) { version(); exit 0; }
# Remove -D and --parallel=N
my @s = (grep { ! /^-D$|^--parallel=\S+$/ }

View file

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

View file

@ -9,6 +9,8 @@ TMPDIR=${TMPDIR:-/tmp}
mkdir -p $TMPDIR
# Jobs that eat more than 2 GB RAM
echo "dir $testsuitedir"
[ -e "$testsuitedir" ] && cd "$testsuitedir"
gendata() {
# Generate a lot of text data fast
yes "`seq 3000`" | head -c $1
@ -18,6 +20,7 @@ export -f gendata
perl5.14parallel() {
# Run GNU Parallel under perl 5.14 which does not support 64-bit very well
# Remove setpgrp_func because 5.14 may use another func
pwd
rm -f ~/.parallel/tmp/sshlogin/*/setpgrp_func
PATH=input-files/perl-v5.14.2:$PATH
PERL5LIB=input-files/perl-v5.14.2/lib input-files/perl-v5.14.2/perl `which parallel` "$@"