Hi Denis, if editing of unix.c works: is it possible that you either misspelled the name of the environment variable, forgot to export it, or if you are running under MPI, you need to make sure that the variable is MPI-exported to all ranks?
Cheers, Harald Gesendet: Mittwoch, 23. Februar 2022 um 22:23 Uhr Von: "Bertini, Denis Dr." <d.bert...@gsi.de> An: "Harald Anlauf" <anl...@gmx.de> Cc: "fortran@gcc.gnu.org" <fortran@gcc.gnu.org> Betreff: Re: Problem setting buffer size for gfortran ( v 11.2) Hi Harald, I ran also the same with gfortran v11.2. together with singularity and did not work as well. Then i change the defintion of the buffer size in unix.c to default at 1 MiB and it works. What do you mean by vendor? Do you think the problem could be linked to running fortran within singularity container? Best Denis ------------------------------------------------------------ From: Harald Anlauf <anl...@gmx.de> Sent: Wednesday, February 23, 2022 10:18:17 PM To: Bertini, Denis Dr. Cc: fortran@gcc.gnu.org Subject: Re: Problem setting buffer size for gfortran ( v 11.2) Hi Denis, if I'm reading the strace output correctly, you're running the app with gfortran-8 (too old) under singularity (virtualization software). I'm afraid you need to contact your vendor or system folks. Cheers, Harald Gesendet: Mittwoch, 23. Februar 2022 um 21:59 Uhr Von: "Bertini, Denis Dr." <d.bert...@gsi.de> An: "Harald Anlauf" <anl...@gmx.de>, "fortran@gcc.gnu.org" <fortran@gcc.gnu.org> Betreff: Re: Problem setting buffer size for gfortran ( v 11.2) Hi Harald, I do not know why the attachment was not sent with my email I try again Best Denis