Re: text-2-binary I/O switch issue
- From: David Koch <ogdude@xxxxxxxxxxxxxx>
- Date: Thu, 01 Feb 2007 14:22:26 +0100
Jan Vorbrüggen wrote:
How are the arrays allocated - at compile-time, dynamically with ALLOCATE or as automatic arrays? Sound like the usual problem of large arrays being allocated on a stack that's too small.
The program is in Fortran77, the arrays are allocated as follows: Main program reads data size from parameter file and passes the dimensions to the computational routine at the top of which arrays with the corresponding dimensions are allocated - is this "compile time" ? How do I check where the program crashes - it seems to be very early on, before/during the reading of the in-data ...
Also, one particular thing that struck me is that I store a bunch of arrays in unformatted, sequential: by liberally doing a write(1,*)
But the * indicates a list-directed write, which is a case of a FORMATTED
write! You want just a write (1) ...
Yeah, that was a typo - I use write(1) and the file size is so bloated, any ideas why?
.
- Follow-Ups:
- Re: text-2-binary I/O switch issue
- From: Jan Vorbrüggen
- Re: text-2-binary I/O switch issue
- References:
- text-2-binary I/O switch issue
- From: David Koch
- Re: text-2-binary I/O switch issue
- From: Jan Vorbrüggen
- text-2-binary I/O switch issue
- Prev by Date: Re: ANSI escape sequences Visual Fortran 6.6.0
- Next by Date: Re: Huge program, no interfaces, ugh
- Previous by thread: Re: text-2-binary I/O switch issue
- Next by thread: Re: text-2-binary I/O switch issue
- Index(es):
Relevant Pages
|
|