Compiling f90 and f77

Compiling f90 and f77


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.


2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

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?

Steve - Intel Developer Support

Leave a Comment

Please sign in to add a comment. Not a member? Join today