The current standard doesn't allow for the possibility that the SIZE of an
array may not fit in a default integer. Compaq Fortran has added KIND= to
SIZE and other inquiry intrinsics (LEN, for example) to accomodate this, and
I understand that it has at least been discussed among various implementers.
Offhand, I don't know whether it has been brought up at a standards meeting,
but I'm sure that others on this list do.
Steve Lionel
Compaq Fortran Engineering
http://www.compaq.com/fortran
-----Original Message-----
From: Aleksandar Donev [mailto:[log in to unmask]]
Sent: Tuesday, February 27, 2001 12:31 PM
To: [log in to unmask]
Subject: Huge arrays and default INTEGERs
Hello,
It seems to me that the Fortran standard is made so that array sizes are
always assumed to be "small" enough to fit in a default integer. So,
SIZE(array) returns a default integer. Is it at all possible to have arrays
whose size is, say, a double precision integer (this is not even in the
standard set of types in the standard). I am thinking of a parallel
application with lots of memory, say 10-100 GB, which can not be addressed
by a default 32-bit integer. I haven't ever used such a huge memory, but it
seems a possibility.
What is the standard standing on this?
Thanks,
Aleksandar
_____________________________________________
Aleksandar Donev
http://www.pa.msu.edu/~donev/
[log in to unmask]
(517) 432-6770
Department of Physics and Astronomy
Michigan State University
East Lansing, MI 48824-1116
_____________________________________________
|