force write in Gfortran

Paulo Ziemer ziemer@lncc.br
Fri Mar 24 14:45:00 GMT 2006


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. Anyone knows a good strategy to debug the file acess / write 
process?  Sometime files are not created or only the first write command 
is correctly written (in the case we have several write commands in 
sequence).

Ok.

Thanks for any support

Paulo Ziemer

 



<http://gcc.gnu.org/onlinedocs/gfortran/GFORTRAN_005fUNBUFFERED_005fALL.html#GFORTRAN_005fUNBUFFERED_005fALL> 




More information about the Fortran mailing list