I/O slow (buffered?) ; can I change this?
Brooks Moses
brooks.moses@codesourcery.com
Sat Dec 16 07:30:00 GMT 2006
Rob wrote:
> Brooks wrote:
>> Try setting the GFORTRAN_UNBUFFERED_ALL environment
>> variable to "Y"
>
> BINGO! That's it.
> So it was not the tail command, as I verified that
> the file was just empty for long time. Hence, it's
> the (too long) buffering by Gfortran that causes
> this behaviour.
>
> How could I have learned about this myself?
> I can't find this in the manual pages....
Ah -- there's where the documentation problem is, then. :) The man
pages are only a small snippet of the full documentation, which is in
pdf or dvi form.
See http://gcc.gnu.org/onlinedocs/ for downloadable copies, or (if you
have Texinfo installed on your build system) run "make dvi" to create
.dvi versions of the manuals -- they'll be created in the gcc/doc
subdirectory of your build directory, and you can convert them to pdf
files with TeX's dvipdf command. On 4.2 and later, you just run "make
pdf", but I don't think that made it into 4.1.
In any case, you'll want the main gcc manual (gcc.pdf) for things that
are common to all the supported languages, and the fortran manual
(gfortran.pdf) for things specific to the Fortran compiler.
Alternately, "make info" will get you full documentation in .info form,
which you can read with the "info" command. Again, that needs Texinfo
installed, though.
In any case, yeah, the man pages should definitely include a pointer to
the full documentation somewhere. Currently, they only include the
command-line options.
- Brooks
More information about the Fortran
mailing list