计算化学公社

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

[VASP] VASP安装出现错误

[复制链接 Copy URL]

9

帖子

0

威望

117

eV
积分
126

Level 2 能力者

跳转到指定楼层 Go to specific reply
楼主
各位老师们好,我今天想尝试在导师给的一个服务器上安装VASP,结果出现错误了,如果在安装的目录里的build/std下输入make会出现如下的错误:
make[1]: Entering directory `/home/hejinen/he/vasp.6.3.0/build/vasp'
mpiifort -free -names lowercase -assume byterecl -w -xHOST -O2 -xhost -I/work1/soft/intel/2019.5.281/compilers_and_libraries_2019.5.281/linux/mkl/include/fftw  -c tutor.f90
tutor.F(174): error #5102: Cannot open include file 'mpif.h'
    include 'mpif.h'
------------^
tutor.F(377): error #6404: This name does not have a type, and must have an explicit type.   [MPI_COMM_WORLD]
            call MPI_ibarrier(MPI_comm_world, request, ierr)
------------------------------^
tutor.F(379): error #6404: This name does not have a type, and must have an explicit type.   [MPI_SUCCESS]
            if (ierr /= MPI_success.or..not.complete) &
------------------------^
tutor.F(393): error #6404: This name does not have a type, and must have an explicit type.   [MPI_STATUS_IGNORE]
            call MPI_test(request, complete, MPI_STATUS_IGNORE, ierr)
---------------------------------------------^
compilation aborted for tutor.f90 (code 1)
make[1]: *** [tutor.o] Error 1
make[1]: Leaving directory `/home/hejinen/he/vasp.6.3.0/build/vasp'
cp: cannot stat ‘vasp’: No such file or directory
make: *** [all] Error 1

请问这怎样解决?谢谢

2425

帖子

1

威望

6196

eV
积分
8641

Level 6 (一方通行)

2#
发表于 Post on 2023-10-20 07:19:42 | 只看该作者 Only view this author
Intel MPI未安装或者配置错误或者配置未生效……

或者使用系统自带的MPICH或者OpenMPI
apt/dnf -y install *openmpi* *mpich*

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

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

9

帖子

0

威望

117

eV
积分
126

Level 2 能力者

3#
 楼主 Author| 发表于 Post on 2023-10-20 10:04:48 | 只看该作者 Only view this author
按着在https://zhuanlan.zhihu.com/p/478224058查到的环境变量配置后继续编译用测试集测试有OUTCAR产出

本版积分规则 Credits rule

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

GMT+8, 2026-2-21 22:17 , Processed in 0.178735 second(s), 20 queries , Gzip On.

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