-
Notifications
You must be signed in to change notification settings - Fork 153
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
python does not work on ubuntu 64 bit #287
Comments
The above segmentation fault only occurs when dymosim is used to execute the python code. This is also after changing all
It is not clear what causes this segmentation fault. In OpenModelica, there is also a segmentation fault in PyList_SetItem(), but likely at a different call (as a debugging statement was not printed):
|
This is for #287, and needed for 64 bit Linux
The problem was that the C code uses |
@world2005: This is now corrected for Linux 32 and 64 bit on branch The following works now on Linux: def r1_r1(xR):
import numpy as np
import sklearn as sk
return 2.*xR What remains to be done prior to merging to master is:
|
Thank you very much! The package perfectly works! |
The python interface works on Windows 32 bit. However if the libraries are compiled for Windows 64 bit then they will not work on Windows 64 bit machine. The problem comes from the function |
On Ubuntu 14.04 64 bit, If dymola is configured to compiled with
then there is a segmentation fault in
Buildings.Utilities.IO.Python27.Examples.KalmanFilter
.Running dymosim in gdb gives
Setting
Advanced.CompileWith64=1;
(e.g., compile as 32 bit) avoids this problem.The text was updated successfully, but these errors were encountered: