pyrosetta die slow

Member Site Forums PyRosetta PyRosetta – General pyrosetta die slow

Viewing 1 reply thread
  • Author
    Posts
    • #3784
      Anonymous

        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 ?

      • #15926
        Anonymous

          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)…

          • #15929
            Anonymous

              Ctrl+Z works.

              Thank you for your explaination!

        Viewing 1 reply thread
        • You must be logged in to reply to this topic.