save, Qsave

Causes variables to be placed in static memory.

IDE Equivalent

Windows: Data > Local Variable Storage
Linux: None

Architectures

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

Syntax

Linux: -save
Windows:  /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 if option recursive, -openmp (Linux), or /Qopenmp (Windows) is specified, the default is -automatic (Linux) or /Qauto (Windows).

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 on the run-time stack, specify option automatic.

Alternate Options

Linux: -noautomatic, -noauto
Windows: /noautomatic, /noauto, /4Na

See Also

automatic compiler option

auto_scalar compiler option