This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: g77 size of variable too large


Fabian Braennstroem wrote:

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

There's something missing in this example, as this doesn't compile. Please send us a complete, compilable example.


Thanks,

--
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
GNU Fortran 95: http://gcc.gnu.org/fortran/ (under construction)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]