[Beowulf] Fortran Array size question

Mikhail Kuzminsky kus at free.net
Tue Nov 3 09:41:52 PST 2009


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.

Mikhail Kuzminsky
Computer Assistance to Chemical Research Center
Zelinsky Institute of Organic Chemistry RAS
Moscow 

>
>-- 
>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
>
>-- 
>Ýòî ñîîáùåíèå áûëî ïðîâåðåíî íà íàëè÷èå â íåì âèðóñîâ
>è èíîãî îïàñíîãî ñîäåðæèìîãî ïîñðåäñòâîì
>MailScanner, è ìû íàäååìñÿ
>÷òî îíî íå ñîäåðæèò âðåäîíîñíîãî êîäà.
>




More information about the Beowulf mailing list