integer-size

Specifies the default KIND for integer and logical variables.

IDE Equivalent

Windows: Data > Default Integer KIND

Linux: None

Mac OS X: Data > Default Integer KIND

Architectures

IA-32, IntelĀ® 64, IA-64 architectures

Syntax

Linux and Mac OS X:

-integer-size size

Windows:

/integer-size:size

Arguments

size

Is the size for integer and logical variables. Possible values are: 16, 32, or 64.

Default

integer-size 32

Integer and logical variables are 4 bytes long (INTEGER(KIND=4) and LOGICAL(KIND=4)).

Description

This option specifies the default size (in bits) for integer and logical variables.

Option

Description

integer-size 16

Makes default integer and logical variables 2 bytes long. INTEGER and LOGICAL declarations are treated as (KIND=2).

integer-size 32

Makes default integer and logical variables 4 bytes long. INTEGER and LOGICAL declarations are treated as (KIND=4).

integer-size 64

Makes default integer and logical variables 8 bytes long. INTEGER and LOGICAL declarations are treated as (KIND=8).

Alternate Options

integer-size 16

Linux and Mac OS X: -i2

Windows: /4I2

integer-size 32

Linux and Mac OS X: -i4

Windows: /4I4

integer-size 64

Linux and Mac OS X: -i8

Windows: /4I8