学 点 新 知--做 点 事 情分享 http://blog.sciencenet.cn/u/dabing 平时多记点,东西就多了...

博文

Win10安装gfortran

已有 23569 次阅读 2016-12-10 19:56 |个人分类:Win_soft|系统分类:科研笔记| Fortran, 安装, win10

在这个网站https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62049

找到下载链接:

http://users.humboldt.edu/finneyb/gfortran-windows-20140629.exe

下载好后解压安装。

另外这个网站提供了几个不同系统的安装版本:

https://gcc.gnu.org/wiki/GFortranBinaries


这里有详细的使用说明:

https://gcc.gnu.org/wiki/GFortranBinariesWindows

------------------------------------------------------------------

软件安装完后,编译自己的fortran文件

在cmd窗口中进入fortran文件所在的目录,如:

C:>cd /D F:MacCopyVTri6_WD2lcdc2015

F:MacCopyVTri6_WD2lcdc2015>gfortran dc22may2015flop.f -o dctest

生成dctest.exe,点击即可运行fortran程序。


                                          2016-12-10@BNU



https://blog.sciencenet.cn/blog-287062-1019921.html

上一篇:TopCat 格式转换
下一篇:ERROR: floating point divide by zero
收藏 IP: 59.64.32.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-9-19 10:25

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部