User and Reference Guide for the Intel® Fortran Compiler 14.0

save, Qsave

Causes variables to be placed in static memory.

Syntax

Linux OS and OS X:

-save

Windows OS:

/Qsave

Arguments

None

Default

-auto-scalar
or /Qauto-scalar

Scalar variables of intrinsic types INTEGER, REAL, COMPLEX, and LOGICAL are allocated to the run-time stack. Note that the default changes to auto if option recursive or [Q]openmp is specified.

Description

This option saves all variables in static allocation except local variables within a recursive routine and variables declared as AUTOMATIC.

If you want all local, non-SAVEd variables to be allocated to the run-time stack, specify option automatic.

IDE Equivalent

Windows: Data > Local Variable Storage

Linux: None

OS X: Data > Local Variable Storage

Alternate Options

Linux and OS X: -noauto

Windows: /noauto, /4Na

See Also


Submit feedback on this help topic