smartdispatch
smartdispatch copied to clipboard
Add job dependency to autoresume feature.
When a job is terminated and needs to be relaunched, aka autoresumed, we should add a dependency on the new job to the current one to prevent some unforeseeable crashes.
-l depend=<job_id>
or -w depend=afterok:<job_id>
depending if msub
or qsub
https://docs.loni.org/wiki/PBS_Job_Chains_and_Dependencies http://docs.adaptivecomputing.com/mwm/7-1-1/Content/topics/resourceManagers/rmextensions.html#depend