The Intel® Fortran Compiler XE 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. Coarray Fortran uses a single-program, multi-data programming model (SPMD).
Coarrays are supported in the Intel® Fortran Compiler XE for Linux* and Intel® Visual Fortran Compiler XE for Windows*.
This tutorial demonstrates how to compile a simple coarray Fortran application using the Intel Fortran Compiler XE, and how to control the number of images (processes) for the application.
To begin this tutorial, locate the source file in the product's Samples directory:
<install-dir>/Samples/<locale>/Fortran/coarray_samples/hello_image.f90
Copy hello_image.f90 to a working directory, then continue with this tutorial.
The Intel Fortran Compiler implementation of coarrays follows the standard provided in a draft version of the Fortran 2008 Standard. Not all features present in the Fortran 2008 Standard may be implemented by Intel. Consult the Release Notes for a list of supported features.
Copyright © 2011, Intel Corporation. All rights reserved.