Arguments and Variables

See more details in Setting Arguments and Variables.

Option

Description

Default

-align
 

Analyze and reorder memory layout for variables and arrays.

-align

-noalign

Disables -align.

OFF

-auto
 

Makes all local variables AUTOMATIC. Causes all variables to be allocated on the stack, rather than in local static storage.

OFF

-auto_scalar

Causes scalar variables of rank 0, except for variables of the COMPLEX or CHARACTER types, to be allocated on the stack, rather than in local static storage.
Enables the compiler to make better choices concerning variables that should be kept in registers during program execution. On by default.

ON

-common_args
 

Assumes "by reference" subprogram arguments may have aliases of one another.

OFF

-implicitnone

Enables the default IMPLICIT NONE.

OFF

-safe_cray_ptr

Specifies that Cray pointers do not alias with other variables.

OFF

-save
 

Forces the static allocation of variables in static storage, except local variables within a recursive routine. If a routine is invoked more than once, this option forces the local variables to retain their values from the last invocation terminated. Opposite of -auto.

OFF

-u

Enables the default IMPLICIT NONE. Same as
-implicitnone.

OFF

-zero
 

Initializes all data to zero. It is most commonly used in conjunction with -save.

OFF