This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
g77 size of variable too large
- From: Fabian Braennstroem <f dot braennstroem at gmx dot de>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 06 Jan 2004 15:35:55 +0100
- Subject: g77 size of variable too large
- Organization: Fabian Braennstroem
- Reply-to: f dot braennstroem at gmx dot de
Hello,
For my Fortran-Code I use following in the COMMON-File:
parameter(it=478,jt=303,kt=215,nphit=8,nphito=8)
1/vectr/phi(it,jt,kt,nphit),phio(it,jt,kt,nphito),prt(nphit),
2 resor(nphit),reref(nphit),urf(nphit),ustarv(it,jt,kt),
3 phic(it,jt,kt,6),cs(it,jt,kt),tracel(it,jt,kt),
4 csk(it,jt,kt),
6 conve(it,jt,kt),convn(it,jt,kt),convh(it,jt,kt),
7 smp(it,jt,kt),dtfals(nphit)
I get an error like:
size of variable 'vectr_' is too large
With these parameters, it works fine:
parameter(it=164,jt=52,kt=100,nphit=8,nphito=8)
Does anybody know, if I have to adjust anything in the g77-source (like
for large-unit-numbers)? Or did I anything wrong?
Greetings!
Fabian