datura: automatically resubmit if terminated due to walltime
Roland Haas
Branch: rhaas/datura-autoresubmit
Branch: master
Declined
Declined pull request
Datura no longer exists and the simple mechanism in here was rejected in the associated ticket.
Closed by: Roland Haas·2019-05-10
This patch adds code to datura's run script that detect if the run was terminated due to walltime running out. In that case it will resubmit the job automatically.
This is an alternative over presubmission which is often more convenient for the user in case simulations fail. Presubmission itself would benefit by Cactus returning a failure code (that simfactory would need to forward) when termination is triggered by an error.