From: "Dann Corbit" <dcorbit@solutionsiq.com>
Subject: Re: max. array size GNU C compiler...
Date: 1999/08/19 [thread overview]
Message-ID: <m7%u3.1205$376.5169@client> (raw)
In-Reply-To: 37BC4252.F83CD3E@ekkinc.com
EKK <ekk@ekkinc.com> wrote in message news:37BC4252.F83CD3E@ekkinc.com...
> What is the maximum array size, using GNU C compiler?
>
> It looks like g77 complains after about 12000000.
Assuming doubles, that's about 100 megabytes. Do you have:
0. 100 megs of memory?
1. User rights to a block that large?
g77 is a Fortran compiler. Why are you asking in news:comp.lang.c?
> I'm considering getting an Alpha system with 2GB RAM, but
> don't know if I'll be able to compile software to handle
> it.
> Would a 64-bit system make a difference? I would guess the
> compilers would have to be re-written.
There are definitely compilers that will allocate huge amounts of memory.
For a problem that large, you should seriously consider looking into
commercial optimizing compilers. KAP has a preprocessor for Fortran. It
could make a considerable difference in performance.
> Is there a commercial compiler which could handle this
> size?
Probably. But we have no idea what architecture you are using. I think
you'de be hard pressed to find one for (for instance) CP/M.
> Anybody got any idea? I had never considered a 64-bit
> system such as Alpha before, but now might be the time...
We use them here, and I love them. But we Run OpenVMS and commercial
compilers. I have no idea how G77 would fare on such a beast.
> Anybody using g77 on Alpha, do you know if there is a
> limitation?
Try one of the Fortran groups after reading their FAQ first.
--
C-FAQ: http://www.eskimo.com/~scs/C-faq/top.html
"The C-FAQ Book" ISBN 0-201-84519-9
C.A.P. Newsgroup http://www.dejanews.com/~c_a_p
C.A.P. FAQ: ftp://38.168.214.175/pub/Chess%20Analysis%20Project%20FAQ.htm
next prev parent reply other threads:[~1999-08-19 4:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-08-19 4:00 max. array size GNU C compiler EKK
1999-08-19 4:00 ` Ben Pfaff
1999-08-19 4:00 ` EKK
1999-08-19 4:00 ` Ben Pfaff
1999-08-19 4:00 ` EKK
1999-08-19 4:00 ` Thomas_Matthews
1999-08-20 4:00 ` EKK
1999-08-20 4:00 ` Andrew P. Mullhaupt
1999-08-24 4:00 ` Toon Moene
1999-08-19 4:00 ` Dann Corbit [this message]
1999-08-19 4:00 ` EKK
1999-08-20 4:00 ` Volker Hetzer
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox