Intel® Xeon Phi™ Coprocessor D
EVELOPER
’
S
Q
UICK
S
TART
G
UIDE
15
o
Intel® C++ and Fortran Composer XE 2013 SP1:
/opt/intel/composerxe/bin/compilervars.csh
or
compilervars.sh
script
with
intel64
as the argument, e.g.
source
/opt/intel/composerxe/bin/compilervars.sh intel64
The following scripts are run as a result of calling the
compilervars
script. To get your
environment properly initialized, it is advisable not to run them individually (Among other things,
there are ordering issues that might result in unpredictable behavior.)
o
Intel Debugger:
/opt/intel/composerxe/pkg_bin/idbvars.csh
or
idbvars.sh
script with
intel64
as the argument.
o
Intel TBB:
/opt/intel/composerxe/tbb/bin/tbbvars.csh
or
tbbvars.sh
with
intel64
as the argument.
o
Intel® MKL:
/opt/intel/composerxe/mkl/bin/mklvars.csh
or
mklvars.sh
with
intel64
as the argument.
Documentation and Sample Code
•
The most useful documentation can be found in
/opt/intel/composerxe/Documentation/en_US/
including:
o
compiler_c/main_cls/index.htm
and
compiler_f/main_cls/index.htm
-
complete documentation for Intel® C++ Compiler XE 13.0 SP1 and the Intel® Fortran Compiler
XE 2013 SP1.
Most information on how to build for the Intel® MIC Architecture can be found in the “Key
Features/Intel® MIC Architecture” section under “Programming for the Intel® MIC
Architecture”
Information on Intel® MIC Architecture intrinsics can be found in the “Compiler
Reference/Intrinsics” section under “Intrinsics for Intel® MIC Architecture”
o
Release_notes_*_2013SP1_l_en.pdf
- please read these carefully for known issues
and their workarounds, plus installation instructions, for all the tools with Intel® MIC
Architecture support. You’ll find Intel® MIC Architecture-specific information primarily in
section 3.
Note: For various reasons, this document can miss some last-minute updates. The most
recent
Release_notes_*_2013SP1_l_en.pdf
documents can be downloaded from the
Intel Registration Center (see Section “Steps to install the Software Development tools”).
o
debugger/debugger_documentation.htm
– Information on how to use the Intel
Debugger. You will find information specific to debugging Intel® MIC Architecture applications
under the “Debugging with the Intel® Debugger on Eclipse*” and “Debugging on the Command
Line” sections
•
Other documentation that includes sections on using the Intel® Xeon Phi™ Coprocessor:
o
The Intel MKL User’s Guide, which can be accessed via
mkl_documentation.htm
found in
/opt/intel/composerxe/Documentation/en_US/mkl
, contains a section called
“Using the Intel® Math Kernel Library on Intel® MIC Core Architecture Coprocessors” which
describes both “Automatic Offload” and “Compiler Assisted Offload” of Intel® MKL functions.
o
Information on collecting performance data on the Intel® Xeon Phi™ Coprocessor
using VTune
Amplifier XE 2013 for Linux* can be found in