Getting Started with Intel® Parallel Studio XE Composer Edition for OS X*

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.

Prerequisites

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:

  1. Open a terminal session.

  2. 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:

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 ifort my_source_file.f90
  • For C source files, use icc my_source_file.c
  • For C++ source files, use icpc my_source_file.cpp

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.
Samples
Release Notes

This document contains the most up-to-date information about the product:

  • Known issues and limitations
  • System requirements for installing the product
  • Technical support
Intel® Software Documentation Library (Intel® SDL)

This is the online documentation library for Intel software products.

Evaluate Composer Edition

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.
For more complete information about compiler optimizations, see our Optimization Notice.