Hi,
I was trying to compile a fortran subroutine, using gcc compiler. I got the following errors during compilation,
radff.f:4339.25:
RANDOM(I) = rand(random(max(1,i-1)))
1
Error: 'i' argument of 'rand' intrinsic at (1) must be INTEGER
radff.f:4350.28:
RANDOM(I) = rand(random(max(1,i-1)))
1
Error: 'i' argument of 'rand' intrinsic at (1) must be INTEGER
Can you please help to suggest how to fix it. Thanks.
I was trying to compile a fortran subroutine, using gcc compiler. I got the following errors during compilation,
radff.f:4339.25:
RANDOM(I) = rand(random(max(1,i-1)))
1
Error: 'i' argument of 'rand' intrinsic at (1) must be INTEGER
radff.f:4350.28:
RANDOM(I) = rand(random(max(1,i-1)))
1
Error: 'i' argument of 'rand' intrinsic at (1) must be INTEGER
Can you please help to suggest how to fix it. Thanks.