zgyin的个人博客分享 http://blog.sciencenet.cn/u/zgyin

博文

安装ifort

已有 12657 次阅读 2013-3-12 06:41 |个人分类:ifort|系统分类:科研笔记| 安装

http://software.intel.com/en-us/intel-compilers下载ifort
下载完后
/root/l_fcompxe_2013.2.146/install.sh
安装好后
gedit  ~/.bashrc
在后面加一句话  source /opt/intel/bin/ifortvars.sh ia32
测试ifort
打开文本文档
写下面的程序,命名为hello.f90
program hello
print *,"hello world!"
end program hello
在终端执行
ifort -o hello hello.f90
./hello
输出为:hello world!





https://blog.sciencenet.cn/blog-783377-669446.html

上一篇:latex斜体变正体
下一篇:在线解Lane-Emden(莱恩-埃姆登)方程
收藏 IP: 202.101.72.*| 热度|

0

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

数据加载中...

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

GMT+8, 2024-3-29 07:30

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部