Read FIFO blocked with gfortran (vs ifort)

Giraudon Cyril cyril.giraudon@free.fr
Wed Sep 29 14:20:00 GMT 2010


 Le 28/09/2010 17:45, Steve Kargl a écrit :
> On Tue, Sep 28, 2010 at 04:48:01PM +0200, Giraudon Cyril wrote:
>> Le 28/09/2010 16:27, Steve Kargl a ?crit :
>>> On Tue, Sep 28, 2010 at 12:18:20PM +0200, Giraudon Cyril wrote:
>>>
>>> (snip)
>>>
>>>> and when i compile with gfortran : gfortran -o controlspice
>>>>  controlspice.f90
>>>> I have to stop the run cause it is blocked.
>>> (snip)
>>>
>>> Does
>>>
>>> setenv GFORTRAN_UNBUFFERED_ALL yes
>>>
>>> help (assuming tcsh)?
>>>
>>  Steve, thank you for your tip
>> But it has no effect :-(
>>
> Try adding 'flush(11)' after the 'write(11,...)' statements.
> I don't remember if the above environmental variable forces
> the flushing of io streams to disk.
>
No :-( it has no effect.

The issue occurs while the reading statement.
Can the "read buffer" be full ?

Cyril.



More information about the Fortran mailing list