Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 3/31/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

coarray-num-images, Qcoarray-num-images

Specifies the default number of images that can be used to run a coarray executable.

Syntax

Linux:

-coarray-num-images=n

macOS:

None

Windows:

/Qcoarray-num-images:n

Arguments

n

Is the default number of images. The limit is determined from the system configuration.

Default

OFF

The number of images is determined at runtime.

Description

This option specifies the default number of images that can be used to run a coarray executable.

This option has no affect unless you also specify the [Q]coarray option. This option is required to create the coarray executable.

You can specify option [Q]coarray-num-images to specify the default number of images that can be used to run a coarray executable. If you do not specify that option, you get the number of execution units on the current system.

Note that when a setting is specified in environment variable FOR_COARRAY_NUM_IMAGES, it overrides the compiler option setting.

IDE Equivalent

Visual Studio: Language > Coarray Images

Alternate Options

None

See Also