missing output
Izaak Beekman
ibeekman@paratools.com
Fri Dec 13 18:01:00 GMT 2019
Hi All,
I'm not sure but this could be an OpenCoarrays implementation issue. I
know that calling `ERROR STOP` will (sometimes) abort before any
`FLUSH` can complete even when running on only one image. I'm
surprised to see this with `STOP` however. Damian, have you tried
putting a `sync all` after the write/flush and before the `STOP`?
Thanks,
Zaak
Izaak "Zaak" Beekman
===========================================================
HPC Scientist
ParaTools Inc.
1509 16th St, NW
Washington, DC 20036
mobile: (917) 797-3239
email: ibeekman@paratools.com
pgp public key: https://keybase.io/zbeekman/pgp_keys.asc
pgp fingerprint: 1DB1 B5ED E321 22B2 8E56 810D CB21 118C 92A6 4702
===========================================================
On Wed, Dec 11, 2019 at 6:18 AM Janne Blomqvist
<blomqvist.janne@gmail.com> wrote:
>
> On Wed, Dec 11, 2019 at 11:22 AM Tobias Burnus <tobias@codesourcery.com> wrote:
> > Regarding libgfortran: it uses POSIX's 'write', which is unbuffered
> > according to the spec. But by default gfortran does internally buffers
> > I/O. However, you can use the environment variable
> > GFORTRAN_UNBUFFERED_PRECONNECTED (value: y/Y/1 or n/N/0) to force
> > unbuffered STDOUT/STDERR – and GFORTRAN_UNBUFFERED_ALL to use unbuffered
> > I/O for all files.
>
> True, but as Damian wrote that the write statement is followed by a
> flush statement for the corresponding unit, this should have no effect
> (or if there is, it's evidence for a bug).
>
>
> --
> Janne Blomqvist
More information about the Fortran
mailing list