You are here

pyrosetta die slow

3 posts / 0 new
Last post
pyrosetta die slow

I'm running a python script with minmover function. After pressing Ctrl + C, the program dies in about 30 seconds. I don't know why it takes so long. Is there a way to kill the job immediately ?

Post Situation: 
Sun, 2021-06-13 00:05

This is a Unix question and not a Pyrosetta question, so maybe StackOverflow can give a better explanation, but Ctr+C sends a SIGINT as in interrupt, while Ctr+Z sends a SIGKILL, which for most code is faster as it is as messy as a segfault.
I use Jupyter notebook and the kernel interrupt (stop button) results in a segfault and is slower (a decent couple of seconds) and than restarting the kernel (instantaneous)...

Mon, 2021-06-14 06:39

Ctrl+Z works.

Thank you for your explaination!

Mon, 2021-06-14 23:10