stb-hubbarduAlphas¶
Stage 2 - Perturbation Prep of the 5.7 Hubbard U (Linear Response) workflow · menu code 5.7.2
usage: stb-hubbarduAlphas [-h] [--dir DIR] [--alphas ALPHAS [ALPHAS ...]]
[--frozen-iterations FROZEN_ITERATIONS] [-v] [--no-intro]
Stage 2 of 3: generates the perturbed run folders for a Hubbard U linear-response calculation.
Reads the 'reference/' folder and template snapshot written by stb-hubbardu
(stage 1) -- 'reference/' must already be converged, since its .DM is copied
into every generated folder here. Writes one 'scf_alpha_<v>' folder per
perturbation strength (full self-consistent response) and one
'frozen_alpha_<v>' folder per strength INCLUDING v=0 (single-iteration,
frozen-density response) -- the v=0 frozen point is evaluated by the exact
same recipe as the others rather than reusing reference's own fully-converged
value, so every point on the frozen-response line is mutually consistent.
Also copies in any pseudopotentials stb-hubbardu was given via --pseudo-dir.
Doesn't run SIESTA itself -- run each folder's calculation yourself, then use
stb-hubbarduAnalysis.
options:
-h, --help show this help message and exit
--dir DIR Directory containing stage 1's 'reference/' folder and manifest -- defaults to 'hubbardu_runs', stb-hubbardu's own default --output-dir, so stage 2 runs against stage 1's output with no extra flag in the common case.
--alphas ALPHAS [ALPHAS ...]
Perturbation strengths in eV (default: [-0.1, -0.05, 0.05, 0.1]).
--frozen-iterations FROZEN_ITERATIONS
MaxSCFIterations for the frozen-density runs (default: 1; raise this only if stb-hubbarduAnalysis finds nothing to parse in those folders).
-v, --version show program's version number and exit
--no-intro Do not show the introduction
Usage example:
stb-hubbarduAlphas --dir hubbardu_runs
stb-hubbarduAlphas --dir hubbardu_runs --alphas -0.2 -0.1 0.1 0.2
stb-hubbarduAlphas --dir hubbardu_runs