-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kill existing Julia session #536
Comments
Well we would want to interrupt Julia and then call the at exit hook before ending the process: |
Is this something that you might consider adding to pyjulia? Thanks! |
Frankly, https://pypi.org/project/juliacall/ is under much more active development at the moment. You can find the corresponding Github repository here: |
Apologies if I'm misunderstanding, but are you suggesting that I should possibly be using juliacall instead of pyjulia? |
Yes. You're asking for a new feature, and our capacity to work on new features for pyjulia are a bit limited at the moment. Also have you considered doing the parallelization on the Julia side? You could use the Distributed model as described in https://docs.julialang.org/en/v1/manual/distributed-computing/ If you are doing parallelization all on a local computer, then you might want to consider multithreading rather than multiprocessing. |
Is there a method for terminating an existing Julia session? I'm working with
multiprocessing
to run a Julia function in parallel, and Julia initialization must happen inside the function passed tomultiprocessing.Pool
. Everything is working well so far, but I'm looking to handle the situation where a user might already have initialized Julia in the calling script. Any suggestions or insights on how to accomplish this would be greatly appreciated. Thank you!The text was updated successfully, but these errors were encountered: