bug-parallel
[Top][All Lists]
Advanced

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

GNU Parallel Bug Reports --halt doesn't work with --nonall


From: kdoubner
Subject: GNU Parallel Bug Reports --halt doesn't work with --nonall
Date: Tue, 06 Dec 2016 14:38:52 +0100

Hi,

 

I've gor no error text.

 

Parallel version:

address@hidden:/srv/cucumber/its$ parallel --version
GNU parallel 20161122
Copyright (C) 2007,2008,2009,2010,2011,2012,2013,2014,2015,2016
Ole Tange and Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
GNU parallel comes with no warranty.

Web site: http://www.gnu.org/software/parallel

When using programs that use GNU Parallel to process data for publication
please cite as described in 'parallel --citation'.

 

 

Error example: Note there is no output
Failing case:
address@hidden:/srv/cucumber/its$ parallel --nonall -j0 -S address@hidden,address@hidden --halt now,success=1 "sleep $(cat /proc/sys/kernel/random/uuid | tr -d [:alpha:] | cut -c1)"
Academic tradition requires you to cite works you base your article on.
When using programs that use GNU Parallel to process data for publication
please cite:

  O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
  ;login: The USENIX Magazine, February 2011:42-47.

This helps funding further development; AND IT WON'T COST YOU A CENT.
If you pay 10000 EUR you should feel free to use GNU Parallel without citing.

To silence this citation notice: run 'parallel --citation'.

Passing case:
address@hidden:/srv/cucumber/its$ parallel -j0 -S address@hidden,address@hidden --halt now,success=1 "sleep $(cat /proc/sys/kernel/random/uuid | tr -d [:alpha:] | cut -c1); echo {}" ::: 1 2
Academic tradition requires you to cite works you base your article on.
When using programs that use GNU Parallel to process data for publication
please cite:

  O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
  ;login: The USENIX Magazine, February 2011:42-47.

This helps funding further development; AND IT WON'T COST YOU A CENT.
If you pay 10000 EUR you should feel free to use GNU Parallel without citing.

To silence this citation notice: run 'parallel --citation'.

1
parallel: This job succeeded:
sleep 1; echo 1
Platform:
address@hidden:/srv/cucumber/its$ uname -a
Linux testmachine 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Description:
I execute two similar commands (which run for unknown time) on two machines. As soon as this command finish on "faster" machine, I'd like to halt it on second machine. I tried to reproduce this case with sleep for random time in cases above. When I use --nonall halting doesn't work. Adding dummy echo with arguments make --halt work, see passing case.
Hope that I help to make this awsome tool even bit better.
Thank you, BR Karel

reply via email to

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