Stuart Midgley wrote:
> hmmm... I suspect it is compiler dependant. I know that a lot of
> compilers wrap data structures with a 32bit number at the start and end
> to represent the size of the data structure. In this case, you can
> only get 4GB if it is an unsigned int, or 2GB if it is a signed int.
Yes, individual static data structures on linux x86_64 are limited to
2GB by the linking tools provided with the OS. Allocatable arrays could
be much larger. Static data structures on other 64-bit OS could be much
larger.
There certainly is no definition within the Fortran standard about the
characteristics of "64-bit" operating systems. It may be compiler
dependent, but certainly is operating system dependent.
|