Tutorial

Overview

The coarrays feature of Fortran 2008 provides a Single Program Multiple Data (SPMD) approach to parallelism, which is integrated into the Fortran language for ease of programming. An application using coarrays runs the same program, called an image, in parallel, where coarray variables are shared across the images in a model called Partitioned Global Address Space (PGAS).

This tutorial shows you how to build and run a serial application, and then convert it to run in parallel using coarrays.

Introduction to Using Coarray Fortran

The Intel® Fortran Compiler supports parallel programming using coarrays as defined in the Fortran 2008 standard. As an extension to the Fortran language, coarrays offer one method to use Fortran as a robust and efficient parallel programming language. Coarrays are supported in the Intel® Fortran Compiler.

This tutorial demonstrates writing, building, and running a Fortran application using coarrays.

This tutorial is available for Windows* only.

Subscribe to Tutorial