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

Compiling f90 and f77

seetho
Beginner
425 Views
Hi,
Can anyone help me to compile a combined f90 and f77 source code using ifc. I can compile f90 and f77 as individual entities, but not together. The errors states undefined reference to all f77 files. By this I imagine that the f90 libraries are not helping f77 compilation. Is there a specific f77 library to which I should refer to in my makefile. Does anybody have experience in compiling f90 with f77. If so I would appreciate your feedback, but please be aware my understanding on this subject is rather poor and I may require a bit more explanation to understand the potential solutions.
Regards
Seetho
0 Kudos
1 Reply
Steven_L_Intel1
Employee
425 Views
Fortran 90 is a superset of Fortran 77. The same compiler and library handles Fortran 77 and Fortran 90 code - there are not separate libraries.
If you are referring to mixed fixed-form and free-form source, you should compile these separately and then link the objects together.
Perhaps you could show an example of what you're trying that doesn't work?
0 Kudos
Reply