How do I read only every tenth set of lines in a large file? A simple example is shown below. I thought I could use the increment for the do loop, but it seems that only changes the index T below, but does not skip over the desired set of lines.
IMPLICIT NONE
INTEGER :: T
REAL(8) :: RR,RS,RT
OPEN(UNIT=11,FILE='test.dat',STATUS='UNKNOWN',ACTION='READ')
DO T = 1,1000,10
READ(11,*) RR
READ(11,*) RS
READ(11,*) RT
ENDDO
CLOSE(11)
END PROGRAM TRACE