PythonCall.jl icon indicating copy to clipboard operation
PythonCall.jl copied to clipboard

Is there a way to kill a Julia runtime?

Open ma-sadeghi opened this issue 1 year ago • 1 comments

I want to use Python multiprocessing to call a Julia function in parallel, which works fine, as long as I don't import juliacall outside Python's Worker context (either in the main script directly or in any function that eventually get called from the main script).

I don't know what's causing it, but I feel like if I can kill the current Julia runtime after Worker has done its job, then it should be fine to call juliacall in the main script.

ma-sadeghi avatar Feb 09 '24 21:02 ma-sadeghi

JuliaCall has no feature to stop the Julia runtime. I don't know if Julia itself even has such functionality.

cjdoris avatar Feb 22 '24 22:02 cjdoris