diff --git a/NEWS b/NEWS index 7fc76847..b0067178 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,46 @@ +20110722 + +* niceload: --hard will suspend a program if a limit is reached - as + opposed to just slowing the program down. + +* niceload: --soft will slow the program down - as opposed to + suspending the program completely. + +* niceload: --run-io will slow down a program if disk io goes above a + certain limit. + +* niceload: --run-load will slow down a program if loadaverage goes + above a certain limit. + +* niceload: --run-mem will slow down a program if free memory goes + below a certain limit. + +* niceload: --run-noswap will slow down a program if the computer is + swapping. + +* niceload: --start-io, --start-load, --start-mem, --start-noswap will + defer starting a program until the system is below the limit. + +* --io, --load, --mem, and --noswap sets both --run-* and --start-*. + +* niceload got a major rewrite and is now object oriented. + +* GNU Parallel was presented at Nordic Perl Workshop 2011. + http://conferences.yapceurope.org/npw2011/talk/3416 + +* Blog post about zcat and GNU Parallel. Thanks to Dr. John. + http://drjohnstechtalk.com/blog/2011/06/gnu-parallel-really-helps-with-zcat/ + +* 2 blog posts in Japanese. Thanks to Negima. + http://d.hatena.ne.jp/negima1976/20110607/1307412660 + http://d.hatena.ne.jp/negima1976/20110628/1309252494 + +* Blog post for bioinformatics. Thanks to Chris Miller. + http://chrisamiller.com/science/2010/05/26/use-parallel-for-easy-multi-processor-execution/ + +* Bug fixes and man page updates. + + 20110622 * --onall will run all the jobs on all the computers. This is useful diff --git a/configure b/configure index da891958..e0abd9d7 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.68 for parallel 20110719. +# Generated by GNU Autoconf 2.68 for parallel 20110722. # # Report bugs to . # @@ -559,8 +559,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='parallel' PACKAGE_TARNAME='parallel' -PACKAGE_VERSION='20110719' -PACKAGE_STRING='parallel 20110719' +PACKAGE_VERSION='20110722' +PACKAGE_STRING='parallel 20110722' PACKAGE_BUGREPORT='bug-parallel@gnu.org' PACKAGE_URL='' @@ -1176,7 +1176,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 20110719 to adapt to many kinds of systems. +\`configure' configures parallel 20110722 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1242,7 +1242,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of parallel 20110719:";; + short | recursive ) echo "Configuration of parallel 20110722:";; esac cat <<\_ACEOF @@ -1309,7 +1309,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -parallel configure 20110719 +parallel configure 20110722 generated by GNU Autoconf 2.68 Copyright (C) 2010 Free Software Foundation, Inc. @@ -1326,7 +1326,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 20110719, which was +It was created by parallel $as_me 20110722, which was generated by GNU Autoconf 2.68. Invocation command line was $ $0 $@ @@ -2141,7 +2141,7 @@ fi # Define the identity of the package. PACKAGE='parallel' - VERSION='20110719' + VERSION='20110722' cat >>confdefs.h <<_ACEOF @@ -2704,7 +2704,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 20110719, which was +This file was extended by parallel $as_me 20110722, which was generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -2766,7 +2766,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 20110719 +parallel config.status 20110722 configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index 772129c7..e91be0b5 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([parallel], [20110719], [bug-parallel@gnu.org]) +AC_INIT([parallel], [20110722], [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 89cdb811..38558502 100644 --- a/doc/release_new_version +++ b/doc/release_new_version @@ -71,6 +71,20 @@ YYYYMMDD=`yyyymmdd` echo put parallel-$YYYYMMDD.tar.bz2{,.sig,*asc} | ncftp ftp://ftp-upload.gnu.org/incoming/ftp/ #echo put parallel-$YYYYMMDD.tar.bz2{,.sig,*asc} | ncftp ftp://ftp-upload.gnu.org/incoming/alpha/ +== Update OpenSUSE build system == + +cd ~/privat/parallel/packager/obs +# Update version number +em home:tange/parallel/parallel.spec +find home:tange/parallel/* -type f | grep -v parallel.spec | parallel -Xj1 osc rm {} +# This should not create new files +osc up home:tange/parallel/ +make +# Update versionsnummeret from 20110422-2 to YYYYMMDD-1 +# Reload build-status: +https://build.opensuse.org/package/show?package=parallel&project=home%3Atange +# Check that one .deb (Debian 5.0) and one .rpm (CentOS) build + == Download and test == YYYYMMDD=`yyyymmdd` @@ -84,15 +98,6 @@ cd parallel-$YYYYMMDD make -j && sudo make -j install pushd -== Update OpenSUSE build system == - -https://build.opensuse.org/package/show?package=parallel&project=home%3Atange -cd ~/privat/parallel/packager/obs -em home:tange/parallel/parallel.spec -find home:tange/parallel/* -type f | grep -v parallel.spec | parallel osc rm {}';' rm {} -make -Ret versionsnummeret fra 20100906-2 til YYYYMMDD-1 - == Update Savannah == Content from release mail: @@ -115,11 +120,12 @@ http://www.gnu.org/software/parallel/niceload.html pod2html src/parallel.pod > ../parallel-web/parallel/man.html pod2html src/sql > ../parallel-web/parallel/sql.html -pod2html src/niceload > ../parallel-web/parallel/niceload.html +pod2html src/niceload.pod > ../parallel-web/parallel/niceload.html pod2html src/sem.pod > ../parallel-web/parallel/sem.html -cd ../parallel-web/parallel +pushd ../parallel-web/parallel cvs up cvs ci +pushd == Commit released version == diff --git a/src/Makefile.am b/src/Makefile.am index 3a2511bb..cafc4936 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -30,8 +30,8 @@ sql.html: sql Makefile sem ./sem --fg --id pod2html pod2html $(srcdir)/sql > $(srcdir)/sql.html ./sem --fg --id pod2html rm -f $(srcdir)/pod2htm* -niceload.html: niceload Makefile sem - ./sem --fg --id pod2html pod2html $(srcdir)/niceload > $(srcdir)/niceload.html +niceload.html: niceload.pod Makefile sem + ./sem --fg --id pod2html pod2html $(srcdir)/niceload.pod > $(srcdir)/niceload.html ./sem --fg --id pod2html rm -f $(srcdir)/pod2htm* sem: parallel diff --git a/src/Makefile.in b/src/Makefile.in index 5b78f6cc..e7569ddb 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -475,8 +475,8 @@ sql.html: sql Makefile sem ./sem --fg --id pod2html pod2html $(srcdir)/sql > $(srcdir)/sql.html ./sem --fg --id pod2html rm -f $(srcdir)/pod2htm* -niceload.html: niceload Makefile sem - ./sem --fg --id pod2html pod2html $(srcdir)/niceload > $(srcdir)/niceload.html +niceload.html: niceload.pod Makefile sem + ./sem --fg --id pod2html pod2html $(srcdir)/niceload.pod > $(srcdir)/niceload.html ./sem --fg --id pod2html rm -f $(srcdir)/pod2htm* sem: parallel diff --git a/src/niceload b/src/niceload index bc49dd9b..459f6178 100755 --- a/src/niceload +++ b/src/niceload @@ -3,7 +3,7 @@ use strict; use Getopt::Long; $Global::progname="niceload"; -$Global::version = 20110719; +$Global::version = 20110722; Getopt::Long::Configure("bundling","require_order"); get_options_from_array(\@ARGV) || die_usage(); if($::opt_version) { diff --git a/src/niceload.pod b/src/niceload.pod index 6a3c304f..9b300c4f 100644 --- a/src/niceload.pod +++ b/src/niceload.pod @@ -1,3 +1,5 @@ +#!/usr/bin/perl -w + =head1 NAME niceload - slow down a program when the load average is above a certain limit @@ -346,7 +348,6 @@ Getopt::Long. =head1 SEE ALSO -B(1), B(1) - +B(1), B(1), B(1) =cut diff --git a/src/parallel b/src/parallel index 8cc70488..98d285e3 100755 --- a/src/parallel +++ b/src/parallel @@ -456,7 +456,7 @@ sub get_options_from_array { sub parse_options { # Returns: N/A # Defaults: - $Global::version = 20110719; + $Global::version = 20110722; $Global::progname = 'parallel'; $Global::infinity = 2**31; $Global::debug = 0; diff --git a/src/sql b/src/sql index a394ecea..6c8ca4fe 100755 --- a/src/sql +++ b/src/sql @@ -536,7 +536,7 @@ $Global::Initfile && unlink $Global::Initfile; exit ($err); sub parse_options { - $Global::version = 20110719; + $Global::version = 20110722; $Global::progname = 'sql'; # This must be done first as this may exec myself