Installation guide

Intel® Parallel Studio XE 2015 Composer Edition for C++ Linux*
Installation Guide and Release Notes 22
generate different diagnostics during these two compilations. The new tag permits easier
association with either the CPU or Target compilation.
$ icc -c sample.c
sample.c(1): warning #1079: *MIC* return type of function "main" must
be "int"
void main()
^
sample.c(5): warning #120: *MIC* return value type does not match the
function type
return 0;
^
sample.c(1): warning #1079: return type of function "main" must be
"int"
void main()
^
sample.c(5): warning #120: return value type does not match the
function type
return 0;
3.5.2.4 Runtime Type Information (RTTI) not supported
Runtime Type Information (RTTI) is not supported under the Virtual-Shared memory
programming method; specifically, use of dynamic_cast<> and typeid() is not supported.
3.5.2.5 Direct (native) mode requires transferring runtime libraries like libiomp5.so to
coprocessor
The Intel® Manycore Platform Software Stack (Intel® MPSS) no longer includes Intel compiler
libraries under /lib, for example the OpenMP* library, libiomp5.so.
When running OpenMP* applications in direct mode (i.e. on the coprocessor card), users must
first upload (via scp) a copy of the Intel® MIC Architecture OpenMP* library
(<install_dir>/compiler/lib/mic/libiomp5.so) to the card (device names will be of
the format micN, where the first card will be named mic0, the second mic1, and so on) before
running their application.
Failure to make this library available will result in a run-time failure like:
/libexec/ld-elf.so.1: Shared object "libiomp5.so" not found, required
by "sample"
This can also apply to other compiler runtimes like libimf.so. The required libraries will depend
on the application and how it’s built.