Parallel Studio XE 2017: Getting Started with the Intel® Fortran Compiler 17.0 for OS X*

The Intel® Fortran Compiler compiles Fortran source files for Intel® 64 architecture.

Start using the compiler from the command line or within Xcode*.

Prerequisites

Before you can use this tool, you must first set the environment variables by sourcing the environment script as described in the edition-level Getting Started documentation.

Using the Command Line

To invoke the compiler from the command line, use a command similar to the following:

ifort my_source_file.f90

Following successful compilation, the compiler creates an executable file in the current directory.

Start from Xcode*

You must first create or choose an existing Xcode* project. These instructions assume you are using an existing project.

  1. Select the target you want to change and click Build Rules.

  2. Add a new rule by clicking a + button or using Editor > Add Build Rule.

  3. Under Process, select Fortran source files.

  4. Under Using, select Intel® Fortran Compiler 17.0.

  5. Select the target to be built in the project editor under Targets.

  6. Select Product > Build.

Training and Documentation

Document Description

Online Training

The online training site is an excellent resource for training on using the compiler: https://software.intel.com/en-us/fortran-compilers-support/training

Release Notes

Information on the product installation, new and changed features, and issues that are not described in the product documentation.

Samples and Tutorials

Code samples and corresponding tutorials. Learn specific compiler optimizations, features, tools, and programming concepts.

Intel® Fortran Compiler 17.0 Developer Guide and Reference

The Intel® Compiler documentation contains information on:

  • How to get started using the command line or Xcode*

  • Support for technologies including Fortran language extensions, coarrays, and fpp preprocessing

  • Compiler reference material, including options, program structures, class and math libraries, and much more

OpenMP* 4.5 API Fortran Syntax Quick Reference Card

Provides a summary of the OpenMP specification.

Intel® Software Documentation Library

Software product documentation

Other help

You can access general help for compiler options after setting up the environment by entering ifort -help at the command line.

Para obtener información más completa sobre las optimizaciones del compilador, consulte nuestro Aviso de optimización.