Intel® Parallel Studio XE 2017 Composer Edition for C++ OS X* allows you to compile C and C++ source files on OS X* operating systems for Intel® 64 architectures.
Intel Parallel Studio XE 2017 Composer Edition for Fortran OS X* allows you to compile Fortran source files on OS X* operating systems for Intel 64 architectures.
Start using the tools from the Xcode Integrated Development Environment (IDE), or from a command line.
The product has tutorials with step by step instructions with sample code that you can compile into an application using the Intel compiler.
Before you can use these tools, you must first set the environment variables by running the compiler environment script compilervars.sh or compilervars.csh with an argument that specifies the target architecture.
The following procedure uses the compilervars.sh script:
Open a terminal session.
Run the compiler environment script compilervars.sh:
source <install-dir>/bin/compilervars.sh <arg>
where <install-dir> is the directory structure containing the compiler /bin directory, and <arg> is one of the following architecture arguments:
intel64: Compilers and libraries for Intel® 64 architectures only
ia32: Compilers and libraries for IA-32 architectures only
Note The default path for <install-dir> is /opt/intel/.
Build and debug your code
Use the following components to build optimized executables and libraries.
NOTE: use the compiler configuration script to configure the compiler and the related libraries listed below. See the compiler documentation for more information:
- Intel® C++ Compiler - a high-performance, optimized C and C++ cross compiler with the capability of offloading compute-intensive code to Intel® Many Integrated Core Architecture (Intel® MIC Architecture) as well as Intel® HD Graphics, and executing on multiple execution units by using Intel® Cilk™ parallel extensions.
- Intel® Fortran Compiler - a high-performance, optimized Fortran compiler.
- Enhanced GNU* Project Debugger (GDB) - GNU Debugger (GDB) with improvements for C++ and Fortran.
- Intel® Integrated Performance Primitives (Intel® IPP) - performance building blocks to boost embedded system performance.
- Intel® Math Kernel Library (Intel® MKL) - a set of highly optimized linear algebra, Fast Fourier Transform (FFT), vector math, and statistics functions.
- Intel® Threading Building Blocks (Intel® TBB) - a template-based runtime library that can help you harness the latent performance of multicore processors.
- Intel® Data Analytics Acceleration Library (Intel® DAAL) - a C++ and Java API library of optimized analytics building blocks for all data analysis stages, from data acquisition to data mining and machine learning. Essential for engineering high performance Big Data applications.
Start from the Xcode* IDE
For more information about using the compiler with the Xcode integrated development environment, see the Using Xcode* in the Getting Started section of the compiler documentation.
Start from the Command Line
Before you can use these tools, you must first set the environment variables as described above in the Prerequisites.
To invoke the Intel® C++ Compiler from the command line, open a terminal session and use a command similar to the following:
- For Fortran source files use
- For C source files, use
- For C++ source files, use
Following successful compilation, an executable is created in the current directory.
Note: icc/icpc is an EDG-based front-end. You cannot use Clang options with this compiler.
Training and Documentation
You can find documentation and samples using the information in this table.
|Online Training||The online training site is an excellent resource for training materials.|
This document contains the most up-to-date information about the product:
|Intel® Software Documentation Library (Intel® SDL)||
This is the online documentation library for Intel software products.
Product tour with videos and samples. You can download step-by-step guides.
|Software Developer Support||Site where you can browse the knowledge base, ask user community experts, and get additional help from Intel.|