JuliaCall #2541
mjohnson541
started this conversation in
General
JuliaCall
#2541
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I took a couple hours and dug into the PythonCall.jl julia-python interface framework.
My assessment:
I played with it in a fresh environment, although in hindsight I kind of wish I had started out in an rmg_env. The python-julia linking was very automatic. I successfully built a julia environment with RMS + PythonCall.jl although I needed to get it to install PythonCall.jl second...which took a bit of effort. I tested important a set of different julia packages, packages seem to import fine unless they are dependent on PyCall.jl in which case I got a malloc error, which suggests to me that JuliaCall doesn't actually play nicely with PyCall.jl.
I think the next step in testing would likely be to make a branch of RMS replacing the PyCall.jl and Conda.jl infrastructure with PythonCall.jl and CondaPkg.jl which should mostly mean swapping out lines of code in the module file (src/ReactionMechanismSimulator.jl) and build file and then swapping the packages out in the project.toml in RMS. With that we can pip install juliacall in a built rmg_env, install that branch of RMS inside the juliacall julia project and attempt to import RMS with juliacall.
Beta Was this translation helpful? Give feedback.
All reactions