This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: G77 question
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- To: Duane Gustavus <duane at unt dot edu>
- Cc: gcc at gnu dot org
- Date: Fri, 09 Aug 2002 18:21:35 +0200
- Subject: Re: G77 question
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <20020809105120.A3726@unt.edu>
Duane Gustavus wrote:
r2compLi.f:16:
complex*16 scrap(ldims,maxn)
^
Array `scrap' at (^) is too large to handle
Changing the array values from scrap(2180,15400) to scrap(2170,15400) will
allow the program to compile without error. I believe the array size crosses
the 512meg boundry between those two declarations, and suppose that is the
source of the "too large to handle" message. I tried a similar sized array
in gcc and see no compiler errors messages. I have tried this on several
Intel/AMD systems (all 32bit architecture) and would like to be running it
on one with 2G ram which it seems should easily handle this array.
Indeed - this restriction is removed in GCC/g77-3.1 and onwards.
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)