计算化学公社

 找回密码 Forget password
 注册 Register
楼主 Author: youyno
打印 Print 上一主题 Last thread 下一主题 Next thread

[VASP] 教你从头编译vasp-5.4.1

  [复制链接 Copy URL]

1

帖子

0

威望

5

eV
积分
6

Level 1 能力者

61#
发表于 Post on 2018-1-17 21:29:52 | 只看该作者 Only view this author
总算是编译过去了。。。谢谢LZ!

2

帖子

0

威望

21

eV
积分
23

Level 1 能力者

62#
发表于 Post on 2018-1-26 16:46:49 | 只看该作者 Only view this author
cp src/makefile src/.objects makefile.include build/std ; \
make -C build/std VERSION=std all
mkdir: cannot create directory ‘build/std’: File exists
make[1]: Entering directory '/home/yanshuo/bian2/vasp.5.4.1/build/std'
rsync -ru ../../src/lib .
cp makefile.include lib
make -C lib
make[2]: Entering directory '/home/yanshuo/bian2/vasp.5.4.1/build/std/lib'
icc -O -c -o derrf_.o derrf_.c
/usr/include/bits/floatn.h(74): error: identifier "__float128" is undefined
  typedef __float128 _Float128;
          ^

compilation aborted for derrf_.c (code 2)
makefile:28: recipe for target 'derrf_.o' failed
make[2]: *** [derrf_.o] Error 2
make[2]: Leaving directory '/home/yanshuo/bian2/vasp.5.4.1/build/std/lib'
makefile:155: recipe for target 'lib' failed
make[1]: *** [lib] Error 2
make[1]: Leaving directory '/home/yanshuo/bian2/vasp.5.4.1/build/std'
makefile:10: recipe for target 'std' failed
make: *** [std] Error 2
************************************************************************************
在VASP的编译中,make all后出现如上的报错,研究好久无果,请问楼主知道是什么问题吗?前面的操作没有出现问题,系统是ubuntu的。

1

帖子

0

威望

47

eV
积分
48

Level 2 能力者

63#
发表于 Post on 2018-1-30 09:40:23 | 只看该作者 Only view this author
vasp在提交任务后出现 NO executable was specified on the mpirun command line

11

帖子

0

威望

286

eV
积分
297

Level 3 能力者

64#
发表于 Post on 2018-3-4 15:50:53 | 只看该作者 Only view this author
小书童 发表于 2016-11-23 15:11
已经安装了。网上搜了下,和小木虫中http://muchong.com/html/201504/8771778.html的问题一 ...

请问,你最后怎么解决的这个问题啊?多谢~

11

帖子

0

威望

286

eV
积分
297

Level 3 能力者

65#
发表于 Post on 2018-3-5 08:32:58 | 只看该作者 Only view this author
谢谢楼主!已经编译成功~
请各位务必按照帖子内出现的问题解决方案来实施,并且centos版本一开始我用的7,最后还是改用6.6才成功。
其中,openmpi的安装按楼主的方法并未成功,参考了如下帖子http://blog.csdn.net/amaowolf/article/details/7938357
再次感谢~

11

帖子

0

威望

286

eV
积分
297

Level 3 能力者

66#
发表于 Post on 2018-3-5 09:21:22 | 只看该作者 Only view this author
楼主,请问为什么版本差异会造成编译不成功的情况啊?

201

帖子

0

威望

3571

eV
积分
3772

Level 5 (御坂)

67#
发表于 Post on 2018-4-4 08:30:42 | 只看该作者 Only view this author
skykill 发表于 2018-1-26 16:46
cp src/makefile src/.objects makefile.include build/std ; \
make -C build/std VERSION=std all
mkdi ...

我在安装VASP 5.4.1时也出现了这些问题,请问您解决了吗?您是如何解决的?

23

帖子

0

威望

219

eV
积分
242

Level 3 能力者

68#
发表于 Post on 2018-4-4 08:40:31 | 只看该作者 Only view this author
厉害了 楼主
学习,养家糊口,孝敬父母,回馈社会!

9

帖子

0

威望

173

eV
积分
182

Level 3 能力者

69#
发表于 Post on 2018-4-5 12:33:58 | 只看该作者 Only view this author
好帖,,受益匪浅

10

帖子

0

威望

103

eV
积分
113

Level 2 能力者

70#
发表于 Post on 2018-4-15 21:10:04 | 只看该作者 Only view this author
/export/home/cluser1是当前用户的根目录 what is that mean,i can not find where is it,thankyou

207

帖子

1

威望

3865

eV
积分
4092

Level 6 (一方通行)

71#
发表于 Post on 2018-4-15 21:44:08 | 只看该作者 Only view this author
du19880425 发表于 2018-4-15 13:10
/export/home/cluser1是当前用户的根目录 what is that mean,i can not find where is it,thankyou

写你自己安装的路径

10

帖子

0

威望

103

eV
积分
113

Level 2 能力者

72#
发表于 Post on 2018-4-16 11:03:21 | 只看该作者 Only view this author
bomsaude 发表于 2018-4-15 21:44
写你自己安装的路径

i do not know where, so what can i do

10

帖子

0

威望

103

eV
积分
113

Level 2 能力者

73#
发表于 Post on 2018-4-16 11:12:27 | 只看该作者 Only view this author
du19880425 发表于 2018-4-16 11:03
i do not know where, so what can i do

another question, if i need delete all the file bashrc and then paste the codes?

207

帖子

1

威望

3865

eV
积分
4092

Level 6 (一方通行)

74#
发表于 Post on 2018-4-17 16:15:57 | 只看该作者 Only view this author
本帖最后由 bomsaude 于 2018-4-17 16:30 编辑
du19880425 发表于 2018-4-16 03:12
another question, if i need delete all the file bashrc and then paste the codes?


/export/home/cluser1是当前用户的根目录


比如你的用户名是zhangsan,你是home下的一个用户

原来帖子中的
export PATH=/export/home/cluser1/intel/composerxe/bin:$PATH

你就写成
export PATH=/home/zhangsan/intel/composerxe/bin:$PATH

这些内容贴到.bashrc中,不要改动里面已有的东西,为了使这些内容生效,在终端
source ./.bashrc

你试试吧

2

帖子

0

威望

21

eV
积分
23

Level 1 能力者

75#
发表于 Post on 2018-4-17 21:43:48 | 只看该作者 Only view this author
1130240115 发表于 2018-4-4 08:30
我在安装VASP 5.4.1时也出现了这些问题,请问您解决了吗?您是如何解决的?

当时使用的是最新的ubuntu版本,替换ubuntu的早一些版本成功了。

本版积分规则 Credits rule

手机版 Mobile version|北京科音自然科学研究中心 Beijing Kein Research Center for Natural Sciences|京公网安备 11010502035419号|计算化学公社 — 北京科音旗下高水平计算化学交流论坛 ( 京ICP备14038949号-1 )|网站地图

GMT+8, 2026-1-23 11:05 , Processed in 5.598677 second(s), 26 queries , Gzip On.

快速回复 返回顶部 返回列表 Return to list