Released as 20231022 ('Al-Aqsa Deluge')

This commit is contained in:
Ole Tange 2023-10-16 13:47:02 +02:00
parent b8647a2c46
commit 6554437a72
36 changed files with 332 additions and 153 deletions

15
NEWS
View file

@ -1,3 +1,18 @@
20231022
New in this release:
* Bug fixes and man page updates.
News about GNU Parallel:
* Resume long parallel jobs
https://ginolhac.github.io/posts/2023-10-02_resume-parallel/index.html
* Efficiency and Speed with GNU Parallel
https://dev.to/0xog_pg/efficiency-and-speed-with-gnu-parallel-loo
20230922 20230922
New in this release: New in this release:

24
README
View file

@ -57,11 +57,11 @@ document.
Full installation of GNU Parallel is as simple as: Full installation of GNU Parallel is as simple as:
wget https://ftpmirror.gnu.org/parallel/parallel-20230922.tar.bz2 wget https://ftpmirror.gnu.org/parallel/parallel-20231022.tar.bz2
wget https://ftpmirror.gnu.org/parallel/parallel-20230922.tar.bz2.sig wget https://ftpmirror.gnu.org/parallel/parallel-20231022.tar.bz2.sig
gpg parallel-20230922.tar.bz2.sig gpg parallel-20231022.tar.bz2.sig
bzip2 -dc parallel-20230922.tar.bz2 | tar xvf - bzip2 -dc parallel-20231022.tar.bz2 | tar xvf -
cd parallel-20230922 cd parallel-20231022
./configure && make && sudo make install ./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 If you are not root you can add ~/bin to your path and install in
~/bin and ~/share: ~/bin and ~/share:
wget https://ftpmirror.gnu.org/parallel/parallel-20230922.tar.bz2 wget https://ftpmirror.gnu.org/parallel/parallel-20231022.tar.bz2
wget https://ftpmirror.gnu.org/parallel/parallel-20230922.tar.bz2.sig wget https://ftpmirror.gnu.org/parallel/parallel-20231022.tar.bz2.sig
gpg parallel-20230922.tar.bz2.sig gpg parallel-20231022.tar.bz2.sig
bzip2 -dc parallel-20230922.tar.bz2 | tar xvf - bzip2 -dc parallel-20231022.tar.bz2 | tar xvf -
cd parallel-20230922 cd parallel-20231022
./configure --prefix=$HOME && make && make install ./configure --prefix=$HOME && make && make install
Or if your system lacks 'make' you can simply copy src/parallel 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 When using programs that use GNU Parallel to process data for
publication please cite: publication please cite:
Tange, O. (2023, September 22). GNU Parallel 20230922 ('Derna'). Tange, O. (2023, October 22). GNU Parallel 20231022 ('Al-Aqsa Deluge').
Zenodo. https://doi.org/10.5281/zenodo.8374296 Zenodo. https://doi.org/10.5281/zenodo.10035562
Copyright (C) 2007-2022 Ole Tange, http://ole.tange.dk and Free Copyright (C) 2007-2022 Ole Tange, http://ole.tange.dk and Free
Software Foundation, Inc. Software Foundation, Inc.

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.71 for parallel 20230922. # Generated by GNU Autoconf 2.71 for parallel 20231022.
# #
# Report bugs to <bug-parallel@gnu.org>. # Report bugs to <bug-parallel@gnu.org>.
# #
@ -610,8 +610,8 @@ MAKEFLAGS=
# Identity of this package. # Identity of this package.
PACKAGE_NAME='parallel' PACKAGE_NAME='parallel'
PACKAGE_TARNAME='parallel' PACKAGE_TARNAME='parallel'
PACKAGE_VERSION='20230922' PACKAGE_VERSION='20231022'
PACKAGE_STRING='parallel 20230922' PACKAGE_STRING='parallel 20231022'
PACKAGE_BUGREPORT='bug-parallel@gnu.org' PACKAGE_BUGREPORT='bug-parallel@gnu.org'
PACKAGE_URL='' 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. # 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 20230922 to adapt to many kinds of systems. \`configure' configures parallel 20231022 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]... Usage: $0 [OPTION]... [VAR=VALUE]...
@ -1313,7 +1313,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 20230922:";; short | recursive ) echo "Configuration of parallel 20231022:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
@ -1390,7 +1390,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 20230922 parallel configure 20231022
generated by GNU Autoconf 2.71 generated by GNU Autoconf 2.71
Copyright (C) 2021 Free Software Foundation, Inc. Copyright (C) 2021 Free Software Foundation, Inc.
@ -1427,7 +1427,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 20230922, which was It was created by parallel $as_me 20231022, which was
generated by GNU Autoconf 2.71. Invocation command line was generated by GNU Autoconf 2.71. Invocation command line was
$ $0$ac_configure_args_raw $ $0$ac_configure_args_raw
@ -2379,7 +2379,7 @@ fi
# Define the identity of the package. # Define the identity of the package.
PACKAGE='parallel' PACKAGE='parallel'
VERSION='20230922' VERSION='20231022'
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h 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 # 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 20230922, which was This file was extended by parallel $as_me 20231022, which was
generated by GNU Autoconf 2.71. Invocation command line was generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES = $CONFIG_FILES 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 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped' ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\ ac_cs_version="\\
parallel config.status 20230922 parallel config.status 20231022
configured by $0, generated by GNU Autoconf 2.71, configured by $0, generated by GNU Autoconf 2.71,
with options \\"\$ac_cs_config\\" with options \\"\$ac_cs_config\\"

View file

@ -1,4 +1,4 @@
AC_INIT([parallel],[20230922],[bug-parallel@gnu.org]) AC_INIT([parallel],[20231022],[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

@ -7,10 +7,6 @@ Quote of the month:
GNU parallel ftw GNU parallel ftw
-- hostux.social/@rmpr @_paulmairo@twitter -- hostux.social/@rmpr @_paulmairo@twitter
Love to make a dual processor workstation absolutely whir running dozens of analysis scripts at once
-- Best Catboy Key Grip @alamogordoglass@twitter
--line-buffer, a flag --line-buffer, a flag
parallel, now more precise parallel, now more precise
Output is in sync Output is in sync
@ -219,6 +215,9 @@ https://negfeedback.blogspot.com/2020/05/indispensable-command-line-tools.html
=== Used === === Used ===
Love to make a dual processor workstation absolutely whir running dozens of analysis scripts at once
-- Best Catboy Key Grip @alamogordoglass@twitter
GNU parallel is your friend. Unleash your cores! #GNU GNU parallel is your friend. Unleash your cores! #GNU
-- Blake L @BlakeDL@twitter -- Blake L @BlakeDL@twitter

View file

@ -24,22 +24,32 @@ With the same things that goes in the announce mail
Start termux on Android Start termux on Android
Start: wssh mac ping fi.dk Start: wssh mac ping fi.dk
niceload --prg firefox & niceload --prg firefox &
cd testsuite; make mem; make polar; make long; make short cd testsuite;
# With 23 GB RAM free this takes 3m43s
make mem;
make polar;
# Estimated time: 13m
make long
# Estimated time: 42m
make short
== Update version == == Update version ==
https://zenodo.org/deposit/new https://zenodo.org/deposit/new
(*) Software Do you already have a DOI for this upload? No
(Reserve DOI) (Reserve DOI)
Resource type: Software
GNU Parallel 20xxxx22 ('Xxxx') GNU Parallel 20xxxx22 ('Xxxx')
Add creator: Person
Tange, Ole Tange, Ole
https://orcid.org/0000-0002-6345-1437 https://orcid.org/0000-0002-6345-1437
Role: Contact person
Description Description
GNU Parallel is a general parallelizer to run multiple serial command line programs in parallel without changing them. GNU Parallel is a general parallelizer to run multiple serial command line programs in parallel without changing them.
License: License:
gpl v3 gpl
[Save] [Save]
@ -79,7 +89,7 @@ make alphaupload
cd ~/privat/parallel/packager/obs cd ~/privat/parallel/packager/obs
find home-tange/parallel/* -type f | find home-tange/parallel/* -type f |
grep -Ev '(PKGBUILD|parallel.spec)' | grep -Ev '(PKGBUILD|parallel.spec|Makefile)' |
parallel -j1 'osc rm {} || rm {}' parallel -j1 'osc rm {} || rm {}'
# This should not create new files # This should not create new files
osc up home-tange/parallel/ osc up home-tange/parallel/
@ -264,24 +274,24 @@ from:tange@gnu.org
to:parallel@gnu.org, bug-parallel@gnu.org to:parallel@gnu.org, bug-parallel@gnu.org
stable-bcc: Jesse Alama <jessealama@fastmail.fm> stable-bcc: Jesse Alama <jessealama@fastmail.fm>
Subject: GNU Parallel 20230922 ('Derna') released [stable] Subject: GNU Parallel 20231022 ('Al-Aqsa Deluge') released [stable]
GNU Parallel 20230922 ('Derna') has been released. It is available for download at: lbry://@GnuParallel:4 GNU Parallel 20231022 ('Al-Aqsa Deluge') has been released. It is available for download at: lbry://@GnuParallel:4
Quote of the month: Quote of the month:
Parallel is so damn good! Youve got to use it. Love to make a dual processor workstation absolutely whir running dozens of analysis scripts at once
-- @ThePrimeTimeagen@youtube.com -- Best Catboy Key Grip @alamogordoglass@twitter
New in this release: New in this release:
* Bug fixes and man page updates. * Bug fixes and man page updates.
News about GNU Parallel: News about GNU Parallel:
* This CLI Tool is AMAZING | Prime Reacts https://www.youtube.com/watch?v=ry49BZA-tgg * Resume long parallel jobs https://ginolhac.github.io/posts/2023-10-02_resume-parallel/index.html
* New Data Engineering Stack - GNU parallel https://www.linkedin.com/feed/update/urn:li:activity:7100509073149743104?updateEntityUrn=urn%3Ali%3Afs_feedUpdate%3A%28V2%2Curn%3Ali%3Aactivity%3A7100509073149743104%29 * Efficiency and Speed with GNU Parallel https://dev.to/0xog_pg/efficiency-and-speed-with-gnu-parallel-loo
GNU Parallel - For people who live life in the parallel lane. GNU Parallel - For people who live life in the parallel lane.

View file

@ -7,26 +7,3 @@ all:
cp `ls ../../parallel-2*.tar.bz2.sig|grep -v latest|tail -n1` home-tange/parallel/ cp `ls ../../parallel-2*.tar.bz2.sig|grep -v latest|tail -n1` home-tange/parallel/
perl -i -pe '/Version:/ and s/20\d\d\d\d\d\d/$$ENV{YYYYMMDD}/g' home-tange/parallel/parallel.spec perl -i -pe '/Version:/ and s/20\d\d\d\d\d\d/$$ENV{YYYYMMDD}/g' home-tange/parallel/parallel.spec
cd home-tange/parallel && make cd home-tange/parallel && make
dummy:
# Update sha256sum
cd home-tange/parallel && s=`sha256sum parallel-*.tar.bz2|field 1` perl -i -pe 's/(sha256sums=..)\w+(..)/$$1$$ENV{s}$$2/' PKGBUILD
# Update version
cd home-tange/parallel && perl -i -pe 's/pkgver=.*/pkgver=$$ENV{YYYYMMDD}/' PKGBUILD
cd home-tange/parallel/ && osc diff
cd home-tange/parallel/ && osc up
cd home-tange/parallel/ && parallel osc add ::: *.spec *.dsc *.tar.gz *.tar.bz2 && echo Src added OK || true
cd home-tange/parallel/ && osc ci -m "New release"
### Wait for "building" state to complete
echo '### Wait for "building" state'
sleep 3
cd home-tange/parallel/ && yes building | parallel -vj1 --delay 10 --halt now,success=1 'osc results|G -E {}'
echo '### Wait for "building" state to end'
echo '### Ignore RedHat_RHEL-6 and Univention_3.2 that are broken'
cd home-tange/parallel/ && yes building | parallel -vj1 --delay 10 --halt now,fail=1 'osc results|G -v RedHat_RHEL-6 -v Univention_3.2 -E {}' || true
echo '### Wait for "finished" state of .deb'
cd home-tange/parallel/ && echo succeeded | parallel -vj1 --retries 30 --delay 10 --halt now,success=1 'osc results|G -E "(Debian|Ubuntu).*{}"'
echo '### Wait for "finished" state of .rpm'
cd home-tange/parallel/ && echo succeeded | parallel -vj1 --retries 30 --delay 10 --halt now,success=1 'osc results|G -E "(SUSE|SLE|Scientific|RHEL|Fedora|CentOS).*{}"'
echo 'Check:'
echo 'https://build.opensuse.org/package/show/home:tange/parallel'

View file

@ -1,10 +1,8 @@
<directory name="parallel" rev="377" vrev="10" srcmd5="bed2f4ea7216b5b9cdbc27200235d548"> <directory name="parallel" rev="379" vrev="2" srcmd5="630c9c1371ba170d88941f2808f86574">
<entry name="PKGBUILD" md5="1806a0c17481d2ca0a57ec679947820d" size="714" mtime="1695588318" /> <entry name="Makefile" md5="a165cdcca90c744dc5a5b17cde72ad8e" size="1182" mtime="1698101769" />
<entry name="parallel-20230922.tar.bz2" md5="5430f75209c7cd4909100b9c1e9c843a" size="2507959" mtime="1695588319" /> <entry name="PKGBUILD" md5="2eda3e396a9954a02a016fbcafd90ca9" size="714" mtime="1698101769" />
<entry name="parallel-20230922.tar.bz2.asc" md5="6e65f14e3f8a012c8cf566ad9c6e5195" size="2080" mtime="1695588319" /> <entry name="parallel-20231022.tar.bz2" md5="5af1010d76fa61fe95147879a38c680d" size="2523122" mtime="1698101770" />
<entry name="parallel-20230922.tar.bz2.sig" md5="3798d68dc744e8e04eb38ac2693ca50b" size="2080" mtime="1695587664" /> <entry name="parallel.spec" md5="41bbb948433c5909d6fe3d7bbe4b052e" size="6224" mtime="1698101770" />
<entry name="parallel.spec" md5="2ba5d8fffbc33291aa361c56a887d948" size="6224" mtime="1695584813" /> <entry name="parallel_20231022.dsc" md5="7e910f174304289a251561c09db988d5" size="556" mtime="1698101771" />
<entry name="parallel_20230822.tar.gz" md5="567a13fbab15eb0df2c167a6ccb9c7ce" size="2791059" mtime="1695584814" /> <entry name="parallel_20231022.tar.gz" md5="8d64749e810f4bf82bf9922baa397b0f" size="2800603" mtime="1698101771" />
<entry name="parallel_20230922.dsc" md5="c14cb52b8ce08b62018a9d661c845feb" size="556" mtime="1695585058" />
<entry name="parallel_20230922.tar.gz" md5="882ed1404cc0afe8b029df9706eba605" size="2790493" mtime="1695585058" />
</directory> </directory>

View file

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

View file

@ -0,0 +1,22 @@
all:
# Update sha256sum
s=`sha256sum parallel-*.tar.bz2|field 1` perl -i -pe 's/(sha256sums=..)\w+(..)/$$1$$ENV{s}$$2/' PKGBUILD
# Update version
perl -i -pe 's/pkgver=.*/pkgver=$$ENV{YYYYMMDD}/' PKGBUILD
osc diff
osc up
parallel osc add ::: *.spec *.dsc *.tar.gz *.tar.bz2 && echo Src added OK || true
osc ci -m "New release"
### Wait for "building" state to complete
echo '### Wait for "building" state'
sleep 3
yes building | parallel -vj1 --delay 10 --halt now,success=1 'osc results|G -E {}'
echo '### Wait for "building" state to end'
echo '### Ignore RedHat_RHEL-6 and Univention_3.2 that are broken'
yes building | parallel -vj1 --delay 10 --halt now,fail=1 'osc results|G -v RedHat_RHEL-6 -v Univention_3.2 -E {}' || true
echo '### Wait for "finished" state of .deb'
echo succeeded | parallel -vj1 --retries 30 --delay 10 --halt now,success=1 'osc results|G -E "(Debian|Ubuntu).*{}"'
echo '### Wait for "finished" state of .rpm'
echo succeeded | parallel -vj1 --retries 30 --delay 10 --halt now,success=1 'osc results|G -E "(SUSE|SLE|Scientific|RHEL|Fedora|CentOS).*{}"'
echo 'Check:'
echo 'https://build.opensuse.org/package/show/home:tange/parallel'

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -26,7 +26,7 @@
use strict; use strict;
use Getopt::Long; use Getopt::Long;
$Global::progname="niceload"; $Global::progname="niceload";
$Global::version = 20230922; $Global::version = 20231022;
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

@ -2800,7 +2800,7 @@ sub check_invalid_option_combinations() {
sub init_globals() { sub init_globals() {
# Defaults: # Defaults:
$Global::version = 20230922; $Global::version = 20231022;
$Global::progname = 'parallel'; $Global::progname = 'parallel';
$::name = "GNU Parallel"; $::name = "GNU Parallel";
$Global::infinity = 2**31; $Global::infinity = 2**31;
@ -5761,8 +5761,8 @@ sub usage() {
"If you use programs that use GNU Parallel to process data for an article in a", "If you use programs that use GNU Parallel to process data for an article in a",
"scientific publication, please cite:", "scientific publication, please cite:",
"", "",
" Tange, O. (2023, September 22). GNU Parallel 20230922 ('Derna').", " Tange, O. (2023, October 22). GNU Parallel 20231022 ('Al-Aqsa Deluge').",
" Zenodo. https://doi.org/10.5281/zenodo.8374296", " Zenodo. https://doi.org/10.5281/zenodo.10035562",
"", "",
# Before changing these lines, please read # Before changing these lines, please read
# https://www.gnu.org/software/parallel/parallel_design.html#citation-notice # https://www.gnu.org/software/parallel/parallel_design.html#citation-notice
@ -5794,8 +5794,8 @@ sub citation_notice() {
"If you use programs that use GNU Parallel to process data for an article in a", "If you use programs that use GNU Parallel to process data for an article in a",
"scientific publication, please cite:", "scientific publication, please cite:",
"", "",
" Tange, O. (2023, September 22). GNU Parallel 20230922 ('Derna').", " Tange, O. (2023, October 22). GNU Parallel 20231022 ('Al-Aqsa Deluge').",
" Zenodo. https://doi.org/10.5281/zenodo.8374296", " Zenodo. https://doi.org/10.5281/zenodo.10035562",
"", "",
# Before changing these line, please read # Before changing these line, please read
# https://www.gnu.org/software/parallel/parallel_design.html#citation-notice and # https://www.gnu.org/software/parallel/parallel_design.html#citation-notice and
@ -5922,20 +5922,20 @@ sub citation() {
"If you use programs that use GNU Parallel to process data for an article in a", "If you use programs that use GNU Parallel to process data for an article in a",
"scientific publication, please cite:", "scientific publication, please cite:",
"", "",
"\@software{tange_2023_8374296,", "\@software{tange_2023_10035562,",
" author = {Tange, Ole},", " author = {Tange, Ole},",
" title = {GNU Parallel 20230922 ('Derna')},", " title = {GNU Parallel 20231022 ('Al-Aqsa Deluge')},",
" month = Sep,", " month = Oct,",
" year = 2023,", " year = 2023,",
" note = {{GNU Parallel is a general parallelizer to run", " note = {{GNU Parallel is a general parallelizer to run",
" multiple serial command line programs in parallel", " multiple serial command line programs in parallel",
" without changing them.}},", " without changing them.}},",
" publisher = {Zenodo},", " publisher = {Zenodo},",
" doi = {10.5281/zenodo.8374296},", " doi = {10.5281/zenodo.10035562},",
" url = {https://doi.org/10.5281/zenodo.8374296}", " url = {https://doi.org/10.5281/zenodo.10035562}",
"}", "}",
"", "",
"(Feel free to use \\nocite{tange_2023_8374296})", "(Feel free to use \\nocite{tange_2023_10035562})",
"", "",
# Before changing these lines, please read # Before changing these lines, please read
# https://www.gnu.org/software/parallel/parallel_design.html#citation-notice and # https://www.gnu.org/software/parallel/parallel_design.html#citation-notice and

View file

@ -1466,6 +1466,8 @@ Evaluate I<expr>. E.g. '12/2' to get 6, '+25%' gives the same as
multiply 3 by log(55), multiply that by the number of CPU threads and multiply 3 by log(55), multiply that by the number of CPU threads and
divide by 100, add this to the number of CPU threads. divide by 100, add this to the number of CPU threads.
An expression that evalutates to less that 1 is replaced with 1.
=item I<procfile> =item I<procfile>
Read parameter from file. Read parameter from file.

View file

@ -814,7 +814,7 @@ Summary (see legend above):
=item M1 (M2) M3 (M4) M5 M6 =item M1 (M2) M3 (M4) M5 M6
=item - O2 O3 - O5 - - N/A N/A O10 =item - O2 O3 - O5 - - x x O10
=item E1 - - - - - - =item E1 - - - - - -
@ -2697,7 +2697,7 @@ Summary (see legend above):
=item M1 - M3 - - M6 =item M1 - M3 - - M6
=item O1 - O3 - O5 - - N/A N/A =item O1 - O3 - O5 - - x x
=item E1 - - E4 - - - =item E1 - - E4 - - -
@ -2730,7 +2730,7 @@ Summary (see legend above):
=item M1 - (M3) - - M6 =item M1 - (M3) - - M6
=item O1 O2 O3 - O5 O6 - N/A N/A - =item O1 O2 O3 - O5 O6 - x x -
=item E1 - - - - - - =item E1 - - - - - -
@ -2869,7 +2869,7 @@ Summary (see legend above):
=item M1 - M3 - - M6 =item M1 - M3 - - M6
=item - - O3 - O5 - - N/A N/A O10 =item - - O3 - O5 - - x x O10
=item E1 - - E4 - - - =item E1 - - E4 - - -
@ -2926,7 +2926,7 @@ Summary (see legend above):
=item - - - - - M6 =item - - - - - M6
=item - O2 O3 - O5 O6 - N/A N/A O10 =item - O2 O3 - O5 O6 - x x O10
=item E1 - - E4 - E6 - =item E1 - - E4 - E6 -
@ -3448,7 +3448,7 @@ Summary (see legend above):
=over =over
=item - - - I4 - - N/A =item - - - I4 - - x
=item - - - - - M6 =item - - - - - M6
@ -3662,11 +3662,11 @@ Summary (see legend above):
=over =over
=item - - - I4 - - N/A =item - - - I4 - - x
=item M1 - - - - M6 =item M1 - - - - M6
=item - - O3 - - - - N/A - - =item - - O3 - - - - x - -
=item E1 - E3 - E5 - - =item E1 - E3 - E5 - -
@ -3781,7 +3781,7 @@ Summary (see legend above):
=item - - - - - M6 =item - - - - - M6
=item O1 O2 O3 - O5 O6 - N/A - O10 =item O1 O2 O3 - O5 O6 - x - O10
=item E1 - - E4 - - - =item E1 - - E4 - - -
@ -3850,7 +3850,7 @@ Summary (see legend above):
=item M1 - - - - M6 =item M1 - - - - M6
=item O1 - O3 - - - - N/A - - =item O1 - O3 - - - - x - -
=item E1 - - E4 - - - =item E1 - - E4 - - -
@ -4094,11 +4094,11 @@ Summary (see legend above):
=item M1 - - - - M6 =item M1 - - - - M6
=item - - O3 - - - - N/A N/A - =item - - O3 - - - - x x -
=item E1 - - - - - - =item E1 - - - - - -
=item R1 - - - - R6 N/A N/A - =item R1 - - - - R6 x x -
=item - - =item - -
@ -4143,8 +4143,145 @@ https://github.com/korovkin/parallel
(Last checked: 2023-07) (Last checked: 2023-07)
=head2 DIFFERENCES BETWEEN xe AND GNU Parallel
Summary (see legend above):
=over
=item I1 I2 - I4 - - I7
=item M1 - M3 M4 - M6
=item - O2 O3 - O5 O6 - O8 - O10
=item E1 - - E4 - - -
=item - - - - - - - - -
=item - -
=back
B<xe> has a peculiar limitation:
echo /bin/echo | xe {} OK
echo echo | xe /bin/{} fails
=head3 EXAMPLES
Compress all .c files in the current directory, using all CPU cores:
1$ xe -a -j0 gzip -- *.c
1$ parallel gzip ::: *.c
Remove all empty files, using lr(1):
2$ lr -U -t 'size == 0' | xe -N0 rm
2$ lr -U -t 'size == 0' | parallel -X rm
Convert .mp3 to .ogg, using all CPU cores:
3$ xe -a -j0 -s 'ffmpeg -i "${1}" "${1%.mp3}.ogg"' -- *.mp3
3$ parallel ffmpeg -i {} {.}.ogg ::: *.mp3
Same, using percent rules:
4$ xe -a -j0 -p %.mp3 ffmpeg -i %.mp3 %.ogg -- *.mp3
4$ parallel --rpl '% s/\.mp3// or skip' ffmpeg -i %.mp3 %.ogg ::: *.mp3
Similar, but hiding output of ffmpeg, instead showing spawned jobs:
5$ xe -ap -j0 -vvq '%.{m4a,ogg,opus}' ffmpeg -y -i {} out/%.mp3 -- *
5$ parallel -v --rpl '% s/\.(m4a|ogg|opus)// or skip' \
ffmpeg -y -i {} out/%.mp3 '2>/dev/null' ::: *
5$ parallel -v ffmpeg -y -i {} out/{.}.mp3 '2>/dev/null' ::: *
https://github.com/leahneukirchen/xe
(Last checked: 2023-08)
=head2 DIFFERENCES BETWEEN sp AND GNU Parallel
Summary (see legend above):
=over
=item - - - I4 - - -
=item M1 - M3 - - M6
=item - O2 O3 - O5 (O6) - x x O10
=item E1 - - - - - -
=item - - - - - - - - -
=item - -
=back
B<sp> has very few options.
It can either be used like:
sp command {} option :: arg1 arg2 arg3
which is similar to:
parallel command {} option ::: arg1 arg2 arg3
Or:
sp command1 :: "command2 -option" :: "command3 foo bar"
which is similar to:
parallel ::: command1 "command2 -option" "command3 foo bar"
B<sp> deals badly with too many commands: This causes B<sp> to run out
of file handles and gives data loss.
For each command that fails, B<sp> will print an error message on
stderr (standard error).
You cannot used exported shell functions as commands.
=head3 EXAMPLES
1$ sp echo {} :: 1 2 3
1$ parallel echo {} ::: 1 2 3
2$ sp echo {} {} :: 1 2 3
2$ parallel echo {} {} :: 1 2 3
3$ sp echo 1 :: echo 2 :: echo 3
3$ parallel ::: 'echo 1' 'echo 2' 'echo 3'
4$ sp a foo bar :: "b 'baz bar'" :: c
4$ parallel ::: 'a foo bar' "b 'baz bar'" :: c
https://github.com/SergioBenitez/sp
(Last checked: 2023-10)
=head2 Todo =head2 Todo
https://github.com/justanhduc/task-spooler
https://manpages.ubuntu.com/manpages/xenial/man1/tsp.1.html
https://www.npmjs.com/package/concurrently https://www.npmjs.com/package/concurrently
http://code.google.com/p/push/ (cannot compile) http://code.google.com/p/push/ (cannot compile)
@ -4167,8 +4304,6 @@ https://github.com/flesler/parallel
https://github.com/Julian/Verge https://github.com/Julian/Verge
https://manpages.ubuntu.com/manpages/xenial/man1/tsp.1.html
https://vicerveza.homeunix.net/~viric/soft/ts/ https://vicerveza.homeunix.net/~viric/soft/ts/
https://github.com/chapmanjacobd/que https://github.com/chapmanjacobd/que

View file

@ -20,8 +20,7 @@ or download it at: https://doi.org/10.5281/zenodo.1146014
Otherwise start by watching the intro videos for a quick introduction: Otherwise start by watching the intro videos for a quick introduction:
https://www.youtube.com/playlist?list=PL284C9FF2488BC6D1 https://www.youtube.com/playlist?list=PL284C9FF2488BC6D1
Then browse through the B<EXAMPLE>s after the list of B<OPTIONS> in Then browse through the examples (B<man parallel_examples>). That will give
B<man parallel> (Use B<LESS=+/EXAMPLE: man parallel>). That will give
you an idea of what GNU B<parallel> is capable of. you an idea of what GNU B<parallel> is capable of.
If you want to dive even deeper: spend a couple of hours walking If you want to dive even deeper: spend a couple of hours walking
@ -51,12 +50,12 @@ security reasons), the way described in README, or with this command:
$ (wget -O - pi.dk/3 || lynx -source pi.dk/3 || curl pi.dk/3/ || \ $ (wget -O - pi.dk/3 || lynx -source pi.dk/3 || curl pi.dk/3/ || \
fetch -o - http://pi.dk/3 ) > install.sh fetch -o - http://pi.dk/3 ) > install.sh
$ sha1sum install.sh $ sha1sum install.sh
12345678 3374ec53 bacb199b 245af2dd a86df6c9 12345678 51621b7f 1ee103c0 0783aae4 ef9889f8
$ md5sum install.sh $ md5sum install.sh
029a9ac0 6e8b5bc6 052eac57 b2c3c9ca 62eada78 703b5500 241b8e50 baf62758
$ sha512sum install.sh $ sha512sum install.sh
40f53af6 9e20dae5 713ba06c f517006d 9897747b ed8a4694 b1acba1b 1464beb4 160d3159 9480cf5c a101512f 150b7ac0 206a65dc 86f2bb6b bdf1a2bc 96bc6d06
60055629 3f2356f3 3e9c4e3c 76e3f3af a9db4b32 bd33322b 975696fc e6b23cfb 7f8237c2 0964b67f bccf8a93 332528fa 11e5ab43 2a6226a6 ceb197ab 7f03c061
$ bash install.sh $ bash install.sh
This will also install the newest version of the tutorial which you This will also install the newest version of the tutorial which you
@ -145,7 +144,7 @@ So you must be able to do this without entering a password:
ssh $SERVER1 echo works ssh $SERVER1 echo works
ssh $SERVER2 echo works ssh $SERVER2 echo works
It can be setup by running 'ssh-keygen -t dsa; ssh-copy-id $SERVER1' It can be setup by running B<ssh-keygen -t dsa; ssh-copy-id $SERVER1>
and using an empty passphrase, or you can use B<ssh-agent>. and using an empty passphrase, or you can use B<ssh-agent>.
=back =back

View file

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

View file

@ -670,7 +670,7 @@ $Global::Initfile && unlink $Global::Initfile;
exit ($err); exit ($err);
sub parse_options { sub parse_options {
$Global::version = 20230922; $Global::version = 20231022;
$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

View file

@ -105,7 +105,7 @@ unset TMPDIR
# We can safely ignore those. # We can safely ignore those.
export LC_ALL=C export LC_ALL=C
PARALLEL_SHELL=sh env_parallel --timeout 100 --env _ -vj9 -k --joblog /tmp/jl-`basename $0` --retries 3 \ PARALLEL_SHELL=sh env_parallel --timeout 100 --env _ -vj4 -k --joblog /tmp/jl-`basename $0` --retries 3 \
-S $SSHLOGIN1 --tag '{} 2>&1' \ -S $SSHLOGIN1 --tag '{} 2>&1' \
::: $(compgen -A function | grep par_ | sort) \ ::: $(compgen -A function | grep par_ | sort) \
2> >(grep -Ev 'shopt: not found|declare: not found') 2> >(grep -Ev 'shopt: not found|declare: not found')

View file

@ -36,25 +36,6 @@ par_seqreplace_long_line() {
uniq -c uniq -c
} }
par__print_in_blocks() {
echo '### bug #41565: Print happens in blocks - not after each job complete'
median() { perl -e '@a=sort {$a<=>$b} <>;print $a[$#a/2]';}
export -f median
echo 'The timing here is important: a full second between each'
perl -e 'for(1..30){print("$_\n");`sleep 1`}' |
parallel -j3 'echo {#}' |
timestamp -dd |
perl -pe '$_=int($_+0.3)."\n"' |
median
echo '300 ms jobs:'
perl -e 'for(1..30){print("$_\n");`sleep .3`}' |
parallel -j3 --delay 0.3 echo |
timestamp -d -d |
perl -pe 's/(.....).*/int($1*10+0.2)/e' |
median
}
par__load_from_PARALLEL() { par__load_from_PARALLEL() {
echo "### Test reading load from PARALLEL" echo "### Test reading load from PARALLEL"
export PARALLEL="--load 300%" export PARALLEL="--load 300%"
@ -102,7 +83,7 @@ par_quote_special_results() {
"mkfs.reiserfs -fq" "mkfs.ntfs -F" "mkfs.xfs -f" mkfs.minix \ "mkfs.reiserfs -fq" "mkfs.ntfs -F" "mkfs.xfs -f" mkfs.minix \
mkfs.fat mkfs.vfat mkfs.msdos mkfs.f2fs | mkfs.fat mkfs.vfat mkfs.msdos mkfs.f2fs |
perl -pe 's:(/dev/loop|par-test-loop)\S+:$1:g;s/ +/ /g' | perl -pe 's:(/dev/loop|par-test-loop)\S+:$1:g;s/ +/ /g' |
G -v MB/s -v GB/s -v UUID -v Binutils -v 150000 G -v MB/s -v GB/s -v UUID -v Binutils -v 150000 -v exfatprogs
# Skip: # Skip:
# mkfs.bfs - ro # mkfs.bfs - ro
# mkfs.cramfs - ro # mkfs.cramfs - ro

View file

@ -8,6 +8,25 @@
# Each should be taking 30-100s and be possible to run in parallel # Each should be taking 30-100s and be possible to run in parallel
# I.e.: No race conditions, no logins # I.e.: No race conditions, no logins
par__print_in_blocks() {
echo '### bug #41565: Print happens in blocks - not after each job complete'
median() { perl -e '@a=sort {$a<=>$b} <>;print $a[$#a/2]';}
export -f median
echo 'The timing here is important: a full second between each'
perl -e 'for(1..30){print("$_\n");`sleep 1`}' |
parallel -j3 'echo {#}' |
timestamp -dd |
perl -pe '$_=int($_+0.3)."\n"' |
median
echo '300 ms jobs:'
perl -e 'for(1..30){print("$_\n");`sleep .3`}' |
parallel -j3 --delay 0.3 echo |
timestamp -d -d |
perl -pe 's/(.....).*/int($1*10+0.2)/e' |
median
}
par__keeporder_roundrobin() { par__keeporder_roundrobin() {
echo 'bug #50081: --keep-order --round-robin should give predictable results' echo 'bug #50081: --keep-order --round-robin should give predictable results'
. `which env_parallel.bash` . `which env_parallel.bash`

View file

@ -1720,7 +1720,7 @@ _EOF
par_environment_too_big_bash() { par_environment_too_big_bash() {
myscript=$(cat <<'_EOF' myscript=$(cat <<'_EOF'
echo 'bug #50815: env_parallel should warn if the environment is too big' echo 'bug #50815: env_parallel should warn if the environment is too big'
len_overhead=-$( (shopt;alias;typeset -f;typeset -p) | wc -c)/1000 len_overhead=-10-$( (shopt;alias;typeset -f;typeset -p) | wc -c)/1000
len_var=$len_overhead+56 len_var=$len_overhead+56
len_var_remote=$len_overhead+40 len_var_remote=$len_overhead+40
len_var_quote=$len_overhead+31 len_var_quote=$len_overhead+31

View file

@ -132,11 +132,22 @@ par_--html() {
echo echo
} }
par_listproc() { par__listproc() {
echo "### Test --show-processlist|proclist|listproc"; echo "### Test --show-processlist|proclist|listproc";
sql --show-processlist "$DBURL" | wc -lw # Take the minimum of 3 runs to avoid error counting
sql --proclist "$DBURL" | wc -lw # if one of the other jobs happens to be running
sql --listproc "$DBURL" | wc -lw (
sql --show-processlist "$DBURL" | wc -lw
sql --show-processlist "$DBURL" | wc -lw
) | sort | head -n1
(
sql --proclist "$DBURL" | wc -lw
sql --proclist "$DBURL" | wc -lw
) | sort | head -n1
(
sql --listproc "$DBURL" | wc -lw
sql --listproc "$DBURL" | wc -lw
) | sort | head -n1
} }
par_dbsize() { par_dbsize() {

View file

@ -1,6 +1,10 @@
# -*- mode: ruby -*- # -*- mode: ruby -*-
# vi: set ft=ruby : # vi: set ft=ruby :
# SPDX-FileCopyrightText: 2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# All Vagrant configuration is done below. The "2" in Vagrant.configure # All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for # configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what # backwards compatibility). Please don't change it unless you know what

View file

@ -1,6 +1,10 @@
# -*- mode: ruby -*- # -*- mode: ruby -*-
# vi: set ft=ruby : # vi: set ft=ruby :
# SPDX-FileCopyrightText: 2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# All Vagrant configuration is done below. The "2" in Vagrant.configure # All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for # configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what # backwards compatibility). Please don't change it unless you know what

View file

@ -1,6 +1,10 @@
# -*- mode: ruby -*- # -*- mode: ruby -*-
# vi: set ft=ruby : # vi: set ft=ruby :
# SPDX-FileCopyrightText: 2023 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# All Vagrant configuration is done below. The "2" in Vagrant.configure # All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for # configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what # backwards compatibility). Please don't change it unless you know what

View file

@ -21,11 +21,6 @@ par__load_from_PARALLEL 8a7095c1c23bfadc311fe6b16d950582 -
par__load_from_PARALLEL 8a7095c1c23bfadc311fe6b16d950582 - par__load_from_PARALLEL 8a7095c1c23bfadc311fe6b16d950582 -
par__pipepart_spawn ### bug #46214: Using --pipepart doesnt spawn multiple jobs in version 20150922 par__pipepart_spawn ### bug #46214: Using --pipepart doesnt spawn multiple jobs in version 20150922
par__pipepart_spawn 1:local / 2+ / 2+ par__pipepart_spawn 1:local / 2+ / 2+
par__print_in_blocks ### bug #41565: Print happens in blocks - not after each job complete
par__print_in_blocks The timing here is important: a full second between each
par__print_in_blocks 1
par__print_in_blocks 300 ms jobs:
par__print_in_blocks 3
par__round_robin_blocks bug #49664: --round-robin does not complete par__round_robin_blocks bug #49664: --round-robin does not complete
par__round_robin_blocks 8 par__round_robin_blocks 8
par_colsep ### Test of --colsep par_colsep ### Test of --colsep
@ -748,7 +743,6 @@ par_quote_special_results mkfs.btrfs . ./ ./ ./ ./ ./ ./ ./ ./ ./ ./ ./
par_quote_special_results mkfs.btrfs . ./€ ./<2F> ./ ./ƒ ./„ ./… ./† ./‡ ./ˆ ./‰ ./Š ./ ./Œ ./<2F> ./Ž ./<2F> ./<2F> ./ ./ ./“ ./” ./• ./ ./— ./˜ ./™ ./š ./ ./œ ./<2F> ./ž ./Ÿ ./  ./¡ ./¢ ./£ ./¤ ./¥ ./¦ ./§ ./¨ ./© ./ª ./« ./¬ ./­ ./® ./¯ ./° ./± ./² ./³ ./´ ./µ ./¶ ./· ./¸ ./¹ ./º ./» ./¼ ./½ ./¾ ./¿ ./À ./Á ./ ./à ./Ä ./Å ./Æ ./Ç ./È ./É ./Ê ./Ë ./Ì ./Í ./Î ./Ï ./Ð ./Ñ ./Ò ./Ó ./Ô ./Õ ./Ö ./× ./Ø ./Ù ./Ú ./Û ./Ü ./Ý ./Þ ./ß ./à ./á ./â ./ã ./ä ./å ./æ ./ç ./è ./é ./ê ./ë ./ì ./í ./î ./ï ./ð ./ñ ./ò ./ó ./ô ./õ ./ö ./÷ ./ø ./ù ./ú ./û ./ü ./ý ./þ ./ÿ par_quote_special_results mkfs.btrfs . ./€ ./<2F> ./ ./ƒ ./„ ./… ./† ./‡ ./ˆ ./‰ ./Š ./ ./Œ ./<2F> ./Ž ./<2F> ./<2F> ./ ./ ./“ ./” ./• ./ ./— ./˜ ./™ ./š ./ ./œ ./<2F> ./ž ./Ÿ ./  ./¡ ./¢ ./£ ./¤ ./¥ ./¦ ./§ ./¨ ./© ./ª ./« ./¬ ./­ ./® ./¯ ./° ./± ./² ./³ ./´ ./µ ./¶ ./· ./¸ ./¹ ./º ./» ./¼ ./½ ./¾ ./¿ ./À ./Á ./ ./à ./Ä ./Å ./Æ ./Ç ./È ./É ./Ê ./Ë ./Ì ./Í ./Î ./Ï ./Ð ./Ñ ./Ò ./Ó ./Ô ./Õ ./Ö ./× ./Ø ./Ù ./Ú ./Û ./Ü ./Ý ./Þ ./ß ./à ./á ./â ./ã ./ä ./å ./æ ./ç ./è ./é ./ê ./ë ./ì ./í ./î ./ï ./ð ./ñ ./ò ./ó ./ô ./õ ./ö ./÷ ./ø ./ù ./ú ./û ./ü ./ý ./þ ./ÿ
par_quote_special_results mkfs.btrfs 150+0 records in par_quote_special_results mkfs.btrfs 150+0 records in
par_quote_special_results mkfs.btrfs 150+0 records out par_quote_special_results mkfs.btrfs 150+0 records out
par_quote_special_results mkfs.exfat exfatprogs version : 1.1.3
par_quote_special_results mkfs.exfat Creating exFAT filesystem(/dev/shm/par-test-loop cluster size=4096) par_quote_special_results mkfs.exfat Creating exFAT filesystem(/dev/shm/par-test-loop cluster size=4096)
par_quote_special_results mkfs.exfat par_quote_special_results mkfs.exfat
par_quote_special_results mkfs.exfat Writing volume boot record: done par_quote_special_results mkfs.exfat Writing volume boot record: done

View file

@ -1607,6 +1607,11 @@ par__plus_dyn_repl abcabcdefdef abcdefdef
par__plus_dyn_repl abcabcdefdef abcdefdef par__plus_dyn_repl abcabcdefdef abcdefdef
par__plus_dyn_repl abcabcdefdef abcabcdef par__plus_dyn_repl abcabcdefdef abcabcdef
par__plus_dyn_repl abcabcdefdef abcabcdef par__plus_dyn_repl abcabcdefdef abcabcdef
par__print_in_blocks ### bug #41565: Print happens in blocks - not after each job complete
par__print_in_blocks The timing here is important: a full second between each
par__print_in_blocks 1
par__print_in_blocks 300 ms jobs:
par__print_in_blocks 3
par_bin ### Test --bin par_bin ### Test --bin
par_bin 2 2 4 par_bin 2 2 4
par_bin 2 2 4 par_bin 2 2 4

View file

@ -1,12 +1,12 @@
### test parallel_tutorial ### test parallel_tutorial
fetch -o - http://pi.dk/3 ) > install.sh fetch -o - http://pi.dk/3 ) > install.sh
$ sha1sum install.sh $ sha1sum install.sh
12345678 3374ec53 bacb199b 245af2dd a86df6c9 12345678 51621b7f 1ee103c0 0783aae4 ef9889f8
$ md5sum install.sh $ md5sum install.sh
029a9ac0 6e8b5bc6 052eac57 b2c3c9ca 62eada78 703b5500 241b8e50 baf62758
$ sha512sum install.sh $ sha512sum install.sh
40f53af6 9e20dae5 713ba06c f517006d 9897747b ed8a4694 b1acba1b 1464beb4 160d3159 9480cf5c a101512f 150b7ac0 206a65dc 86f2bb6b bdf1a2bc 96bc6d06
60055629 3f2356f3 3e9c4e3c 76e3f3af a9db4b32 bd33322b 975696fc e6b23cfb 7f8237c2 0964b67f bccf8a93 332528fa 11e5ab43 2a6226a6 ceb197ab 7f03c061
$ bash install.sh $ bash install.sh
/usr/bin/bash: -c: line 1: syntax error near unexpected token `)' /usr/bin/bash: -c: line 1: syntax error near unexpected token `)'
/usr/bin/bash: -c: line 1: ` fetch -o - http://pi.dk/3 ) > install.sh' /usr/bin/bash: -c: line 1: ` fetch -o - http://pi.dk/3 ) > install.sh'

View file

@ -53,16 +53,16 @@ par_-r Is the server running on that host and accepting TCP/IP connections?
par_-r [ | psql -h 127.0.0.3 -U nongood -p 2227 -d nongood] par_-r [ | psql -h 127.0.0.3 -U nongood -p 2227 -d nongood]
par_-r psql: error: connection to server at "127.0.0.3", port 2227 failed: Connection refused par_-r psql: error: connection to server at "127.0.0.3", port 2227 failed: Connection refused
par_-r Is the server running on that host and accepting TCP/IP connections? par_-r Is the server running on that host and accepting TCP/IP connections?
par__listproc ### Test --show-processlist|proclist|listproc
par__listproc 2 17
par__listproc 2 17
par__listproc 2 17
par_dbsize ### Test --db-size --dbsize par_dbsize ### Test --db-size --dbsize
par_dbsize 6 par_dbsize 6
par_dbsize 6 par_dbsize 6
par_dburl_user_password_host_port ### Test dburl with username password host port par_dburl_user_password_host_port ### Test dburl with username password host port
par_dburl_user_password_host_port Test dburl with username password host port par_dburl_user_password_host_port Test dburl with username password host port
par_dburl_user_password_host_port OK par_dburl_user_password_host_port OK
par_listproc ### Test --show-processlist|proclist|listproc
par_listproc 3 32
par_listproc 2 17
par_listproc 2 17
par_noheaders ### Test --noheaders --no-headers -n par_noheaders ### Test --noheaders --no-headers -n
par_noheaders abc 1 par_noheaders abc 1
par_noheaders def 3 par_noheaders def 3