I have a fortran code where I have to declare an array with 600000 elements.
In order to compile the code with gfortran I use the flag -fmax-array-constructor=600000
.
However, the same flag doesn't work when switching to ifortran. Do you know what flag I should use instead?
try making the array allocatable:
real,allocatable::a(:)
allocate(a(600000))