Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • I have my jobs running from a HPC manager. I want to capture when the (slurm, qsub, condor) manager does an exit (to email myself about it with my custom email). Will except: catch that? But it doesn't give me a handle for e though :( Commented Sep 29, 2020 at 15:23
  • To be quite honest, I am not familiar with HPC... If it is integrated with/for python it should have corresponding exceptions implemented. If not you can try 3rd part library that has it (dunno which) or making a task listener that would search for flag set by HPC. If all that fails you can try and code some yourself, 'exception' class is inheritable and dive into processes/drivers. Other than that, due to lack of more information and No Opinions policy of SO, I would suggest asking a new question witch HPC in title and tags - if not asked before. Cheer :) Commented Sep 30, 2020 at 1:55