gen-interfaces

Tells the compiler to generate an interface block for each routine in a source file.

IDE Equivalent

Windows: External Procedures > Generate Interface Blocks
Linux: None

Architectures

IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture

Syntax

Linux: -gen-interfaces
-nogen-interfaces
Windows: /gen-interfaces
/nogen-interfaces

Arguments

None

Default

nogen-interfaces The compiler does not generate interface blocks for routines in a source file.

Description

This option tells the compiler to generate an interface block for each routine (that is, for each SUBROUTINE and FUNCTION statement) defined in the source file. The compiler generates two files for each routine, a .mod file and a .f90 file, and places them in the current directory or in the directory specified by the include or module option. The .f90 file is the text of the interface block; the .mod file is the interface block compiled into binary form.

Alternate Options

None