计算化学公社

 找回密码 Forget password
 注册 Register
Views: 5666|回复 Reply: 4
打印 Print 上一主题 Last thread 下一主题 Next thread

[VASP] VASP5.4.1安装makeall时候出现问题求解

[复制链接 Copy URL]

4

帖子

0

威望

55

eV
积分
59

Level 2 能力者

跳转到指定楼层 Go to specific reply
楼主
各位大佬好
我在编译VASP 5.4.1的时候出现问题,碰到了以下报错,想请教一下各位大佬应该如何解决,谢谢大家!
/home/haha/intel/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.so: undefined reference to `ompi_mpi_comm_null'
/home/haha/intel/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.so: undefined reference to `MPI_Comm_f2c'
/home/haha/intel/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.so: undefined reference to `ompi_mpi_double'
/home/haha/intel/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.so: undefined reference to `ompi_mpi_dblcplex'
/home/haha/intel/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.so: undefined reference to `ompi_mpi_packed'
/home/haha/intel/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.so: undefined reference to `ompi_mpi_op_max'
/home/haha/intel/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.so: undefined reference to `ompi_mpi_op_maxloc'
/home/haha/intel/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.so: undefined reference to `ompi_mpi_op_min'
/home/haha/intel/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.so: undefined reference to `ompi_mpi_byte'
/home/haha/intel/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.so: undefined reference to `ompi_mpi_comm_world'
/home/haha/intel/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.so: undefined reference to `ompi_mpi_float'
/home/haha/intel/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.so: undefined reference to `ompi_request_null'
/home/haha/intel/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.so: undefined reference to `ompi_mpi_cplex'
/home/haha/intel/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.so: undefined reference to `ompi_mpi_unsigned_short'
/home/haha/intel/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.so: undefined reference to `MPI_Comm_c2f'
/home/haha/intel/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.so: undefined reference to `ompi_mpi_double_int'
/home/haha/intel/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.so: undefined reference to `ompi_mpi_int'
/home/haha/intel/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.so: undefined reference to `ompi_mpi_long_long_int'
/home/haha/intel/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.so: undefined reference to `ompi_mpi_integer'
/home/haha/intel/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.so: undefined reference to `ompi_mpi_dblprec'
/home/haha/intel/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.so: undefined reference to `MPI_Type_f2c'
/home/haha/intel/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.so: undefined reference to `MPI_Op_f2c'
/home/haha/intel/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.so: undefined reference to `ompi_mpi_ub'
/home/haha/intel/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.so: undefined reference to `ompi_mpi_op_sum'
/home/haha/intel/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.so: undefined reference to `MPI_Op_c2f'
/home/haha/intel/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.so: undefined reference to `ompi_mpi_real'
/home/haha/intel/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.so: undefined reference to `MPI_Type_c2f'
make[2]: *** [vasp] Error 1
make[2]: Leaving directory `/home/haha/vasp/vasp.5.4.1/build/std'
cp: cannot stat ‘vasp’: No such file or directory
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/haha/vasp/vasp.5.4.1/build/std'
make: *** [std] Error 2

系统是CentOS7,装了intel-parallel_studio XE 2019,openmpi 3.1.3,参照的https://blog.csdn.net/qq_35548961/article/details/87943407进行安装编译,在最后make all安装编译vasp 5.4.1的时候报错,小弟无法解决,求助各位大佬

6万

帖子

99

威望

6万

eV
积分
125127

管理员

公社社长

2#
发表于 Post on 2021-10-21 21:27:22 | 只看该作者 Only view this author
照此文编译
VASP的最简单的安装方法(含视频演示)
http://sobereva.com/455http://bbs.keinsci.com/thread-11812-1-1.html
北京科音自然科学研究中心http://www.keinsci.com)致力于计算化学的发展和传播,长期开办极高质量的各种计算化学类培训:初级量子化学培训班中级量子化学培训班高级量子化学培训班量子化学波函数分析与Multiwfn程序培训班分子动力学与GROMACS培训班CP2K第一性原理计算培训班,内容介绍以及往届资料购买请点击相应链接查看。这些培训是计算化学从零快速入门以及进一步全面系统性提升研究水平的高速路!培训各种常见问题见《北京科音办的培训班FAQ》
欢迎加入北京科音微信公众号获取北京科音培训的最新消息,并避免错过网上有价值的计算化学文章!
欢迎加入人气极高、专业性特别强的理论与计算化学综合交流群思想家公社QQ群(群号见此链接),合计达一万多人。北京科音培训班的学员在群中可申请VIP头衔,提问将得到群主Sobereva的最优先解答。
思想家公社的门口Blog:http://sobereva.com(发布大量原创计算化学相关博文)
Multiwfn主页:http://sobereva.com/multiwfn(十分强大、极为流行的量子化学波函数分析程序)
Google Scholar:https://scholar.google.com/citations?user=tiKE0qkAAAAJ
ResearchGate:https://www.researchgate.net/profile/Tian_Lu

6

帖子

0

威望

44

eV
积分
50

Level 2 能力者

3#
发表于 Post on 2021-10-21 21:32:18 | 只看该作者 Only view this author
系统装了 intel-parallel_studio XE 2019,openmpi 3.1.3,两个都有mpif90编译器,如果环境变量设置不合适,编译的时候可能使用的openmpi的mpif90,然后用的intel的库。建议去掉所有相关环境变量,使用intel或者openmpi里面自带的环境变量设置脚本,只设置一个即可。

评分 Rate

参与人数
Participants 1
eV +3 收起 理由
Reason
newerz + 3 牛!

查看全部评分 View all ratings

4

帖子

0

威望

55

eV
积分
59

Level 2 能力者

4#
 楼主 Author| 发表于 Post on 2021-10-22 08:59:00 | 只看该作者 Only view this author
本帖最后由 newerz 于 2021-10-22 15:40 编辑
heyi87 发表于 2021-10-21 21:32
系统装了 intel-parallel_studio XE 2019,openmpi 3.1.3,两个都有mpif90编译器,如果环境变量设置不合适 ...

好的 我试试先不设置openMPI的
果然成功编译了,谢谢大佬

4

帖子

0

威望

55

eV
积分
59

Level 2 能力者

5#
 楼主 Author| 发表于 Post on 2021-10-22 08:59:24 | 只看该作者 Only view this author
sobereva 发表于 2021-10-21 21:27
照此文编译
VASP的最简单的安装方法(含视频演示)
http://sobereva.com/455(http://bbs.keinsci.com/th ...

好的大佬,我另开一个虚拟机装下

本版积分规则 Credits rule

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

GMT+8, 2026-2-18 22:27 , Processed in 0.179775 second(s), 27 queries , Gzip On.

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