24小时热门版块排行榜    

查看: 1631  |  回复: 21
当前主题已经存档。

anvier

木虫 (正式写手)

[交流] 【求助】求高手指点VASP安装全过程。 [有效期2008年12月25日]

本人还不太懂Linux,在Linux下安装VASP就显得很费劲。
希望高手指点如何安装Linux?包括安装编译器等辅助工具。
希望是一步步具体讲清楚一点。
十分感谢!

[ Last edited by SHY31 on 2008-12-8 at 18:37 ]
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wuli8

荣誉版主 (知名作家)

…………

优秀版主优秀版主

★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★
fegg7502(金币+5,VIP+0):thanks
anvier(金币+20,VIP+0):十分感谢
用intel compiler 编译 VASP
1.到intel的网站下载最新的intel fortran compiler .
2.下载最新的intel MKL 数学库.
3. 安装 fortran compiler.
4. 安装 MKL
5. 设置环境变量. 以root 用户login,修改/etc/profile.  从(默认的安装路径是: /opt/intel/fc/9.1.036/bin/) copy ifortvars.sh 的内容放到profile里;同样,
在 /opt/intel/mkl/8.1.1/tools/enviroment/ copy mklvars32.sh 到profile里,(最好稍作修改,写成与ifortvars 相同的形式)
6.保存退出. 注销.
7.重新login,在终端中输入$LD_LIBRARY_PATH,如果显示为 /opt/intel/mkl/8.1.1/lib/32:/opt/intel/fc/9.1.036/bin:no such file or directory
说明正确已设置.
8.解压vasp.4.lib.tar ,vasp.4.6.tar.
      进入vasp.4.lib,  
      cp makefile.linux_ifc_P4  makefile
      make
  然后,
     cd ../vasp.4.6
     cp makefile.linux_ifc_P4 makefile
     vi makefile
     将   FC=ifc 修改为 FC=ifort
     BLAS=-L/opt/intel/mkl/8.1.1/lib/32 -lmkl_p4 -lsvml -lvml -lguide -lpthread
  保存,退出.
     make (大约5分钟)
     成功了!
  祝你好运
…………
2楼2008-11-25 21:06:49
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wuli8

荣誉版主 (知名作家)

…………

优秀版主优秀版主

其实很简单的!
…………
3楼2008-11-25 21:07:31
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

anvier

木虫 (正式写手)

我的intel fortran compiler和 intel MKL 没有Lic啊,不知道可以提供不?
4楼2008-11-25 21:42:35
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wuli8

荣誉版主 (知名作家)

…………

优秀版主优秀版主


jghe(金币+1,VIP+0):感谢你参与讨论!
到intel网站上申请www.intel.com.
…………
5楼2008-11-25 21:56:18
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wuli8

荣誉版主 (知名作家)

…………

优秀版主优秀版主

申请个试用版的。
编译好后就不再依靠编译器工作了!
直接用VASP即可。
…………
6楼2008-11-25 21:57:53
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

anvier

木虫 (正式写手)

还是不太懂,没看到到哪里可以申请啊
7楼2008-11-25 22:06:55
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

veryman

木虫 (正式写手)

$_$

★ ★
fegg7502(金币+2,VIP+0):thanks
如果尚未注册“英特尔(R) 首要支持”,请在 Sep 20, 2009 之前的任何时间到以下网站进行注册:https://registrationcenter.intel ... aspx?ProductID=1071(英语)。逐步执行注册过程,在“序列号信息页面”上的“步骤 4”中单击支持帐户链接。
8楼2008-11-26 10:01:14
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

anvier

木虫 (正式写手)

在安装intel fortran compiler时,出现以下错误,该如何解决呢?
linux-rub0:~/Soft/VASP/FC/l_fc_p_10.1.021 # ./install.sh
ERROR: unable to find command "g++" !

It appears that one of the missing commands is the 'g++' command.
Some Linux distributions do not include 'g++' as a part of the 'gcc' installation.
Please locate and install the proper 'g++' package for your system and restart
the installation process for this Intel software product

Please add the location to the above commands to your PATH and re-run the script.
Please press Enter to continue...
9楼2008-11-26 10:59:56
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

灯塔守望者

铁杆木虫 (正式写手)

★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★
wuli8(金币+2,VIP+0):3X!(*^__^*) ……
fegg7502(金币+2,VIP+0):thanks
anvier(金币+10,VIP+0):十分感谢,还望进一步指点
下载intel编译器
ftp://hit:hit@202.118.224.241/Wa ... .069.LINUX.ISO-TBE/
MKL
ftp://hit:hit@202.118.224.241/so ... ath.Kernel.Library/
最好用fortran 9.1 编译。MKL采用MKL 8.0的似乎快一些。
看来你没有安装gcc包吧。安装gcc后再安装intel
10楼2008-11-26 11:09:59
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 anvier 的主题更新
普通表情 高级回复 (可上传附件)
信息提示
请填处理意见