Skip to content

stb-pseudo

Pseudopotential Resolver · menu code 1.2 · guide: 1.2 Pseudopotential Resolver

usage: stb-pseudo [-h] [-f PATH] [--species SPECIES [SPECIES ...]] [-p BANK_OR_PATH]
                  [--fallback-dir BANK_OR_PATH] [--list-elements BANK] [--list-banks]
                  [-o OUTPUT] [--dry-run] [-v] [--no-intro]

Resolves the pseudopotentials a structure needs and copies them into a run folder.
Give a structure file (-f/--file, .fdf) or an explicit element list (--species),
plus a pseudopotential source (-p/--pp-path -- a bundled bank name or a
directory of your own .psf/.psml files). Reports which elements were found
and which are missing, and copies the resolved files into -o/--output
(default: the current directory) unless --dry-run is given. --fallback-dir
supplies a second source consulted only for elements missing from the
primary one. --list-elements browses a bundled bank without needing a
structure at all, and --list-banks lists every bundled table.

PseudoDojo tables: -p dojo[-sr|-fr|-sr3plus][-pbe|-pbesol|-pw][-standard|-stringent],
words in any order, a missing word takes its default (sr, pbe, standard):
  dojo                 scalar-relativistic PBE standard (the default table)
  dojo-pbesol          PBEsol;  dojo-pw (or dojo-lda): LDA (PW92)
  dojo-stringent       more semicore states (groups 13-16: the s,p shell below the d;
                       Hf/Ta: 4f) -- more electrons, more expensive
  dojo-fr[-pbesol]     full-relativistic, required for 'Spin spin-orbit'
  dojo-sr3plus         lanthanides Ce-Lu with 4f in the core (Ln3+ compounds only)
The table's functional must match the calculation's XC.Functional/XC.Authors.

options:
  -h, --help            show this help message and exit
  -f PATH, --file PATH  Path to a SIESTA structure file (.fdf) to read the required species from. Required unless --species or --list-elements is given.
  --species SPECIES [SPECIES ...]
                        Element symbol(s) to resolve directly, instead of reading a structure file. Mutually exclusive with -f/--file.
  -p BANK_OR_PATH, --pp-path BANK_OR_PATH
                        Pseudopotential source: a bundled bank name (dojo[-sr|-fr|-sr3plus][-pbe|-pbesol|-pw][-standard|-stringent], virtual_vault) or a directory of your own .psf/.psml files. Required unless --list-elements is given.
  --fallback-dir BANK_OR_PATH
                        A second pseudopotential source, consulted only for elements missing from -p/--pp-path -- fills gaps automatically instead of just reporting them as missing.
  --list-elements BANK  Print the elements available in a bundled bank (any name -p accepts, e.g. dojo-fr-pbesol) and exit -- no structure or -p/--pp-path needed.
  --list-banks          Print every bundled bank (each PseudoDojo table with its relativity, functional, accuracy and element count) and exit.
  -o OUTPUT, --output OUTPUT
                        Directory to copy the resolved pseudopotentials into. Default: the current directory.
  --dry-run             Only run the availability check and report -- do not copy any files.
  -v, --version         show program's version number and exit
  --no-intro            Do not show the introduction

Usage examples:
  stb-pseudo -f structure.fdf -p dojo -o .
  stb-pseudo --species Fe O -p dojo --fallback-dir virtual_vault
  stb-pseudo -f structure.fdf -p dojo --dry-run
  stb-pseudo --list-elements dojo
  stb-pseudo -f structure.fdf -p dojo-fr-pbesol --dry-run
  stb-pseudo -f structure.fdf -p dojo-sr3plus --fallback-dir dojo
  stb-pseudo --list-banks