VASP 安装教程¶
VASP 是维也纳大学 Hafner 小组开发的进行电子结构计算和量子力学-分子动力学模拟软件包。它是材料模拟和计算物质科学研究中最流行的软件之一。
本教程基于 Ubuntu 进行演示,以 VASP-6.4.2 为例。
Requirements¶
Bash | |
---|---|
Get the Intel® oneAPI Base Toolkit
https://www.intel.cn/content/www/cn/zh/developer/tools/oneapi/base-toolkit-download.html
Install only: Math Kernel Library
Get the Intel® HPC Toolkit
Install only: Intel MPI Library, Intel oneAPI DPC++/C++ Complier, Intel Fortran Complier
Install VASP¶
Download VASP¶
Download VASP installation package from the Internet.
Activate Intel oneAPI¶
Bash | |
---|---|
Prepare for compilation¶
Bash | |
---|---|
Modify the following sections in makefile.include
:
Build VASP¶
Bash | |
---|---|
Test VASP¶
Add the following line to ~/.bashrc
and activate it:
Bash | |
---|---|
Run the task with 12 processes and export the logs to the vasp.log file: