-
Notifications
You must be signed in to change notification settings - Fork 80
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
CompilationError: Error executing in get_native(rsys, odesys, 'cvode') #185
Comments
Hi @jankaWIS, I don't have access to a Windows machine so I cannot say for certain, perhaps some other user here has. I did however manage to compile a corresponding python extension (and link to sundials) under windows for a tutorial we gave at SciPy 2017. You can find the configuration over here: https://github.com/sympy/scipy-2017-codegen-tutorial I haven't touched it since though, so expect some "bit-rot". If you manage to get this working, and want to ensure it stays working, we can look into adding a windows build to the continuous integration setup for ChemPy. |
Hi @bjodah, thanks for responding so fast. What exactly do you mean by trying to do the configuration?
I believe this should done the job (so I should probably open an issue there but since it's connected, I will pose it here): And it is both on Mac and Windows. Which brings me to the second problem I am having which I have I summed up here: |
Hi again @jankaWIS, OK, so there are multiple issues here, I used to have a conda channel with my packages, but this was way back before conda-forge was a thing, I've updated the instructions in pygslodeiv2's README: bjodah/pygslodeiv2@e43faf0 Regarding Windows and MacOS: both are systems which I don't work with regularly, I've tried my best not to exclude the possibility to support these systems, but I would almost be surprised if these things work out-of-the-box. The code-generation, compilation & import of python extension module is inherently coupled to the platform. And it was this I alluded to with the link to that scipy2017codegen repository: there we managed to get that workflow to work on Windows, macOS and Linux. So if you only want to get some results, I would actually recommend just using a Linux machine (virtual or not). If you want to see this working on macOS and Windows, my guess is that it will take some work, perhaps adding fixes/features to one or more of "my" packages linked in the README. Back when I wrote pycompilation, meson was not very popular, if I would do this again, I would probably look into using it, at least as a back-end. |
Hi,
I have general problems (I will point out more once I will be sure the problem is not on my side) with this specific line (4th) in this example notebook but this one I got right now on Win10:
and I am getting:
What is going on and how can I fix it?
I am using:
CPython 3.7.3
IPython 7.17.0
chempy 0.7.12
chempy._release 0.7.12
sympy 1.6.2
numpy 1.16.2
pytest 6.1.1
scipy 1.5.0
pycodeexport 0.1.2
The text was updated successfully, but these errors were encountered: