about the compiler

Richard E Maine Richard.Maine@nasa.gov
Fri Oct 28 00:02:00 GMT 2005


On Oct 27, 2005, at 3:57 PM, txdqpal ch wrote:

> gfortran developers:
>              I do not know if this is a bug in your compiler and 
> please check it and I would be glad to receive your reply
>           implicit real(a-h,o-z)
>           implicit integer(i-n)
>          then I defined a variable ndim=3
>          then       I run some do-enddo loops
>         when I have: print *, ndim, I found it is 0, could not 
> understand where the problem is.
>          and if you define ndim as an integer at the beginning, it 
> seems there is no such sort of errors.

This is inadequate information to tell anything useful. Actual code is 
needed rather than a description. Based on the nature of the 
description, I'd guess it to be a user code error, but there is no real 
way to tell.

-- 
Richard Maine                |  Good judgment comes from experience;
Richard.Maine@nasa.gov       |  experience comes from bad judgment.
                             |        -- Mark Twain



More information about the Fortran mailing list