bug-parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNU Parallel Bug Reports Alpha version of GNU Parallel 20111209 released


From: Ole Tange
Subject: GNU Parallel Bug Reports Alpha version of GNU Parallel 20111209 released
Date: Fri, 9 Dec 2011 23:30:12 +0100

The GNU Parallel 20111209 alpha release can be fetched at:

http://alpha.gnu.org/gnu/parallel/parallel-20111209.tar.bz2

The primary change is --timeout. Please at least test out these on all
platforms you have access to.

# This should finish after 10 seconds and should be suspendable using CTRL-Z
parallel --timeout 10 "true ; perl -e '\$a=1;while(\$a<{}){\$a++}'"
::: 1000000000 1000000001
# This should finish after 4-5 seconds
echo 'sleep 60; true' | time parallel --timeout=3
# This should not list any running sleeps left over from above
ps f -t $(tty) -o pid,pgid,args

# See below
pstree |grep sleep | wc
# This should give 2 (2 failed jobs)
parallel --timeout 3 'true {} ; for i in `seq 100 120`; do bash -c
"(sleep $i)" & sleep $i & done; wait' ::: 1000000000 1000000001 ; echo
$?
# This should give the same as the command above
pstree |grep sleep | wc

If you get an unexpected result, post the OS and version and what
result you see. Also it would be good if you can give the output of:

ps --ppid 1 -o pid --no-headers

It should list the pids that are children of pid 1.


/Ole



reply via email to

[Prev in Thread] Current Thread [Next in Thread]