successfully build of GNU 4.3.2 suite and GAMIT10.34

Dominique Dhumieres dominiq@lps.ens.fr
Thu Sep 18 11:39:00 GMT 2008


> do L1 = dL1_0-1, dL1_0+1, 1/abs(lambda(lv,1,ns)) 1
> Warning: Deleted feature: Loop variable at (1) must be integer

The use of reals in do loops has been deleted at some point in f9*
(I don't remember if it is in f90 or/and f95). So the above do loop
is now invalid, but accepted with a warning by gfortran for compatibility
with legacy code (it gave an error with g95 not a long time ago).
So you have two options: 
(1) ignore the warnings
(2) rewrite the code to use integer do loops.

Good luck!

Dominique

PS I assume that the '1' at the end of the line is due to copy/paste
or mailer problem.



More information about the Fortran mailing list