Intel® Fortran Compiler 17.0 Developer Guide and Reference
Specifies the default KIND for integer and logical variables.
Linux and macOS: | -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 declarations, constants, functions, and intrinsics 2 bytes long. INTEGER and LOGICAL declarations are treated as (KIND=2). Integer and logical constants of unspecified KIND are evaluated in INTEGER (KIND=2) and LOGICAL(KIND=2)respectively. |
integer-size 32 |
Makes default integer and logical declarations, constants, functions, and intrinsics 4 bytes long. INTEGER and LOGICAL declarations are treated as (KIND=4). Integer and logical constants of unspecified KIND are evaluated in INTEGER (KIND=4) and LOGICAL(KIND=4)respectively. |
integer-size 64 |
Makes default integer and logical declarations, constants, functions, and intrinsics 8 bytes long. INTEGER and LOGICAL declarations are treated as (KIND=8). Integer and logical constants of unspecified KIND are evaluated in INTEGER (KIND=8) and LOGICAL(KIND=8)respectively. |
Visual Studio: Data > Default Integer KIND
Eclipse: None
Xcode: Data > Default Integer KIND
integer-size 16 |
Linux and OS X: -i2 Windows: /4I2 |
integer-size 32 |
Linux and OS X: -i4 Windows: /4I4 |
integer-size 64 |
Linux and OS X: -i8 Windows: /4I8 |