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]

Re: G77 problem and help needed


Martin Gruenewald wrote:

> Well, no: seeing the error message I tried it on a 256MB RAM and 512MB
> swap system (Linux 2.2), and it still does not compile. In fact, I
> have not found any system on which it compiles, which tells me that
> G77 just uses too much resources for a task which, when done
> sequential when reading the file, should be doable with tiny memory
> requirements.

Yes, that's why we want to fix it in the long run :-)

> Do you have other ideas? A hidden flag to tell G77 not to do anything
> fancy? I tried various combinations of options but without success.

Apparently, the BLOCK DATA file is generated automatically:

CDECK  ID>, WTMXSMP1.
      BLOCK DATA WTMX_SMP1
!     made by  in_file2blkd
!     from src/koralw/data_files/data_wtmax.fit.smp1
      Parameter (LenWTMXSMP1=1739)
      Character*2354 WTMXSMP1_LN(LenWTMXSMP1)
      COMMON /WTMXSMP1 / WTMXSMP1_LN

etc.

Would it be possible to have the program in_file2blkd generate an input
file so that

      Parameter (LenWTMXSMP1=1739)
      Character*2354 WTMXSMP1_LN(LenWTMXSMP1)
      COMMON /WTMXSMP1 / WTMXSMP1_LN
      READ(unit,'(A)') WTMXSMP1_LN

would be sufficient to initialise the array WTMXSMP1_LN ?

Kind regards,

-- 
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
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)


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