While partiipating in Intel Accelerate Your Code 2013 summer contest, I had some issues with compiling TBB code for mic (Xeon Phi) architecture.
I wasn't able to find this information on the internet, so after successfully solving this issue, I decided to share my experience here.
CentOS 6.4 x64, icpc (ICC) 13.1.1 20130313
The source code
With the release of Windows 8.1, Microsoft has provided new API's that simplify managing online content. For more information, see this blog.
Intel C++ compiler is one of the components in Intel system studio. After you installed the Intel system studio on an Intel64 system, when you invoke the Intel compiler for a compilation, you may have the following error:
bash: /opt/intel/system_studio_2013.0.016/bin/intel64/icc: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
Or you may encounter the following error:
icc: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory
If you build the the application with Intel(R) C++ Compiler dynamically, you will need to make the Intel C++ Compiler runtime libraries available on the target platform. For the current system studio system_studio_2013.0.016, due to a packaging issue, some runtime libraries are missed in the the compiler runtime libraries for target system.
This issue has been tracked by DPD200241981.
To work-around the issue, we can copy all the necessary libraries from the compiler installation folder on the host system.
The Intel Composer XE 2013 Update 3 compiler may experience the following Internal Compiler Error:
: catastrophic error: **Internal compiler error: internal abort** Please report this error along with the circumstances in which it occurred in a Software Problem Report. Note: File and line given may not be explicit cause of this error.
Reference Number: DPD200242942
Product Version: Intel C++ Composer XE 2013 for Windows update 3 only
Operating System: Windows
When building your program for "x64" configuration inside Visual Studio 2010* or Visual Studio 2012 with the Intel C++ Compiler 2013 update3, you will get a compilation error if your code contains "#import <xxx.dll>" like: