force write in Gfortran
Tim Prince
tprince@myrealbox.com
Fri Mar 24 15:10:00 GMT 2006
Paulo Ziemer wrote:
> Hi,
>
> Is there any way to force Gfortran not buffer and write immediately to
> a file? I have tried to use the environment GFORTRAN_UNBUFFRED_ALL but
> it didn't work.
> Using ifort compiler the results are written much more faster than using
> Gfortran.
I'm guessing you aren't using 'ifort -assume buffered_io' which is often
needed for good performance. When you want to over-ride buffering, you
have possibilities such as issuing a flush call (not standard Fortran).
More information about the Fortran
mailing list