public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* maximum number of variables?
@ 2005-08-30 21:01 Nicolas Ouellette
  2005-08-30 21:08 ` Bob Rossi
  2005-08-30 23:01 ` corey taylor
  0 siblings, 2 replies; 11+ messages in thread
From: Nicolas Ouellette @ 2005-08-30 21:01 UTC (permalink / raw)
  To: gcc-help

Hello

I am presently running a huge code following the hydrodynamical evolution of 
a system (in 2 dimentions).  I store the quantities evolving (density, 
velocity, pressure) into large 2-D arrays.  Recently, I tried to make my 2-D 
arrays bigger (to study a bigger system) and eventually, I reached a certain 
point where I was getting a "segmentation error".  The only thing I changed 
was the size of my arrays.

I deleted a few arrays that were redundant (making my code less user 
friendly), and I found that I could slightly increase the size of my arrays 
until I reached the "segmentation error".

Here are my questions:  1) Is there a maximum number of variables allowed 
when using gcc? (from my experience I am guessing yes) 2) Is there a way to 
increase the number of variables allowed when using gcc?

Thanking you for your help

Nicolas Ouellette


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-09-01  8:20 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-30 21:01 maximum number of variables? Nicolas Ouellette
2005-08-30 21:08 ` Bob Rossi
2005-08-30 21:41   ` Nicolas Ouellette
2005-08-30 22:13     ` Lexington Luthor
2005-08-31  1:01       ` Bob Rossi
2005-08-31  4:20         ` Ian Lance Taylor
2005-08-31  9:13           ` Re[2]: " Miguel A. Nuñez
2005-08-31 11:17             ` Bob Rossi
2005-09-01  8:20               ` Re[2]: " Miguel A. Nuñez
2005-08-31 11:19           ` Bob Rossi
2005-08-30 23:01 ` corey taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).