Yeliang Zhang wrote:
>Hi,
>
>I was trying to use
>
>flush(5)
>read(*,*) x
>
>
Aside from any MPI related questions, there's no guarantee in what you have posted of any connection between unit=5 and unit=*, nor even any de facto expectation of what a flush() call would do to an input stream.
|