Software Archive
Read-only legacy content
17061 Discussions

calling f90 from f77

Intel_C_Intel
Employee
553 Views
Dear all,

Our original source code (tens of thousand lines) is in f77 and we want to call a f90 subroutine, which uses many modules and other subroutine. I would like to know wether it is possible and how to do it.

Any suggestion and advice are appreciated.

Zhiqiang
School of Geography and End Sri
Birmingham University
B15 2TT UK
0 Kudos
1 Reply
Steven_L_Intel1
Employee
553 Views
Just call it. Your F77 code is also F90 code. Check the rules in chapter 8 of the Compaq Fortran Language Reference Manual to see if an "explicit interface" is required - if not, just call the routine as usual.

There is no magical difference between 'F77' code and 'F90' code - it's all F90 code that happens to use different parts of the language.

Steve
0 Kudos
Reply