bug-parallel
[Top][All Lists]
Advanced

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

GNU Parallel Bug Reports --retries and --joblog


From: Evan Benn
Subject: GNU Parallel Bug Reports --retries and --joblog
Date: Thu, 25 Oct 2018 01:11:46 +0000

parallel --version
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'.

I noticed that retries are not reported in the joblog:

address@hidden:~$ rm /tmp/runs /tmp/joblog; parallel --joblog /tmp/joblog -k --retries 3 'echo tried {} >>/tmp/runs; echo completed {} 2>&1 ; exit {}' ::: 1 2 0
completed 1
completed 2
completed 0
address@hidden:~$ cat /tmp/joblog
Seq    Host    Starttime    JobRuntime    Send    Receive    Exitval    Signal    Command
1    :    1540429833.064         0.002    0    12    1    0    echo tried 1 >>/tmp/runs; echo completed 1 2>&1 ; exit 1
2    :    1540429833.066         0.000    0    12    2    0    echo tried 2 >>/tmp/runs; echo completed 2 2>&1 ; exit 2
3    :    1540429833.060         0.003    0    12    0    0    echo tried 0 >>/tmp/runs; echo completed 0 2>&1 ; exit 0
address@hidden:~$ cat /tmp/runs
tried 1
tried 2
tried 0
tried 1
tried 2
tried 1
tried 2
I'm not sure if that is the intended behavior. I had wanted to use the joblog as a log of all jobs that were run - not just the last one.

Thanks
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]