Tutorial: Using Coarray Fortran

ID 758501
Date 4/11/2022

Tutorial: Coarray Fortran Overview

The coarrays feature is only available for ifort. It is not available for ifx.

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.

32-bit coarrays are deprecated and will be removed in a future release.

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.

Did you find the information on this page useful?

Characters remaining:

Feedback Message