On May 12, 9:22=A0pm, rudra <bnrj.ru...@[EMAIL PROTECTED]
> wrote:
> dear friends,
> =A0i am using ifort compiler in linux.
> when i am trying to write something like
> write(*,'(1x,'a20',advance=3D'no')"STARTING CALCULATION"
> .
> !do the calculation.
> .
> write(*,'a18')"calculation done'
>
> i am expecting the program to write "STARTING CALCULATION" at the
> beginning of the calc; do the calc. and write "calculation done' in
> the same line when its over.
> but its not doing the same thing..rather its waiting to finish the
> calc. and writing the whole line in one go...anu idea?
I can write thar like this ....
write(*,'(1x,a20)',advance=3D'no') "STARTING CALCULATION"
!do the calculation.
write(*,'(a18)') "calculation done"


|