Include both .f and .F90 file in Fortran main file header

旧时模样 提交于 2019-11-29 16:24:13

There are compiler specific directives (not part of the standard language), for that compiler, that allow you to change the source form in use.

Place the relevant directive before the include file, and then place the other directive after the include file to switch the source form back. Perhaps:

!DEC$ NOFREEFORM
      INCLUDE 'lapack.inc'
!DEC$ FREEFORM

See http://software.intel.com/en-us/node/466230 for more information.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!