probably need to go over my sub files.
you very much.
think it will be great.
I dont remember the exact configuration.
logic will be.
Put jobs on hold when exit code !=0
Autorelease jobs when exit code !=0 and number of
starts is less than 3
This should work.
suggest you to create a single submit file and run a
script that exit with status code. you will be able to
check it quickly
a look at the documentation.
me a note if you need an example.
Just chiming in here:
While David's suggestion above would work, there is no
need to place jobs on hold and autorelease jobs...
current versions of HTCondor have an easier to
use/understand mechanism to simply retry jobs that exit
without a successful exit code. In the condor_submit man
take a look at the definitions for max_retries,
success_exit_code, and retry_until. Also take a look at
the following section in the manual:
The decision to place retry policy directly into your job
submission, or alternatively to use DAGMan to manage
retries, largely depends on if your job requires the PRE
and POST script functionality that DAGMan brings to the
table. For example, if you can determine if your job
succeeded or failed based on just the exit status or other
attributes reflected in the job classad (like runtime, for
instance), then likely no need to involve DAGMan to handle
retries and you can simply specify max_tries and/ir
retry_until in your job submit file. On the other hand,
if determining if a job succeeded requires running some
procedural code (e.g. a script that does some sanity and
completeness checking on the output files), then using
DAGMan's retry functionality in concert with POST scripts
is what I would recommend.
Hope the above helps