How do I force the remote kernels to restart when I am using IPython.parallel?
For example in the normal IPython notebook, I can restart a kernel right from the tool bar. My question is when I have remote kernels, how do I force the same operation?
Saw another post from @drevicko that might get at what you want, even if it doesn't actually answer the specific question you posted about restarting the engines. Would purging the engine have the desired effect for your case?
Client.purge_everything()
Client.purge_hub_results(jobs=[], targets=[])
Client.purge_results(jobs=[], targets=[])
Client.abort(jobs=None, targets=None, block=None)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With