Restarting Remote Kernels when using IPython.parallel
Asked Answered
M

1

7

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?

Mahlstick answered 27/8, 2014 at 18:38 Comment(0)
P
1

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)
Pasta answered 17/6, 2015 at 23:30 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.