integer_size

Specifies the default KIND for integer and logical variables.

IDE Equivalent

Windows: Data > Default Integer KIND
Linux: None

Architectures

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

Syntax

Linux: -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: -i2
Windows: /4I2
integer_size 32   Linux: -i4
Windows: /4I4
integer_size 64   Linux: -i8
Windows: /4I8