vasp6.3.2安装教程

hello, my name is Hou Leilei. I spent two days installing the VMware and Ubuntu and vasp. I was so tired.
First, I want to introduce some websites:
vasp6.3.2安装包及安装步骤_vasp下载-CSDN博客
_The first website will instruct you to install Intel Oneapi but he is a lazy boy. You can watch the second video. _
-VASP安装-从操作系统到程序编译全过程_哔哩哔哩_bilibili
VASP6.3.2版本安装教程及运行测试(续) -- 2024 intel OneAPI_vasp安装-CSDN博客
you will solve most installation problems if you pay attention to the website, but some details should be noticed.

  • source ~/intel/oneapi/setvars.sh 这个代码中的 "~/intel "可能对于每个人不一样。
    • 安装intel在“/home/suixin/Desktop/soft‘’ 我写的指令为:source /opt/intel/oneapi/setvars.sh
    • 后面指令同理: **cd /opt/ **intel/oneapi/mkl/2024.1/share/mkl/interfaces/fftw3xf  ——加星为修改
    • **source /opt/**intel/oneapi/setvals.sh  ——配置vasp环境, 建议直接放入 gedit ~/.bashrc 打开的文件末尾,系统自动启动
  • 环境变量的添加
    • 第一个网址写的不是很详细 对于打开他给出的是这个source ~/.bashrc, 我建议是用gredit ~/.bashrc 把下面指令塞进去。export PATH=$PATH:/home/wliu/DFT/vasp.6.3.2/bin 后面加粗这一部分实际上就是你安装vasp的位置下的bin文件下
  • 其余的一个问题:HYD_spawn (../../../../../src/pm/i_hydra/libhydra/spawn/intel/hydra_spawn.c:170): execvp error on file vasp
    • 对于这个问题,出现的主要原因是因为提交指令 :mpirun -np 4 vasp_std (一般需要配置环境才能启动,即上面那个代码)
      还有当时 我写的提交指令为 mpirun -np 4 vasp 导致其找不到vasp运行文件。后面最后一项其实是vasp运行文件,你需要给到其地址例如我的:“/home/suixin/Desktop/soft/vasp.6.3.2/bin/vasp_std”. 我之前的属于指明文件错误。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值