On 25.02.22 21:53, Bertini, Denis Dr. via Fortran wrote:
It seems that the value set in the foreseen environment variable is just
ignored.
And always a buffer size of 8kiB is used, which is the default values
for formatted I/O harcoded in libgfortran.
The only way to change this value is editing
Hi Thomas,
OK so i took your example ( exact copy) and compile it
with gfortran 11.2.
Then without setting the environment variable:
export GFORTRAN_UNFORMATTED_BUFFER_SIZE=20
i got
dbertini@lxbk0596:/lustre/rz/dbertini/fio > strace -e write ./fio
write(3,
"\220\1\0\0\1\0\0\0\2\0\0\0\3\0\0