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
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.
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 ? :)