This is the mail archive of the gcc@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: fortran io with g77 on redhat 7.2 for itanium ( IA64 )


Winfrid Tschiedel wrote:

Now my questions - do you have already a solution for large records ( > 2 or 4 GBytes ) and how does it look like, and when it will be available.

No, unfortunately not. The size of the record lengths embedded in unformatted sequential files (and those used for direct access files) just have the size of whatever happens to be `long' on the architecture g77 and its run-time library were compiled for.


So on most architectures this is 32 bits, except for Alpha, where it is 64 bits.

It's not easy to change this in such a way that everyone could still read his/her old unformatted sequential files *and* use the larger size when necessary.

[ Not easy here means: g77 is in maintenance mode and this can only
  be solved by introducing a compile time option that determines
  the size of the type used for record lengths, which is a pretty
  involved change ]

I'm sorry.

--
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-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]