Hi!
I'm a novice in fortran and I have a very simple problem.
I have a very large input file (more than 1.000.000 rows) and I need to read ONLY one row every 8 (row 1, 9, 17, ... and so on, up to the end of file).
I try with a simple do-loop, but something doesn't work...
do i= 1, nmax, 8
read(1, *) var
enddo
Any suggestion????
Thanks in advance!
I'm a novice in fortran and I have a very simple problem.
I have a very large input file (more than 1.000.000 rows) and I need to read ONLY one row every 8 (row 1, 9, 17, ... and so on, up to the end of file).
I try with a simple do-loop, but something doesn't work...
do i= 1, nmax, 8
read(1, *) var
enddo
Any suggestion????
Thanks in advance!