bug-parallel
[Top][All Lists]
Advanced

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

GNU Parallel Bug Reports halt soon,fail=1 behaviour


From: Evan Benn
Subject: GNU Parallel Bug Reports halt soon,fail=1 behaviour
Date: Wed, 13 Mar 2019 04:58:03 +0000

What is the expected behaviour of --halt soon,fail=1?

"'soon' which means wait for all running jobs to complete, but start no new 
jobs".

>From this I would expect no new jobs to be started. But it is not the case:

parallel --halt soon,fail=1 -j1 false ::: 1 1 1

false: expected 0 args, got 1
parallel: This job failed:
false 1
false: expected 0 args, got 1
parallel: This job failed:
false 1
false: expected 0 args, got 1
parallel: This job failed:
false 1


3 jobs are run, even though the first fails and only 1 is run at a time.



GNU parallel 20161222
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'.


Thanks

Evan Benn
NOTICE
Please consider the environment before printing this email. This message and 
any attachments are intended for the addressee named and may contain legally 
privileged/confidential/copyright information. If you are not the intended 
recipient, you should not read, use, disclose, copy or distribute this 
communication. If you have received this message in error please notify us at 
once by return email and then delete both messages. We accept no liability for 
the distribution of viruses or similar in electronic communications. This 
notice should not be removed.



reply via email to

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