-qmoddir

Category

Output control

@PROCESS

None.

Purpose

Specifies the location for any module (.mod) or Fortran 2008 beginssubmoduleFortran 2008 ends (.smod) files that the compiler writes.

Syntax

Read syntax diagramSkip visual syntax diagram
>>- -q--moddir--=--directory-----------------------------------><

Defaults

Not applicable.

Usage

If you do not specify -qmoddir, the .mod or .smod files are placed in the current directory.

To read the .mod or .smod files from this directory when compiling files that reference the modules or Fortran 2008 beginssubmodulesFortran 2008 ends, use the -I option.

Related information