计算化学公社

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

[VASP] VASP5.4.4 编译总结

  [复制链接 Copy URL]

1

帖子

0

威望

19

eV
积分
20

Level 1 能力者

16#
发表于 Post on 2017-9-8 08:22:51 | 只看该作者 Only view this author
本帖最后由 huiji2003 于 2017-9-8 08:59 编辑
mizuchi 发表于 2017-7-31 18:26
I don't trust in Intel Compilers, so here is a way to obtain VASP 5.4.4 binaries via gcc-fortran, op ...

10楼高手,我也用了你的环境,只不系统是centos7,openmpi 1.10.7 gcc 4.8 (也试过7.1.0) intel xe 2015. 用了你的makefile.include.编译成功,但运行时,只能单核算,多核并行时出错。能给提示一下是什么问题吗?
openmpi 运行它自已的examples是没问题的。

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0  #0  0x7FA809CD1467
#1  0x7FA809CD1AAE
#2  0x7FA80859C24F
#3  0x7FA7EB4AF6EA
0x7FDEC60B6467
#1  0x7FDEC60B6AAE
#2  0x7FDEC498124F
#3  0x7FDEA78D66EA
--------------------------------------------------------------------------
mpirun noticed that process rank 4 with PID 43407 on node localhost exited on signal 11 (Segmentation fault).
--------------------------------------------------------------------------

18

帖子

0

威望

1214

eV
积分
1232

Level 4 (黑子)

17#
发表于 Post on 2017-9-8 11:15:11 | 只看该作者 Only view this author
huiji2003 发表于 2017-9-8 08:22
10楼高手,我也用了你的环境,只不系统是centos7,openmpi 1.10.7 gcc 4.8 (也试过7.1.0) intel xe 2015.  ...

环境里添加 ulimit -s unlimited 试试

58

帖子

0

威望

1583

eV
积分
1641

Level 5 (御坂)

18#
发表于 Post on 2017-9-8 14:24:22 | 只看该作者 Only view this author
huiji2003 发表于 2017-9-8 08:22
10楼高手,我也用了你的环境,只不系统是centos7,openmpi 1.10.7 gcc 4.8 (也试过7.1.0) intel xe 2015.  ...

Well, could you post the output of ldd vasp_gpu (or vasp_std)? It looks like a linker error.

And if you'd like me to understand properly, use English because Google Translate is still far from perfect :)

51

帖子

0

威望

1267

eV
积分
1318

Level 4 (黑子)

19#
发表于 Post on 2018-3-27 11:15:12 | 只看该作者 Only view this author
没有百度网盘的密码啊..

101

帖子

1

威望

645

eV
积分
766

Level 4 (黑子)

20#
 楼主 Author| 发表于 Post on 2018-3-28 16:00:58 | 只看该作者 Only view this author
amani73986 发表于 2018-3-27 11:15
没有百度网盘的密码啊..

那个黑块 选中就知道了

9

帖子

0

威望

147

eV
积分
156

Level 3 能力者

21#
发表于 Post on 2018-4-5 20:55:01 | 只看该作者 Only view this author
学习了!

2

帖子

0

威望

9

eV
积分
11

Level 1 能力者

22#
发表于 Post on 2018-5-25 09:21:58 | 只看该作者 Only view this author
请教楼主parser是什么?
我用intel compiler 2015,openmpi 2.1.3, cuda 8.0,fftw 3.3.7,vasp 5.4.1,可以正常编译vasp-std,附件为makefile.include,但是在编译vasp-gpu时出现如下错误:请教楼主是否有解决的建议。多谢!

ld: CUDA/lib/libCudaUtils_x86_64.a(fock.cu.o): undefined reference to symbol '_ZTVN10__cxxabiv117__class_type_infoE@@CXXABI_1.3'
//usr/lib/x86_64-linux-gnu/libstdc++.so.6: error adding symbols: DSO missing from command line
makefile:145: recipe for target 'vasp' failed
make[2]: *** [vasp] Error 1
make[2]: Leaving directory '/usr/vasp/vasp.5.4.1/build/gpu'
cp: cannot stat 'vasp': No such file or directory
makefile:142: recipe for target 'all' failed
make[1]: *** [all] Error 1
make[1]: Leaving directory '/usr/vasp/vasp.5.4.1/build/gpu'
makefile:10: recipe for target 'gpu' failed
make: *** [gpu] Error 2
root@nie:/usr/vasp/vasp.5.4.1#

makefile (2).include

3.08 KB, 下载次数 Times of downloads: 6

2

帖子

0

威望

9

eV
积分
11

Level 1 能力者

23#
发表于 Post on 2018-5-25 09:25:41 | 只看该作者 Only view this author
mizuchi 发表于 2017-9-8 14:24
Well, could you post the output of ldd vasp_gpu (or vasp_std)? It looks like a linker error.

An ...

what's parser lib in your makefile.include?
how do you solve the conflict between cuda 8.0 and high version of gcc?
I use your makefile.include to compile vasp-gpu, but give me error I can't fix. Please help... find details above.

101

帖子

1

威望

645

eV
积分
766

Level 4 (黑子)

24#
 楼主 Author| 发表于 Post on 2018-5-25 22:22:03 | 只看该作者 Only view this author
shellrazer 发表于 2018-5-25 09:21
请教楼主parser是什么?
我用intel compiler 2015,openmpi 2.1.3, cuda 8.0,fftw 3.3.7,vasp 5.4.1, ...

您好 我看您把icc 的-static-libstdc++去掉了
此外parser是指src中的parser文件夹下的文件们
-L 或者-l 表达连接 您可以试一下icc -help link 看一下

58

帖子

0

威望

1583

eV
积分
1641

Level 5 (御坂)

25#
发表于 Post on 2018-5-26 19:32:21 | 只看该作者 Only view this author
shellrazer 发表于 2018-5-25 09:25
what's parser lib in your makefile.include?
how do you solve the conflict between cuda 8.0 and hi ...

The error can be fixed easily: just comment out the LLIBS variable to add -lstdc++ to linker flags.

6

帖子

0

威望

28

eV
积分
34

Level 2 能力者

26#
发表于 Post on 2018-6-10 13:37:38 | 只看该作者 Only view this author
huiji2003 发表于 2017-9-8 08:22
10楼高手,我也用了你的环境,只不系统是centos7,openmpi 1.10.7 gcc 4.8 (也试过7.1.0) intel xe 2015.  ...

你可以考虑试一下OFLAG里面,把O2改成O1看看。

5

帖子

0

威望

1153

eV
积分
1158

Level 4 (黑子)

27#
发表于 Post on 2018-6-10 22:03:59 | 只看该作者 Only view this author
感谢分享!

2

帖子

0

威望

53

eV
积分
55

Level 2 能力者

28#
发表于 Post on 2018-8-18 13:29:58 | 只看该作者 Only view this author
请问楼主GPU版的vasp5.4.4是否能成功添加编译vtst,我试了一下报错如下:

TIM截图20180818132908.png (45.16 KB, 下载次数 Times of downloads: 101)

TIM截图20180818132908.png

2407

帖子

1

威望

5948

eV
积分
8375

Level 6 (一方通行)

29#
发表于 Post on 2018-8-18 21:50:56 | 只看该作者 Only view this author
NEFU 发表于 2018-8-18 13:29
请问楼主GPU版的vasp5.4.4是否能成功添加编译vtst,我试了一下报错如下:

我试了 没有问题。

CentOS intel2015 vasp544
High-Performance Computing for You
为您专属定制的高性能计算解决方案

更多讯息,请访问:
https://labitc.top
http://tophpc.top:8080
电邮: ask@hpc4you.top

2407

帖子

1

威望

5948

eV
积分
8375

Level 6 (一方通行)

30#
发表于 Post on 2018-8-18 21:52:22 | 只看该作者 Only view this author
Warm_Cloud 发表于 2017-8-6 21:20
可以挑战一下在ubuntu下编译

http://cms.mpi.univie.ac.at/wiki ... nstallation_of_VASP
仔细读一下, 然后再加上google 就搞定了。
High-Performance Computing for You
为您专属定制的高性能计算解决方案

更多讯息,请访问:
https://labitc.top
http://tophpc.top:8080
电邮: ask@hpc4you.top

本版积分规则 Credits rule

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

GMT+8, 2025-8-12 16:32 , Processed in 2.714673 second(s), 28 queries , Gzip On.

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