Page 1 of 1

fft3dlib.f90: Warning: Sharing of a DO termination statement...

Posted: Wed Oct 25, 2006 10:44 am
by lahaye
My Intel fortran compiler says here:

fft3dlib.f90(1450): fortcom: Warning: fft3dlib.f90, line 1707:
Sharing of a DO termination statement by more than one DO
statement is obsolete. Use an END DO or CONTINUE statement
for each DO statement. [20]
20 CONTINUE
---^

And furthermore, a whole lot of loops that cannot be vectorized
in this file, and also a lot of remarks on "vector dependence"
appear during compilation. See

http://surfion.snu.ac.kr/~lahaye/vasp/fft3dlib.out
for the complete listing. In case the linenumbers are confusing, there
is also my preprocessed .f90 file with the linenumbers prefixed:

http://surfion.snu.ac.kr/~lahaye/vasp/fft3dlib.f90

Rob.

fft3dlib.f90: Warning: Sharing of a DO termination statement...

Posted: Wed Oct 25, 2006 10:53 am
by lahaye
Also note in the very same files:

fft3dlifortcom: Warning: fft3dlib.f90, line 1784: The computed
GOTO statement is an obsolescent feature in Fortran 95.
GOTO (10,50,90,130,170,210,250),IGO
------^


fft3dlib.f90(1863) fortcom: Warning: fft3dlib.f90, line 2705: The computed
GOTO statement is an obsolescent feature in Fortran 95.
GOTO (10,50,90,130,170,210,250),IGO
------^


fft3dlib.f90(2774) :fortcom: Warning: fft3dlib.f90, line 3611: The computed
GOTO statement is an obsolescent feature in Fortran 95.
GOTO (10,50,90,130,170,210,250),IGO
------^
fortcom: Warning: fft3dlib.f90, line 4144: The computed
GOTO statement is an obsolescent feature in Fortran 95.
GOTO (1010,1050,1090,1130,1170,1210,1250),IGO
------^

fft3dlib.f90: Warning: Sharing of a DO termination statement...

Posted: Wed Oct 25, 2006 12:41 pm
by admin
all these statements are standard fortran (77), which has to be handled correctly by any fortran-90 compiler. concerning the vectorization messages: please read a fortan and/or vector compiler handbook on the conditions under which a loop can be vectorized or not.