Scripts for repeatedly restarting jobs until completion on HPC clusters