calling f90 from f77

calling f90 from f77

Community Admin's picture

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

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
Steve Lionel (Intel)'s picture

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

Steve

Login to leave a comment.