Installation guide

Intel® Parallel Studio XE 2015 Composer Edition for C++ Linux*
Installation Guide and Release Notes 21
To specify the older default of generic IA-32, specify mia32
3.4.3 “asm” keyword no longer accepted with –std=c99 in Intel® C++ Compiler 15.0 for
Linux*
When using std=c99, the asm keyword will not be recognized starting with the Intel C++
Compiler 15.0. This matches current gcc behavior. Use std=gnu99 to recognize the asm
keyword while maintaining C99 compilation.
3.5 Known Issues
3.5.1.1 Pointer Checker requires a dynamic runtime library
When using the -check-pointers option, the runtime library libchkp.so must be linked in.
When using options like -static or -static-intel with -check-pointers, be aware that
this dynamic library will be linked in regardless of your settings. See the article at
http://intel.ly/1jV0eWD for more information.
3.5.2 Known Issues with Intel® Many Integrated Core Architecture (Intel® MIC
Architecture)
3.5.2.1 Using offload code in shared libraries requires main program to be linked with
offload=mandatory or offload=optional option
There is initialization required for offload that can only be done in the main program. For offload
code in shared libraries, this means that the main program must also be linked for offload so
that the initialization happens. This will happen automatically if the main code or code statically
linked with the main program contains offload constructs. If that is not the case, you will need to
link the main program with the offload=mandatory or offload=optional compiler
options.
3.5.2.2 Missing symbols not detected at link time
In the offload compilation model, the binaries targeting the Intel® MIC Architecture are
generated as dynamic libraries (.so). Dynamic libraries do not need all referenced variables or
routines to be resolved during linking as these can be resolved during load time. This behavior
could mask some missing variable or routine in the application resulting in a failure during load
time. In order to identify and resolve all missing symbols at link time, use the following command
line option to list the unresolved variables.
-offload-option,mic,compiler,"-z defs"
3.5.2.3 *MIC* tag added to compile-time diagnostics
The compiler diagnostics infrastructure is modified to add an additional offload *MIC* tag to the
output message to allow differentiation from the Target (Intel® MIC Architecture) and the host
CPU compilations. The additional tag appears only in the Target compilation diagnostics issued
when compiling with offload extensions for Intel® MIC Architecture.
In the examples below the sample source programs trigger identical diagnostics during both the
host CPU and Target Intel® MIC Architecture compilations; however, some programs will