Open Mark799 opened 10 months ago
Use conda to install instead. Pip just doesn’t work well for c extensions.
I just ran into the same issue. When using dependencies, you see that libdop853.dll requires flang.dll and other clang related dependencies. If I comment out the loading of dop853 to only use lsoda, then it works fine.
A couple of ideas here:
gfortran -cpp -shared -static -o libdop853.dll libdop853.f90
). Running Dependencies on the dll shows 0 external dependencies besides windows libraries. The -static option takes care of statically linking libgcc, libgfortran, libquadmath...PS: as a side note, you could add the chache option @cfunc(lsoda_sig, cache=True)
in your examples for better perf.
PS2: Good job btw, I could reduce my simulation time from nearly 30 sec to 0.5!
After running the following in Jupiter Notebook:
pip install numbalsoda
It is not possible for me to import the package, and I get the following error message:
from numbalsoda import lsoda_sig, lsoda, dop853