# coarray-config-file, Qcoarray-config-file

Specifies the name of a Message Passing Interface (MPI) configuration file.

## Syntax

Linux: | -coarray-config-file=filename

macOS: | None

Windows: | /Qcoarray-config-file:filename

## Arguments

filename

  Is the name of the MPI configuration file. You can specify a path.

## Default

OFF | When coarrays are enabled, the compiler uses default settings for MPI.

## Description

This option specifies the name of a Message Passing Interface (MPI) configuration file. This file is used by the compiler when coarrays are processed; it configures the MPI for multi-node operations.

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

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

## IDE Equivalent

Visual Studio: Language > MPI Configuration File

## Alternate Options

None

Parent topic: Advanced Optimization Options

## See Also

coarray, Qcoarray compiler option