Large data calculating larger than 2GB

ref 1, 2

sometimes you could get that message below while compiling,

Warning: size ???????? out of range, ignored

Because the size of your calculation is bigger than 2GB.

Therefore, it is necessary to add this option.




pgf90 -mcmodel=medium test.f90


Then, it can be worked.

So, Simple 🙂