<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 12pt; color: #000000'><br>>----- Original Message -----<br>>From: "Prentice Bisbal" <prentice@ias.edu><br>>To: "Beowulf Mailing List" <beowulf@beowulf.org><br>>Sent: Tuesday, November 3, 2009 1:24:00 PM GMT -06:00 US/Canada Central<br>>Subject: Re: [Beowulf] Fortran Array size question<br>><br>>Greg Lindahl wrote:<br>>> On Tue, Nov 03, 2009 at 01:17:02PM -0500, Prentice Bisbal wrote:<br>>> <br>>>> That's exactly the compiler I'm using, and it's failing at ~200 million<br>>>> elements. I'm  digging through the Intel documentation. Haven't found an<br>>>> answer yet.<br>>> <br>>> Your bug report was incomplete: it really matters if the array is<br>>> automatic or not, or if it's initialized.<br>>> <br>>You're right -  I should have included a code snippet. It's not my code,<br>>so I don't know if I can share all of it. Here's the line where the<br>>problem occurs:<br>><br>>dimension vstore(1:4,0:4,5000000,2),fstore(0:4,5000000,2)<br>><br>>If he reduces the 5000000 to a smaller number, it compiles. As shown, he<br>>gets this error:<br>><br>>ifort adaptnew2.for<br>>...<br>>...<br>>compilation aborted for adaptnew2.for (code 1)<br><br><div>Prentice,</div><div><br></div><div>I do not think the Fortran standard limits the size of one dimension</div><div>in an array, although you can have only 7 dimensions.  This to me must</div><div>be a limit internal to their compiler.  There may be an environmental variable</div><div>to reset.  I would try another Fortran (maybe gfortran) to see if you get similar</div><div>behavior or find another (different) limit.  </div><div><br></div><div>Limits should really be operating system imposed based on the </div><div>size of the address space.  Intel says as much on the website </div><div>describing their compiler.</div><div><br></div><div>Regards,</div><div><br></div><div>rbw<br>Thrashing River Computing<br>_______________________________________________<br>Beowulf mailing list, Beowulf@beowulf.org sponsored by Penguin Computing<br>To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf<br></div></div></body></html>