PDA

View Full Version : compile fortran 77 code


mathelp
09-19-2005, 10:21 PM
I am compiling a set of Fortran 77 code to create a library. One of the program fail to compile. The error massages are:
1131-S: "propsub.f", line 838, column 12: The program unit contains unmatched nest in DO construct, IF construct, or CASE construct.
1400-S: "propsub.f", line 881, column 56: In a structure component, each part reference name except the rightmost must be a derived type variable.
1065-W: "propsub.f", line 1030: Branch into IF construct or CASE construct at label ' 708'.
1130-S: "propsub.f", line 1080, column 6: END IF statement appears in invalid position.

The program "propsub.f" compiles on Linux using lf95. I am not sure what to check for the errors, maybe set some compiling flag would help. Can someone give me a hint. The file propsub.f is attached.


Thanks.

mathelp
09-20-2005, 01:18 AM
OK. I got it compiled. Made some changes to the code.

Thanks.