Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

error in fortran77

gambato
Beginner
553 Views
hi!
I'm using fortran77 in linux (distribution FedoraCore4) and so I use g77.Now...when I compile my file the program gives to me this error related to an include file:
linkc.inc:5:
INTEGER Mx, My, Mz, NICELL, MAPSIZ
1
linkc.inc:13: (continued):
COMMON / link /Mx, My, Mz, NICELL, MAPSIZ
2
Invalid declaration of or reference to symbol `mz' at (2) [initially seen at (1)]

This message is repeated many times for each variables (Mx, My, Mz, NICELL, MAPSIZ). I don't know from what it depends! can you help me?
Thank you very much!
Gambato
0 Kudos
1 Reply
Steven_L_Intel1
Employee
553 Views
This forum is for questions about the Intel Fortran Compiler for Linux - we don't cover g77 here. I'd suggest posting your question to the comp.lang.fortran newsgroup. You'll be best off if you include all the lines of the source, and also that of the .f that includes the file you show, as there is probably some additional context missing from this excerpt.
0 Kudos
Reply