Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

variable declarations

Deleted_U_Intel
Employee
414 Views
Compiling the following code gives me an error message

integer, private, parameter :: I8 = selected_int_kind( 18 )

integer(I8), private, SAVE :: &
& RN_MULT = 5_I8**19, &
& RN_ADD = 0_I8, &
& RN_STRIDE = 152917, &
& RN_SEED0 = 5_I8**19, &
& RN_MOD = 2_I8**48, &
& RN_MASK = 2_I8**48 - 1_I8, &
& RN_PERIOD = 2_I8**46

** ERROR **
The INTEGER(KIND=4) value is out-of-range.
INTEGER(I8), private, SAVE :: RN_MULT = 5_I8**18

What is it thinking is KIND=4 in that variable declaration. I get an error for each declaration. Thanks.
0 Kudos
1 Reply
Steven_L_Intel1
Employee
414 Views
Looks like a bug to me. Please report it to Premier Support.
0 Kudos
Reply