Specifies the default KIND for integer and logical variables.
Windows: Data > Default Integer
KIND
Linux: None
Mac OS: Data > Default Integer KIND
IA-32 architecture, Intel® 64 architecture, IA-64 architecture
Linux and Mac OS: | -integer-size size |
Windows: | /integer-size:size |
size | Is the size for integer and logical variables. Possible values are: 16, 32, or 64. |
integer-size 32 | Integer and logical variables are 4 bytes long (INTEGER(KIND=4) and LOGICAL(KIND=4)). |
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). |
integer-size 16 | Linux and Mac
OS: -i2 Windows: /4I2 |
integer-size 32 | Linux and Mac
OS: -i4 Windows: /4I4 |
integer-size 64 | Linux and Mac
OS: -i8 Windows: /4I8 |