-
Notifications
You must be signed in to change notification settings - Fork 77
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: Illegal instruction (core dumped) #81
Comments
Conclusion (The story ends here) SOLVED!With many struggles and painful searching, the story periods at the junction where a hardware optimisation on Intel's Kernel Math Library was not optimised with AMD CPU for Mosek 9.0 I built the program finally with my Intel CPU on another device, while on my home setup: TLDR: IRIS-DISTRO works on Intel CPU, not AMD CPU. Hence you need to install some compatibility and optimisation packages SOLUTIONWhy this happen? Add this to your bash
reboot and built this program |
Still have this fault after installed the amd-aocl package on my Ryzen Threadripper 3990X PC, can you please provide more detalis about this work-around? Thanks a lot ! |
If you are running the test python file and face such an error,
You may then read what is the actual issue with the compiled .so program. It's quite a while back, I believe the above cmd line is what I used eventually to discover the issue with my compiled program. |
It seems that I forgot to |
System: Freshly installed Ubuntu 18.04 with required packages installed
Python: python3.6.9
cmake: cmake version 3.10.2
g++/gcc: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Successfully make IRIS package and obtained
iris_wrapper.cpython-36m-x86_64-linux-gnu.so
fromiris-distro/build/install/lib/python3.6/dist-packages/irispy
Running Test Code
python -m irispy.test.test_iris_2d ## The Response Loading cdd global constants Illegal instruction (core dumped)
I have put print statements in the built
irispy
folder to find which segment of the code incurred this error.This happens when c_inflate_region function was called this is imported as such:
I believe this is an issue with the compiled file
iris_wrapper.cpython-36m-x86_64-linux-gnu.so
How could I proceed with this? I have re-installed my Ubuntu and to just build IRIS from the clean OS, the same error persist.
Thank you.
The text was updated successfully, but these errors were encountered: