CLI reference¶
The public command is:
atomref-proatoms generate [options]
Use installed help as the exact source for current flags:
atomref-proatoms generate --help
This page explains the main choices behind those flags.
Basic dry run¶
Start with a dry run. It checks the state selection, method, basis source, output context, and artifact policy without running SCF:
atomref-proatoms generate \
--elements C,N,O \
--method PBE0 \
--relativity x2c \
--basis bse:x2c-QZVPall \
--state-policy neutral \
--artifacts profiles,rad \
--workdir ./proatoms \
--dry-run
Dry run writes:
atomref_proatoms_workspace.json
run_config.input.json
run_config.resolved.json
plan.json
Inspect plan.json before removing --dry-run.
The input file preserves every CLI control exactly as requested. The resolved
configuration and plan also contain the effective scf_settings and
execution_policy, including resume/overwrite behavior, logging, and .rad
evaluation controls. This makes a dry run a complete provenance preview rather
than only a chemistry-selection preview.
Element selection¶
Use a comma-separated element list:
--elements C,N,O
Use a closed element range:
--element-range B-F
Both can be combined:
--elements H --element-range B-F
State policies and charges¶
--state-policy neutral
selects only curated neutral states.
--state-policy stockholder
selects the curated stockholder/Hirshfeld-I-like state set for the requested elements. For stockholder runs, filter charges explicitly when possible:
--charges=-1,0,+1
The separated form --charges -1,0,+1 is also accepted. The = form is
still recommended in examples because it is unambiguous for values beginning
with -.
The CLI does not accept custom configurations or multiplicities. Use Python scripting for those workflows.
Method and relativity¶
HF and DFT are both public method paths:
--method hf
--method PBE0
--method B3LYP
--method "wB97X-D"
HF uses the spherical fractional-occupation UHF backend. DFT uses the spherical fractional-occupation UKS backend and passes the exchange-correlation string to PySCF. The generator does not maintain its own dictionary of valid DFT names; the installed PySCF/libxc stack is the source of truth.
Relativity is selected with:
--relativity x2c
--relativity none
x2c records the spin-free one-electron X2C convention.
Basis sources¶
PySCF basis name:
--basis def2-SVP
--basis pyscf:def2-SVP
Basis Set Exchange basis name:
--basis bse:cc-pVDZ
Local NWChem-format file:
--basis-file input/my_basis.nw --basis-name my-basis
The generator saves basis provenance and checks under:
<workdir>/basis/
Detected ECP/effective-core basis data fail by default. Use --allow-ecp only
when an explicit-valence density is intended. With that flag, BSE and local
NWChem basis sources may carry ECP sections into execution. .wfn export still
requires all-electron basis data and is rejected for ECP sources.
Local basis files may have unknown full-electron status. For .wfn planning,
use --allow-unverified-basis only when you have inspected the file and accept
that responsibility.
Artifacts¶
profiles native profiles + radii + QA
rad Multiwfn density-only .rad files
wfn neutral-only PROAIM .wfn files, all-electron basis only
all profiles + rad + neutral-only wfn where allowed
Default:
--artifacts profiles,rad
SCF artifacts are always written during execution and are used for resume and export:
<workdir>/scf/<run_id>/<state_id>/scf.chk
<workdir>/scf/<run_id>/<state_id>/scf.npz
<workdir>/scf/<run_id>/<state_id>/scf.json
<workdir>/scf/<run_id>/<state_id>/scf.log
For resume, checkpoint, array, and metadata files must be non-empty and match
the current fingerprints. scf.log must exist, but it may be empty when a run
was made with --quiet-scf-log --verbose 0.
Use --resume --force to reuse matching SCF artifacts while refreshing existing
profiles, radii, QA, .rad, and .wfn outputs. --force without --resume
recomputes SCF as well as overwriting downstream outputs.
SCF runtime controls¶
The packaged defaults are used unless an override is supplied:
--conv-tol FLOAT positive, finite SCF convergence tolerance
--max-cycle INTEGER positive maximum SCF cycle count
--diis-space INTEGER positive DIIS subspace size
--diis-start-cycle INT non-negative first DIIS cycle
--grid-level INTEGER non-negative PySCF DFT grid level
--verbose INTEGER non-negative PySCF verbosity (default: 3)
--quiet-scf-log write scf.log without echoing PySCF output
Invalid numeric controls are rejected before any plan files or SCF artifacts are
written. Effective values are recorded in run_config.resolved.json and
plan.json; raw overrides are retained in run_config.input.json.
.rad density controls¶
The default .rad export evaluates the spherical SCF density on one fixed ray:
--rad-angular-points 1
For a local angular-average diagnostic, pass any integer greater than or equal
to 4. PySCF-supported Lebedev sizes use PySCF grids; other valid sizes use the
deterministic Fibonacci fallback. --rad-eval-chunk-size controls the number
of Cartesian points passed to PySCF in one AO-evaluation block and must be
positive.
Workdir behavior¶
One workdir corresponds to one method, relativity, basis, and state-policy context. If an existing workdir was initialized with a different context, the command stops and asks you to choose another directory.
Important root files are:
atomref_proatoms_workspace.json
run_config.input.json
run_config.resolved.json
plan.json
manifest.json
failures.csv