SciML / diffeqpy

Solving differential equations in Python using DifferentialEquations.jl and the SciML Scientific Machine Learning organization
MIT License
531 stars 39 forks source link

problems with julia 1.9? #113

Closed zingale closed 11 months ago

zingale commented 1 year ago

I am trying the simple example:

from diffeqpy import de

def f(u,p,t):
    return -u

u0 = 0.5
tspan = (0., 1.)
prob = de.ODEProblem(f, u0, tspan)
sol = de.solve(prob)

print(sol)

on a machine with Fedora 38. This has python 3.11 and Julia 1.9. When I run this example, I get:

ERROR: Unable to dlopen(cxxpath) in parent!
Message: /lib64/libstdc++.so.6: cannot open shared object file: No such file or directory

If I try the same test on a machine with Fedora 37, which has python 3.11 but Julia 1.8, it runs fine.

Is there an incompatibility with Julia 1.9? or is there an addition setup needed?

This is with a fresh install of DifferentialEquations.jl.

ChrisRackauckas commented 1 year ago

I think this is generally a pyjulia issue, not a diffeqpy issue. This issue likely needs to be upstreamed to https://github.com/JuliaPy/pyjulia

ChrisRackauckas commented 11 months ago

Fixed!