How to handle SIGTERM from slurm when also using multiprocessing?

后端 未结 0 1087
小鲜肉
小鲜肉 2021-01-16 12:10

I have a rudimentary SIGTERM handler in the main script / module of my code that deletes temporary files if the job is canceled by a cluster scheduler, e.g. scancel on slurm

相关标签:
回答
  • 消灭零回复
提交回复
热议问题