VASP Wiki
VASP (Vienna Ab initio Simulation Package) is a software package for atomistic materials simulation. This site hosts a Chinese translation of the official VASP Wiki, organized along a learning path for beginners in 6 main sections:
Want to follow the official hands-on tutorials? See the separate VASP Tutorials section (Chinese translation of the official tutorial site).
New users should start with The VASP Manual and then browse the learning path below:
1. Installation#
Compiling VASP from source: toolchains, compiler flags, and Makefile.include examples.
Makefile.include Examples (37 pages)
- All.conf
- Cuda.conf
- Fast.conf
- Impi+omp.conf
- Makefile.include.amdflang
- Makefile.include.amdflang omp
- Makefile.include.aocc ompi aocl
- Makefile.include.aocc ompi aocl omp
- Makefile.include.cray
- Makefile.include.cray omp
- Makefile.include.cray omp off
- Makefile.include.fujitsu a64fx
- Makefile.include.fujitsu a64fx omp
- Makefile.include.gnu
- Makefile.include.gnu omp
- Makefile.include.gnu ompi aocl
- Makefile.include.gnu ompi aocl omp
- Makefile.include.gnu ompi mkl omp
- Makefile.include.intel
- Makefile.include.intel omp
- Makefile.include.intel ompi mkl omp
- Makefile.include.intel serial
- Makefile.include.linux gfortran
- Makefile.include.linux intel
- Makefile.include.linux intel cuda
- Makefile.include
- Makefile.include.nec aurora
- Makefile.include.nvhpc
- Makefile.include.nvhpc acc
- Makefile.include.nvhpc omp
- Makefile.include.nvhpc omp acc
- Makefile.include.nvhpc ompi mkl omp
- Makefile.include.nvhpc ompi mkl omp acc
- Makefile.include.oneapi
- Makefile.include.oneapi omp
- Makefile.include.oneapi omp off
- Ompi+omp.conf
Setup (17 pages)
- Combining MPI and OpenMP
- Compiler options
- CUDA-C GPU port of VASP
- Energy cutoff and FFT meshes
- Installing VASP.5.X.X
- Installing VASP.6.X.X
- Linking to libraries
- Memory requirements
- Not enough memory
- Optimizing the parallelization
- Personal computer installation
- Precompiler options
- Profiling
- Shared memory
- Toolchains
- Validation tests
- Verify your VASP download
2. Input Files#
Files required to run VASP: INCAR tags grouped by function, POSCAR, POTCAR, KPOINTS, and output files.
INCAR Tags: Electronic Structure & SCF (127 pages)
- CO
- DQ
- WC
- H2O
- LH5
- NGX
- NGY
- NGZ
- VCA
- ALGO
- AMIN
- AMIX
- BMIX
- EAUG
- EFOR
- EINT
- EMAX
- EMIN
- IMIX
- ISYM
- LEFG
- LTAU
- NELM
- NGXF
- NGYF
- NGZF
- NICS
- NRMM
- PREC
- ROPT
- TIME
- ZVAL
- DEPER
- DIPOL
- EDIFF
- ENAUG
- ENCUT
- ENINI
- ENMIN
- ESTOP
- FERDO
- FERWE
- GAMMA
- IALGO
- IBAND
- LBONE
- LDIAG
- LREAL
- LSEPB
- LSEPK
- LWAVE
- NBMOD
- SIGMA
- ADDGRID
- DFT-D2
- DFT-D3
- EBREAK
- EFIELD
- EPSILON
- ESF CONV
- ESF NINTER
- ESF SPLINES
- EWALD CUTOFF
- FINDIFF
- FOCKCORR
- ICHARG
- ICHIBARE
- INIMIX
- INIWAV
- INMRPRINT
- ISEARCH
- ISMEAR
- ISTART
- KERNEL TRUNCATION FACTOR
- KERNEL TRUNCATION IDIMENSIONALITY
- KERNEL TRUNCATION IPAD
- KERNEL TRUNCATION ISURFACE
- KERNEL TRUNCATION LCOARSEN
- KERNEL TRUNCATION LTRUNCATE
- KPOINTS OPT MODE
- LATTICE CONSTRAINTS
- LDISENTANGLED
- LLRAUG
- LMAXMIX
- LMAXPAW
- LNICSALL
- LPOSNICS
- LSUBROT
- LSYNCH5
- LTWO CENTRE
- LVGVAPPL
- LVGVCALC
- LWEIGHTED
- MAXMIX
- MINROT
- MIXPRE
- MSDGW F
- NBANDS
- NELECT
- NELMDL
- NELMIN
- NGYROMAG
- NHC NCHAINS
- NHC NRESPA
- NHC NS
- NLSPLINE
- NUCIND
- NWRITE
- PLUGINS LOCAL POTENTIAL
- PLUGINS MACHINE LEARNING
- PLUGINS NEIGHBOR CUTOFF
- PLUGINS OCCUPANCIES
- PLUGINS STRUCTURE
- POSNICS
- QMAXFOCKAE
- QUAD EFG
- RANDOM GENERATOR
- RMM-DIIS
- SHAKETOLSOF
- SMEARINGS
- STEP MAX
- STEP SIZE
- STOPCAR
- SYMPREC
- SYSTEM
- VACPOTFLAT
- WEIMIN
INCAR Tags: Functional Parameters (107 pages)
- XC
- AEXX
- BEXX
- CMBJ
- IVDW
- LDAU
- SMBJ
- XC C
- AGGAC
- AGGAX
- ALDAC
- ALDAX
- CMBJA
- CMBJB
- CMBJE
- LASPH
- LDAUJ
- LDAUL
- LDAUU
- LEXCH
- NKRED
- RSMBJ
- TITEL
- VDW D
- ALPHA VDW
- AMGGAC
- AMGGAX
- BPARAM
- CPARAM
- DFT-D4
- DFTD4 MODEL
- DFTD4 XC
- ENCUTFOCK
- EVENONLY
- GAMMA VDW
- GGA COMPAT
- HFALPHA
- HFLMAX
- HFRCUT
- HFSCREEN
- HITOLER
- IVDW NL
- LDAUPRINT
- LDAUTYPE
- LFOCKACE
- LFOCKAEDFT
- LHFCALC
- LIBMBD ALPHA
- LIBMBD C6AU
- LIBMBD K GRID
- LIBMBD K GRID SHIFT
- LIBMBD MBD A
- LIBMBD MBD BETA
- LIBMBD METHOD
- LIBMBD N OMEGA GRID
- LIBMBD PARALLEL MODE
- LIBMBD R0AU
- LIBMBD TS D
- LIBMBD TS SR
- LIBMBD VDW PARAMS KIND
- LIBMBD XC
- LIBXC1
- LIBXC2
- LMAXFOCK
- LMAXTAU
- LMIXTAU
- LMODELHF
- LNOAUGXC
- LRHFCALC
- LSCALER0
- LSCSGRAD
- LSPIN VDW
- LTBOUNDLIBXC
- LTHOMAS
- LTSSURF
- LUSE VDW
- LVDW EWALD
- LVDWEXPANSION
- LVDWSCS
- METAGGA
- NKREDX
- NKREDY
- NKREDZ
- ODDONLY
- PARAM1
- PARAM2
- PRECFOCK
- SCSRAD
- SDFTD3 DAMPING
- SDFTD3 XC
- VDW A1
- VDW A2
- VDW ALPHA
- VDW BETA
- VDW C6
- VDW C6AU
- VDW CNRADIUS
- VDW R0
- VDW R0AU
- VDW RADIUS
- VDW S6
- VDW S8
- VDW S9
- VDW SR
- VDW SR8
- VOSKOWN
- ZAB VDW
INCAR Tags: Magnetism Parameters (22 pages)
INCAR Tags: GW & Many-body Parameters (62 pages)
- MP2
- IBSE
- LFXC
- LSCK
- NEDOS
- ANTIRES
- BSEELECTRON
- BSEHOLE
- BSEPREC
- EFERMI NEDOS
- ENCUTGW
- ENCUTGWSOFT
- EVENONLYGW
- IALL IN ONE
- IEPSILON
- K MULTIPLY
- KPOINT BSE
- LADDER
- LALL IN ONE
- LANCZOSTHR
- LDOWNSAMPLE
- LFINITE TEMPERATURE
- LFOCKSTD
- LHARTREE
- LMP2LT
- LOCALIZED BASIS
- LSCRPA
- LSELFENERGY
- LSINGLES
- LSMP2LT
- LSPECTRAL
- LSPECTRALGW
- LTRIPLET
- MAXMEM
- MSDGW NP
- MSDGW NXI
- MSDGW SEED
- NATURALO
- NBANDS WAVE
- NBANDSEXACT
- NBANDSGW
- NBANDSO
- NBANDSV
- NBSEBLOCKO
- NBSEBLOCKV
- NBSEEIG
- NCRPA BANDS
- NCSHMEM
- NELMGW
- NOMEGA
- NOMEGA DUMP
- NOMEGAPAR
- NOMEGAR
- NSTORB
- NTARGET STATES
- NTAUPAR
- ODDONLYGW
- OMEGAMAX
- OMEGAMIN
- OMEGATL
- SCISSOR
- VCUTOFF
INCAR Tags: Linear Response Parameters (24 pages)
INCAR Tags: MD Parameters (55 pages)
- APACO
- NPACO
- PMASS
- SMASS
- TEBEG
- TEEND
- ANDERSEN PROB
- CSVR PERIOD
- FBIAS A
- FBIAS D
- FBIAS R0
- FMP ACTIVE
- FMP DIRECTION
- FMP PERIOD
- FMP SNUMBER
- FMP SWAPNUM
- HESSEMAT
- HILLS BIN
- HILLS H
- HILLS W
- HILLSPOT
- IMAGE 1
- INCREM
- INTERACTIVE
- KBLOCK
- LANGEVIN GAMMA
- LANGEVIN GAMMA L
- LBLUEOUT
- LTEMPER
- MDALGO
- NBLOCK
- NCORE IN IMAGE1
- NHC PERIOD
- NSUBSYS
- NTEMPER
- OFIELD A
- OFIELD KAPPA
- OFIELD Q6 FAR
- OFIELD Q6 NEAR
- POMASS
- PSUBSYS
- RANDOM SEED
- SCALEE
- SHAKEMAXITER
- SHAKETOL
- SHAKETOLSOFT
- SPRING K
- SPRING R0
- SPRING V0
- TILAMBDA
- TSUBSYS
- VALUE MAX
- VALUE MIN
- VCAIMAGES
- VELOCITY
INCAR Tags: MLFF Parameters (84 pages)
- ML AB
- ML CX
- ML FF
- ML MB
- ML W1
- ML ABN
- ML AFILT2
- ML CALGO
- ML CDOUB
- ML CSIG
- ML CSLOPE
- ML CTIFOR
- ML DESC TYPE
- ML EATOM
- ML EATOM REF
- ML EMPPOT RCUT
- ML EPS LOW
- ML EPS REG
- ML ESTBLOCK
- ML FFN
- ML GRACE MODEL
- ML HEAT
- ML HIS
- ML IAFILT2
- ML IALGO LINREG
- ML ICOUPLE
- ML ICRITERIA
- ML IREG
- ML ISCALE TOTEN
- ML ISTART
- ML IWEIGHT
- ML LAFILT2
- ML LBASIS DISCARD
- ML LCOUPLE
- ML LEATOM
- ML LEMPPOT
- ML LERR
- ML LFAST
- ML LHEAT
- ML LIB
- ML LMAX2
- ML LMLFF
- ML LOGFILE
- ML LSPARSDES
- ML LUSE NAMES
- ML MB MIN
- ML MCONF
- ML MCONF NEW
- ML MHIS
- ML MODE
- ML MOPOT DM
- ML MOPOT IJM
- ML MOPOT NM
- ML MOPOT RKM
- ML MOPOT RM
- ML MRB1
- ML MRB2
- ML NATOM COUPLED
- ML NCSHMEM
- ML NHYP
- ML NMDINT
- ML NRANK SPARSDES
- ML OUTBLOCK
- ML OUTPUT MODE
- ML RCOUPLE
- ML RCUT1
- ML RCUT2
- ML RDES SPARSDES
- ML REG
- ML SCLC CTIFOR
- ML SIGV0
- ML SIGW0
- ML SION1
- ML SION2
- ML SRPOT B0
- ML SRPOT N0
- ML SRPOT S0
- ML TYPE
- ML WTIFOR
- ML WTOTEN
- ML WTSIF
- PLUGINS ML MODE
- PLUGINS ML OUTBLOCK
- PLUGINS ML OUTPUT MODE
INCAR Tags: Phonon Parameters (77 pages)
- CHECKPOINT FD
- ELPH DECOMPOSE
- ELPH DRIVER
- ELPH FERMI NEDOS
- ELPH IGNORE IMAG PHONONS
- ELPH ISMEAR
- ELPH KSPACING
- ELPH LR
- ELPH MODE
- ELPH NBANDS
- ELPH NBANDS SUM
- ELPH POT FFT MESH
- ELPH POT GENERATE
- ELPH POT LATTICE
- ELPH PREPARE
- ELPH RUN
- ELPH SCATTERING APPROX
- ELPH SELFEN BAND START
- ELPH SELFEN BAND START KP
- ELPH SELFEN BAND STOP
- ELPH SELFEN BAND STOP KP
- ELPH SELFEN BROAD TOL
- ELPH SELFEN CARRIER DEN
- ELPH SELFEN CARRIER DEN RANGE
- ELPH SELFEN CARRIER PER CELL
- ELPH SELFEN DELTA
- ELPH SELFEN DW
- ELPH SELFEN ENERGY WINDOW
- ELPH SELFEN FAN
- ELPH SELFEN G SKIP
- ELPH SELFEN GAPS
- ELPH SELFEN IKPT
- ELPH SELFEN IMAG SKIP
- ELPH SELFEN KPTS
- ELPH SELFEN MU
- ELPH SELFEN MU RANGE
- ELPH SELFEN NW
- ELPH SELFEN STATIC
- ELPH SELFEN TEMPS
- ELPH SELFEN TEMPS RANGE
- ELPH SELFEN WRANGE
- ELPH TRANSPORT
- ELPH TRANSPORT DFERMI TOL
- ELPH TRANSPORT DRIVER
- ELPH TRANSPORT EMAX
- ELPH TRANSPORT EMAX PLOT
- ELPH TRANSPORT EMIN
- ELPH TRANSPORT EMIN PLOT
- ELPH TRANSPORT NEDOS PLOT
- ELPH USEBLAS
- ELPH USERECIP
- ELPH WF CACHE MB
- ELPH WF CACHE PREFILL
- ELPH WF COMM OPT
- ELPH WF REDISTRIBUTE
- ELPH WRITE HDF5VEL
- ELPH WRITE TEXTVEL
- ENCUTLR
- IFC ASR
- IFC LR
- KPOINTS ELPH
- LPHON DISPERSION
- LPHON POLAR
- LPHON READ FORCE CONSTANTS
- PHON BORN CHARGES
- PHON DIELECTRIC
- PHON DOS
- PHON G CUTOFF
- PHON LBOSE
- PHON LMC
- PHON NEDOS
- PHON NSTRUCT
- PHON NWRITE
- PHON SIGMA
- PHON TLIST
- TRANSPORT NEDOS
- TRANSPORT RELAXATION TIME
INCAR Tags: Wannier Parameters (15 pages)
INCAR Tags: Parallelization Parameters (19 pages)
INCAR Tags: Ionic & Structure Parameters (23 pages)
INCAR Tags: Output Control Parameters (32 pages)
INCAR Tags: K-point & Input Parameters (7 pages)
Input Files (24 pages)
Output Files (31 pages)
3. Examples#
Step-by-step typical calculations: bands, DOS, structure optimization, phonons, and more.
Howto (21 pages)
- Band-structure calculation using density-functional theory
- Band-structure calculation using hybrid functionals
- Calculating the electric field gradient
- Calculating the Schottky barrier
- Calculation of atoms
- Calculation of dimers
- Choosing pseudopotentials
- Command-line arguments
- Computing the spin texture
- Dipole corrections for defects in solids
- Electrostatic corrections
- How to handle imaginary phonon modes
- Minimal reproducible example
- PAW control tags
- Plugins
- Practical considerations for transition state finding calculations
- Preparing a POTCAR
- Preparing a Super Cell
- Restart and output files cheat sheet
- Setting up an electronic minimization
- Time-dependent density-functional theory calculations
Examples (106 pages)
- NiO
- Cd Si
- ACFDT RPA calculations
- Adsorption of H2O on TiO2
- Alpha-AlF3
- Alpha-SiO2
- At and mol further
- Band gap renormalization in diamond using one-shot method
- Band-structure calculation using meta-GGA functionals
- Bandgap of Si in GW
- Bandgap of Si using different DFT+HF methods
- Bandstructure and CRPA of SrVO3
- Bandstructure of Si in GW (VASP2WANNIER90)
- Bandstructure of SrVO3 in GW
- Basis set convergence of RPA-ACFDT calculations
- Best practices for Bethe-Salpeter calculations
- Beta-tin Si
- Bethe-Salpeter-equations calculations
- Biased molecular dynamics calculations
- Blue moon ensemble calculations
- Calculate U for LSDA+U
- Calculating the chemical shieldings
- Calculating the hyperfine-coupling constant
- Calculating the magnetic susceptibility
- Cd Si relaxation
- Cd Si volume relaxation
- CO on Ni 111 surface
- CO partial DOS
- CO vibration
- Collective jumps of a Pt adatom on fcc-Pt (001) Nudged Elastic Band Calculation
- Computing the phonon dispersion and DOS
- Computing the work function
- Constrained molecular dynamics calculations
- Constraining local magnetic moments
- Constraining the local magnetic moments
- CRPA of SrVO3
- Delta self-consistent field 2
- Determining the Magnetic Anisotropy
- DFT+DMFT calculations
- Dielectric properties of Si
- Dielectric properties of Si using BSE
- Dielectric properties of SiC
- Equilibrium volume of Si in the RPA
- Estimation of J magnetic coupling
- Fcc Ni
- Fcc Ni (revisited)
- Fcc Ni DOS
- Fcc Ni DOS with hybrid functional
- Fcc Si
- Fcc Si bandstructure
- Fcc Si DOS
- Graphite interlayer distance
- Graphite MBD binding energy
- Graphite TS binding energy
- H2O molecular dynamics
- H2O vibration
- Improving the dielectric function
- Including the Spin-Orbit Coupling
- Interface pinning calculations
- Intrinsic-reaction-coordinate calculations
- Ionic contributions to the frequency dependent dielectric function of NaCl
- Liquid Si - Freezing
- Liquid Si - MLFF
- Liquid Si - Standard MD
- Machine learning force field calculations Basics
- Metadynamics calculations
- MgO optimum mixing
- Molecular-dynamics calculations
- MP2 calculations
- Ni 100 surface bandstructure
- Ni 100 surface DOS
- Ni 100 surface relaxation
- Ni 111 surface high precision
- Ni 111 surface relaxation
- NiO GGA+U
- NiO GGA
- NiO HSE06
- NiO LSDA+U
- Nucleophile Substitution CH3Cl - Standard MD
- Nuclephile Substitution CH3Cl - BM
- Nuclephile Substitution CH3Cl - mMD1
- Nuclephile Substitution CH3Cl - mMD2
- Nuclephile Substitution CH3Cl - mMD3
- Nuclephile Substitution CH3Cl - SG
- O atom
- O atom spinpolarized
- O atom spinpolarized low symmetry
- O dimer
- Partial DOS of CO on Ni 111 surface
- Plotting the BSE fatband structure of Si
- Practical guide to GW calculations
- Restarting finite differences calculations
- Si bandstructure
- Si HSE bandstructure
- Slow-growth approach calculations
- Spin-orbit coupling in a Fe monolayer
- Spin-orbit coupling in a Ni monolayer
- Spin-spiral calculations
- STM of graphene
- STM of graphite
- Supercell core-hole calculations
- Thermodynamic integration calculations
- Transition State Search of Ammonia
- TS search using the NEB Method
- Vibrational frequencies of CO on Ni 111 surface
- XANES in Diamond
Tutorials (14 pages)
- Atoms and Molecules - Tutorial
- BSE - Tutorial
- Bulk Systems - Tutorial
- GW and ACFDT - Tutorial
- Hybrid functionals - Tutorial
- Lattice Dynamics - Tutorial
- LTMP2 - Tutorial
- Machine learning force field - Tutorial
- Magnetism - Tutorial
- Molecular dynamics - Tutorial
- MP2 ground state calculation - Tutorial
- Optical properties and dielectric response - Tutorial
- Surface Science - Tutorial
- XAS - Tutorial
4. Glossary#
Terms and concepts explained and grouped by topic. Look up any term you don’t understand.
Electronic Structure Theory (16 pages)
- Berry phases and finite electric fields
- Coulomb singularity
- DDsC dispersion correction
- DFT-ulg
- Electronic transport coefficients
- Hellmann-Feynman forces
- Interface pinning
- Machine learning force field Theory
- Partial charge densities and STM simulations
- Self-Consistent Potential Correction
- Self-consistent screening in Tkatchenko-Scheffler method
- Slow-growth approach
- Supercell core-hole theory
- Thermodynamic integration
- Tkatchenko-Scheffler method
- Tkatchenko-Scheffler method with iterative Hirshfeld partitioning
Exchange-correlation Functionals (16 pages)
- GGA
- Charged systems with density functional theory
- Downsampling of the Hartree-Fock operator
- Electric field response from density-functional-perturbation theory
- Harris-Foulkes functional
- Hybrid functionals formalism
- LIBXC1 Pn
- LIBXC2 Pn
- List of hybrid functionals
- NMAXFOCKAE and LMAXFOCKAE
- Nonlocal vdW-DF functionals
- Phonons from density-functional-perturbation theory
- Projector-augmented-wave formalism
- Simple-DFT-D3
- Time-dependent density-functional theory
- XCm Pn
Numerical Algorithms & Convergence (14 pages)
- Be careful with the default smearing method (ISMEAR=1)
- Blocked-Davidson algorithm
- Charge sloshing
- Conjugate gradient optimization
- Direct optimization of the orbitals
- Integrating over all orbitals
- Kinetic-energy density mixing
- Preconditioning
- Relaxed geometry
- Self-consistency cycle
- Smearing technique
- Time-propagation algorithms in molecular dynamics
- Troubleshooting electronic convergence
- Wrap-around errors
Electronic Properties (3 pages)
Magnetism (1 pages)
Linear Response & Spectroscopy (4 pages)
Many-body Theory (7 pages)
Molecular Dynamics (9 pages)
Phonons (3 pages)
Other Terms (2 pages)
5. Advanced Topics#
Standalone method topics and advanced subjects that don’t fit the earlier categories.
GW & Many-body Methods (4 pages)
Linear Response & Spectroscopy (4 pages)
Molecular Dynamics (11 pages)
- Constrained MD using a canonical ensemble
- Constrained MD using a microcanonical ensemble
- Müller-Plathe method
- Nosé-Hoover chain thermostat
- NpH ensemble
- NpT ensemble
- NVE ensemble
- NVT ensemble
- Sampling phonon spectra from molecular-dynamics simulations
- Stochastic boundary conditions
- Using metadynamics to train a machine-learned force field
Machine-learned Force Fields (5 pages)
Phonons & Electron-phonon (7 pages)
Wannier Functions (1 pages)
Structure Optimization & TS (8 pages)
Performance & Parallelization (2 pages)
6. VASP Versions#
VASP version history, release notes, known issues, and site information.
All pages (19 pages)
- Changelog
- Chester 2019
- ICAMM Rennes 2016
- ICAMM Rennes 2016 HOWTO
- ICAMM Rennes 2019
- ICAMM Rennes 2019 HOWTO
- IOP Chester 2019
- Known issues
- Lectures and presentations
- Main Page
- NERSC Berkeley 2016
- NERSC Berkeley 2016 HOWTO
- Sigma2 Oslo 2019
- Technical errors
- The VASP Manual
- VASP workshop
- VASP workshop 2003
- Vaspwiki standards
- Welcome