Home > Archive > Fortran > January 2006 > Re: IBM fortran compiler error: 1516-036 (S) Entity *** has undefined type
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: IBM fortran compiler error: 1516-036 (S) Entity *** has undefined type
|
|
| sunnyabc 2006-01-22, 7:56 am |
| As already answered, the error message means that the variable "hhe" is
used but it is not declared. I have also seen this kind of error a lot
of time.
However, XL Fortran compiler does not provide where the error occurs in
the source code. Do you know how we can obtain such information during
the compilation?
| |
| Michael Metcalf 2006-01-22, 9:59 pm |
|
"sunnyabc" <sis@yonsei.ac.kr> wrote in message
news:1137928304.627881.196010@g14g2000cwa.googlegroups.com...
> As already answered, the error message means that the variable "hhe" is
> used but it is not declared. I have also seen this kind of error a lot
> of time.
>
> However, XL Fortran compiler does not provide where the error occurs in
> the source code. Do you know how we can obtain such information during
> the compilation?
>
No, but you can simply use a text editor to find all occurrences of the
string 'hhe'.
Regards,
Mike Metcalf
| |
| Ron Shepard 2006-01-22, 9:59 pm |
| In article <1137928304.627881.196010@g14g2000cwa.googlegroups.com>,
"sunnyabc" <sis@yonsei.ac.kr> wrote:
> However, XL Fortran compiler does not provide where the error occurs in
> the source code. Do you know how we can obtain such information during
> the compilation?
The xlf compiler does tell you in which subroutine the error occurs.
From there you can use a text editor to search for the variable (hhe
in this case) to determine if it is typo or an undeclared variable.
$.02 -Ron Shepard
|
|
|
|
|