fortran 77 到 fortran 90 的转换器软件

发布于 2024-09-11 01:51:08 字数 1539 浏览 4 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

回忆那么伤 2024-09-18 01:51:08

这是我帮助编写的一个Python解决方案: https://github.com/arktools/fortran_tools

它成功了将整个空军 f77 datcom 代码转换为 f90,因此经过了充分测试。当我有时间时,我将添加更多功能。

如果有人发现它有用/并进行修改,请随时为该项目做出贡献。

Here is a python solution that I helped write: https://github.com/arktools/fortran_tools

It successfully converted the entire airforce f77 datcom code to f90, so it is well tested. I will be adding some more features as I have time.

If anyone finds it useful/ and makes modifications, feel free to contribute to the project.

与酒说心事 2024-09-18 01:51:08

Google 查询“fortran 77 Convert 90”的第一次点击返回此页面 ,其中列出了 3 个免费工具和 2 个商业工具(单击“子程序、转换器、关键作品”链接后)。我已经有一段时间没有使用 Fortran 了,无法保证这些工具的质量。

The first hit on a Google query for "fortran 77 convert 90" returned this page, which has 3 free tools and 2 commercial ones listed (after clicking the link for "Subprograms, Converters, Key Works"). I've not used Fortran in quite a while, and can't vouch for the quality of any of these tools.

做个少女永远怀春 2024-09-18 01:51:08

我推荐Lemon Lab f2f。我有点偏见,因为我是最初的开发人员,但我的动机是因为我认为替代方案效果不佳。如果你喜欢的话就来尝试一下吧。

I'd recommend Lemon Lab f2f. I'm a bit biased, since I was the original developer, but my motivation was due to the fact that I didn't think the alternatives worked very well. Give it a try if you like.

忘羡 2024-09-18 01:51:08

免费程序转换 (http://www.nag.co.uk/nagware /Examples/convert.f90)将从 Fortran 77 固定源形式转换为 Fortran 90/95/2003 自由源形式,并进行一些简单的转换,例如声明。还有一些商业产品,例如 SPAG (http://www.polyhedron.com/spag0html )。

The free program convert (http://www.nag.co.uk/nagware/Examples/convert.f90) will convert from Fortran 77 fixed-source form to Fortran 90/95/2003 free-source form and make some simple transformations, such as declarations. There are also some commercial products, such as SPAG (http://www.polyhedron.com/spag0html).

彩扇题诗 2024-09-18 01:51:08

我发现并使用了三个程序 convert.f90 (Michael Metcalf)、preconvert.f90 (Purple Sage Computer Solutions, Inc.) 和 to_f90.f90代码>(艾伦·米勒)。

他们都没有像我预期的那样 100% 工作。结果取决于您的源与程序期望看到的内容的匹配程度。

为了您的方便,我将源文件压缩并托管在此处:
源文件

我使用 Compaq Visual Fortran 6.5 编译成三个独立的项目。如果您想要这些项目,也可以使用此链接
CVF 6.5 项目

祝你好运。

I have found and used three programs convert.f90 (Michael Metcalf), preconvert.f90 (Purple Sage Computing Solutions, Inc.) and to_f90.f90 (Alan Miller).

None of them worked 100% like I expected. Results depends on how closely your source matches what the programs expect to see.

For your convenience I have zipped the source files up and hosted them here:
Source Files

I have used Compaq Visual Fortran 6.5 to compile into three separate projects. If you want the projects also use this link
CVF 6.5 Projects

Best of luck.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文