Download Intel® Fortran Compiler for Linux* Systems User's Guide, Volume I

Transcript
Intel® Fortran Compiler for Linux* Systems User's Guide, Volume I: Building
Applications
-auto_scalar causes allocation of scalar variables of intrinsic types INTEGER,
REAL, COMPLEX, and LOGICAL to the stack.
-auto_scalar does not affect variables that appear in EQUIVALENCE or
SAVE statements, or those that are in common blocks. -auto_scalar may
provide a performance gain for your program, but if your program depends on
variables having the same value as the last time the routine was invoked, your
program may not function properly. Variables that need to retain their values
across subroutine calls should appear in a SAVE statement.
-auto makes all local variables AUTOMATIC, causing all variables to be
allocated on the stack, rather than in local static storage. It does not affect
variables that have the SAVE attribute or appear in an EQUIVALENCE statement
or in a common block.
-save saves all variables in static allocation except local variables within a
recursive routine.
-auto might provide a performance gain for your program, but if your program
depends on variables having the same value as the last time the routine was
invoked, your program might not function properly.
-double_size {64|128}
Default: -double_size 64
Defines DOUBLE PRECISION and DOUBLE COMPLEX declarations, constants,
functions, and intrinsics.
-double_size 64 defines DOUBLE PRECISION declarations, constants,
functions, and intrinsics as REAL*8 and defines DOUBLE COMPLEX
declarations, functions, and intrinsics as COMPLEX*16.
-double_size 128 defines DOUBLE PRECISION declarations, constants,
functions, and intrinsics as REAL*16 and (for Fortran 90 and 95) defines
DOUBLE COMPLEX declarations, functions, and intrinsics as COMPLEX*32.
-dyncom "blk1,blk2,..."
Enables dynamic allocation of the specified common blocks at run time.
Example: For common blocks A, B, and C, use this syntax:
-dyncom "a,b,c"
49