- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
As I did not receive a response to this question - https://software.intel.com/en-us/comment/1798569#comment-1798569 I went ahead and compiled python on Linux using Intel ICC. Then I got these errors -
/home/aswin/buildPython/Python-2.7.8/Modules/_ctypes/libffi/src/x86/ffi64.c(56): error: identifier "__m128" is undefined
UINT128 i128;
^
compilation aborted for /home/aswin/buildPython/Python-2.7.8/Modules/_ctypes/libffi/src/x86/ffi64.c (code 2)
I read a few workarounds for this error. But are there any updates. This is with the latest icc compiler.
Regards,
Ashwin.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need to include immintrin.h to get __m128 data types.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes thanks. That worked. But I am not familiar with C include very much. The locate command gives me two immintrin.h files-one icc and one gcc. How does the icc compiler pick the icc immintrin.h since I have not included the full path in the include statement ? Or this is a separate question ? :)

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page