parallel
[Top][All Lists]
Advanced

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

retry-failed and results directory


From: Daniel LaFlamme
Subject: retry-failed and results directory
Date: Mon, 15 Oct 2018 19:47:21 +0000 (UTC)

Support I run a job like this:

parallel --slf hosts.txt --results output-xyz --joblog output-xyz/jobs.log --jobs 5 ...

100 jobs run (command omitted above, since it doesnt matter). 4 have non-zero status code indicating that they failed. I wanted to re-run those and get the results for this second run put in output-xyz/1/PARAM1/2/PARAM2/... just like during the first run. However, when I re-run like this:

parallel --slf hosts.txt --results output-xyz --joblog output-xyz/jobs.log --jobs 5 --retry-failed

I see that the failed jobs run, but their output is not put in nicely formatted output-xyz/1/PARAM1/2/PARAM2/... directories. Instead, output directories are created in output-xyz that appear to be based on the full command line that was re-run, including spaces. 

I've tried this both with and without deleting the 4 original jobs' output-xyz/1/PARAM1/2/PARAM2/... directories and the result is the same.

Is there a way around this using existing parallel features? If not, any suggestions on how to implement this?

reply via email to

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