This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: fortran io with g77 on redhat 7.2 for itanium ( IA64 )
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- To: Winfrid dot Tschiedel at hpc dot fujitsu-siemens dot com
- Cc: gcc at gnu dot org
- Date: Tue, 29 Apr 2003 23:57:16 +0200
- Subject: Re: fortran io with g77 on redhat 7.2 for itanium ( IA64 )
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <200304290746.JAA06607@raptor.hpc.fujitsu-siemens.com>
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)