This is the mail archive of the
mailing list for the GCC project.
Re: large arrays and g77
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- To: AGNIESZKA SZARECKA <szarecka+ at pitt dot edu>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Mon, 04 Mar 2002 18:08:22 +0100
- Subject: Re: large arrays and g77
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <Pine.GSO.4.33P.email@example.com>
AGNIESZKA SZARECKA wrote:
> I've got the following question.
> I'm trying to run my code that requires using a one-dimensional array
> of size circa 500 000 000. The compiler states the array is too large to
> Is such a thing caused only by the limitations of my hardware or possibly
> a compiler also has its own which can perhaps be overcome somehow?
This limitation will be solved in the upcoming release (GCC-3.1). Note
that not much more than 500 000 000 reals in an array is possible, due
to the fact that that gets at the limit of 2^31 addressable bytes.
Toon Moene - mailto:firstname.lastname@example.org - 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)