[Beowulf] Fortran Array size question

Prentice Bisbal prentice at ias.edu
Tue Nov 3 13:17:02 EST 2009


Mikhail Kuzminsky wrote:
> In message from Prentice Bisbal <prentice at ias.edu> (Tue, 03 Nov 2009
> 12:09:07 -0500):
>> This question is a bit off-topic, but since it involves Fortran minutia,
>> I figured this would be the best place to ask. This code may eventually
>> run on my cluster, so it's not completely off topic!
>>
>> Question: What is the maximum number of elements you can have in a
>> double-precision array in Fortran? I have someone creating a
>> 4-dimensional double-precision array. When they increase the dimenions
>> of the array to ~200 million elements, they get this error:
>>
>> compilation aborted (code 1).
>>
>> I'm sure they're hitting a Fortran limit, but I need to prove it. I
>> haven't been able to find anything using The Google.
> 
> It is not Fortran restriction. It may be some compiler restriction.
> 64-bit ifort for EM64t allow you to use, for example, 400 millions
> elements.
> 

That's exactly the compiler I'm using, and it's failing at ~200 million
elements. I'm  digging through the Intel documentation. Haven't found an
answer yet.

--
Prentice
_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org sponsored by Penguin Computing
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf



More information about the Beowulf mailing list