markovmodel / adaptivemd

A python framework to run adaptive Markov state model (MSM) simulation on HPC resources
GNU Lesser General Public License v2.1
18 stars 7 forks source link

Cancel a running job without shutting down worker #15

Closed thempel closed 7 years ago

thempel commented 7 years ago

In some cases, it is necessary to cancel a running job. Right now, this can only be done by shutting down and restarting the worker, which especially in our current 4GPU-worker setup can be a bit annoying. Most convenient would be a task.cancel()-function. However, it will cause some trouble with depending jobs, e.g. with submitted trajectory extensions. Would it make sense to optionally also delete all depending jobs? Or just a user warning?