---
# System prepended metadata

title: HOW TO USE VASP

---

# HOW TO USE VASP
創一個資料夾，準備好要輸入的INPUT
打開資料夾內的terminal
*  把POSCAR參數設進去
```
gedit POSCAR
```
* 把INCAR參數設進去
```
gedit INCAR
```
* 把KPOINTS參數設進去
```
gedit KPOINTS
```
* 引用所需POTCAR並合成一個POTCAR檔案(以O、H做示範)
```
cat ../POT/PAW_PBE/O/POTCAR ../POT/PAW_PBE/H/POTCAR >POTCAR
```
* 用四核心跑VASP
```
mpirun -np 4 vasp
```
* 看OUTCAR結果
```
vim OUTCAR
```