linux 编译器 fpp,科学网—fpp编译vasp5.3+vtst - 穆跃文的博文

Redhat上采用Ifc编译器,MKL数据库 VASP5.3编译的过程

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

创建用户:

adduser -g root mu

passwd mu

rocks sync users

rocks sync config

一 .   软件准备

VASP源代码(vasp.5.3.3.tar.gz和vasp.5.lib.tar.gz),ifc编译器(l_cprof_p_11.1.064.tgz)icc编译器(l_cproc_p_11.1.064.tgz ),openmpi 软件

#su root       进入root用户,

二.ICC编译器安装

先解压l_cproc_p_11.1.064.tgz 得到l_cproc_p_11.1.064文件夹

进入l_cproc_p_11.1.064文件夹找到install.sh文件

执行./install.sh开始安装icc,

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

注意选择: 2. Custom Install (For Advanced Users)

2. Custom Install - specify individual product components to install

在后面的安装选项中选择安装Intel(R) 64的,不安装IA-32 。安装过程中自带 Math Kernel Library 数学库。

并指定安装目录/share/apps/intel/icc

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

安装完毕 ,ICC安装完成

(卸载时 在目录外执行  安装目录/bin/intel64/uninstall_cproc.sh  进行卸载)

此时,mkl位置 /share/apps/intel/icc/mkl

三. Ifc编译器安装

先解压l_cprof_p_11.1.064.tgz 得到l_cprof_p_11.1.064文件夹

进入l_cprof_p_11.1.064文件夹找到install.sh文件

执行./install.sh开始安装ifc,

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

注意选择 2. Custom Install (For Advanced Users)

2. Custom Install - specify individual product components to install

在后面的安装选项中选择安装Intel(R) 64的,不安装IA-32 。不安装 Math Kernel Library 数学库。

并指定安装目录/share/apps/intel/ifc

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

安装完毕 ,ifc安装完成

(卸载时 在目录外执行  安装目录/bin/intel64/uninstall_cprof.sh  进行卸载,uninstall_debugger.sh也可以)

四.将icc和ifort命令加入环境变量

新建一个文件user.sh,加入

INTELROOT=/share/apps/intel/intel2

. $INTELROOT/

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值