Intel® Fortran Compiler 16.0 User and Reference Guide

ATTRIBUTES EXTERN

The ATTRIBUTES directive option EXTERN specifies that a variable is allocated in another source file. EXTERN can be used in global variable declarations, but it must not be applied to dummy arguments.

!DIR$ ATTRIBUTES EXTERN :: var

var

Is the variable to be allocated.

This option must be used when accessing variables declared in other languages.

See Also