Prepare VASP DOS workflow inputs from existing SCF artifacts and user-specified DOS settings. Use when the user requests total/projected DOS setup and needs INCAR/KPOINTS preparation with explicit prerequisite checks against prior SCF runs.
This skill prepares DOS-stage input tasks only. It verifies prerequisite SCF artifacts, prepares DOS-specific INCAR/KPOINTS, and reports assumptions. It does not submit or execute jobs.
The VASP wiki enforces a two-step SCF → DOS pattern:
dft-vasp/static): converge the charge
density on a coarse k-mesh, write out CHGCAR (LCHARG = .TRUE.).CHGCAR, fix the charge
density (ICHARG = 11), and sample a denser k-mesh using the
tetrahedron method (ISMEAR = -5).Per VASP wiki Fcc_Si_DOS:
"You must do this, otherwise VASP cannot read the CHGCAR and will terminate."
Require the user to point at an existing SCF task with:
CHGCAR (non-empty)POSCAR as will be used for DOSPOTCAR (species order, pseudo version)LCHARG = .TRUE. was set in the SCF INCARIf any of these is missing, stop and ask.
total DOS or projected DOS)EMIN, EMAX) — default: auto from EFERMI ± 15 eVLORBIT)| Tag | Role | Recommended |
|---|---|---|
ICHARG | charge handling | 11 (fixed from CHGCAR, non-SCF) |
ISMEAR | k-sampling method | -5 (tetrahedron, Blöchl correction) — requires ≥ 4 irreducible k-points |
NEDOS | energy grid points | 3001 (~10 meV resolution over 30 eV window) |
LORBIT | projection mode | 11 (site + l+m projection, needs RWIGS or uses default radii) |
EMIN, EMAX | plot window | EFERMI − 15 to EFERMI + 15 |
NBANDS | extra bands | ≥ 1.3 × occupied for clean conduction tails |
ISMEAR = -5 is wrong for:
ISMEAR = 0, SIGMA = 0.05.ISMEAR = 0, SIGMA = 0.05.Prerequisite: a converged dft-vasp/static run on fcc Si at its relaxed
volume with LCHARG = .TRUE. (see dft-vasp/relax for the equilibrium
structure — V/atom ≈ 14.5 ų, a ≈ 3.87 Å).
Task directory:
Si_fcc_dos/
├── POSCAR # same cell as SCF prerequisite
├── INCAR
├── KPOINTS # denser than SCF
├── POTCAR # same as SCF prerequisite
└── CHGCAR # copied from the SCF run
INCAR:
SYSTEM = fcc Si DOS
ISTART = 1
ICHARG = 11 # fixed charge, non-SCF
ENCUT = 320
PREC = Accurate
LREAL = .FALSE.
EDIFF = 1E-6
NELM = 60
ISMEAR = -5 # tetrahedron + Bloechl
LORBIT = 11 # site-projected + orbital-resolved
NEDOS = 3001
EMIN = -15
EMAX = 15
LWAVE = .FALSE.
LCHARG = .FALSE.
KPOINTS — refine to 21×21×21 Γ-centered (~8 × more points than the 11³
SCF mesh; still cheap for a 1-atom cell):
DOS mesh
0
Gamma
21 21 21
0 0 0
ls DOSCAR — file exists and is > 10 kB.head -6 DOSCAR — first header line reports the number of ions; line 5
should give EMAX EMIN NEDOS EFERMI weight.grep 'E-fermi' OUTCAR | tail -1 — Fermi level in eV.
0 0 0 and 0.25 0.25 0.25, a_conv ≈ 5.47 Å at PBE).LORBIT = 11), open PROCAR or check the last
columns of DOSCAR — l+m components must sum (per site) to the
total DOS within 1%.ISMEAR = -5 with a highly anisotropic cell (e.g., slab) will produce
noisy DOS — use denser k-mesh in the short reciprocal directions.ICHARG = 11 with a CHGCAR from a different functional / ENCUT
gives physically meaningless DOS. The skill must verify the two INCARs
share GGA, ENCUT, PREC, and LASPH tags.INCAR, KPOINTS, staged CHGCAR linkdpdisp-submit