Overview of Coarray Fortran

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.

About This Tutorial

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

Estimated Duration

10-15 minutes.

Learning Objectives

Building and running a Fortran coarray application.

For more complete information about compiler optimizations, see our Optimization Notice.