VASP¶
What is VASP?¶
VASP (Vienna Ab initio Simulation Package) is a leading software package for performing ab initio quantum mechanical calculations using density functional theory (DFT). It is widely used for electronic structure calculations, molecular dynamics, and materials modeling.
Important
This is a CPU-only build of VASP. GPU acceleration is not available in this installation.
License Required
VASP is proprietary software requiring a valid license. Users must provide their own POTCAR (pseudopotential) files obtained through their VASP license.
Partition Availability
VASP can be run on both CPU and GPU partitions. While this build does not utilize GPU acceleration, running on GPU nodes may be convenient when combining VASP with GPU-accelerated tools in the same workflow.
Base Environment
VASP is provided via the environment modules system.
Loading VASP¶
Available Executables¶
VASP provides three executables for different calculation types:
| Executable | Purpose |
|---|---|
vasp_std |
Standard version for general calculations |
vasp_gam |
Gamma-point only calculations (faster for large supercells) |
vasp_ncl |
Non-collinear magnetism calculations |
Required Input Files¶
VASP requires four input files in the working directory:
| File | Description |
|---|---|
INCAR |
Control parameters for the calculation |
POSCAR |
Atomic positions and lattice vectors |
POTCAR |
Pseudopotential data (user must provide from VASP license) |
KPOINTS |
k-point mesh for sampling |
Basic Example: Silicon Calculation¶
Input Files¶
INCAR
POSCAR
Crystal structure
KPOINTS
POTCAR
Pseudopotential file
The POTCAR file contains pseudopotential data for each element in your calculation. Concatenate pseudopotentials in the same order as elements appear in POSCAR:
SLURM Job Script (CPU)¶
vasp_cpu.sh
CPU partition job (4 cores)
Checking Job Status¶
Output Files¶
VASP generates several output files:
| File | Description |
|---|---|
OUTCAR |
Main output file with detailed calculation results |
OSZICAR |
Convergence information for each SCF/ionic step |
CONTCAR |
Final atomic positions (can be used as next POSCAR) |
vasprun.xml |
XML-formatted output with all calculation data |
EIGENVAL |
Eigenvalues at each k-point |
DOSCAR |
Density of states |
More Information¶
Documentation
Official VASP website:
Official VASP Wiki: