terco input files

terco takes its settings either as command-line flags or from a TOML file:

terco water.xyz -b def2-svp -f wb97x-v --grad        # flags
terco water.toml                                     # the same run from a file
terco water.toml --grad                              # file, plus a flag on top

The file is the same run written down: every key below is one command-line option, parsed and checked by the same code. Flags given after the file override its keys. A key that is not in this list, or a value of the wrong type, is an error that names the key; nothing is silently ignored.

Example

[molecule]
geometry = "water.xyz"    # relative to this file
charge   = 0
unpaired = 0              # unpaired electrons, not the multiplicity

[basis]
main = "def2-svp"

[scf]
functional     = "wb97x-v"
density_fitted = true

[solvation]
model   = "cpcm"
epsilon = 78.3553

[driver]
gradient = true

[output]
json = "water.json"

Rules

  • Sections and names. Keys are snake_case and grouped by what they configure. Each maps to exactly one flag (tables below).

  • Defaults. A key left out takes the flag’s default, including the defaults that depend on the system (a .CHRG/.UHF file, the sadq guess for an ion, the --opt-zero-modes rule). An empty section is allowed and changes nothing.

  • Paths (geometry, the [basis] keys when they are files, output.json, output.save_scf, scf.restart, opt.neb.product, opt.neb.via) are relative to the TOML file’s directory, not the current directory, so a file and its inputs can move together. A basis name (def2-svp) is looked up exactly as on the command line.

  • Flags override the file. terco run.toml --grid 4 runs with grid 4 whatever [dft] grid says. A switch set to true in the file cannot be turned off from the command line (there is no --no-grad); leave it out of the file instead. incremental is on by default and has both forms: false is --no-incremental, and the file’s false with a command line --incremental (or the reverse) is refused as a contradiction.

  • The driver is explicit. [driver] holds the switches that choose what runs after the SCF; there is no “section present means on”.

  • The resolved input is recorded. The JSON summary ([output] json or --json) has an "input" object in these sections, with every key as the run used it: from the file, from a flag that overrode it, or the flag’s declared default. Keys whose default is decided from the system (the charge, the guess, …) appear only when given. Written back as TOML it reruns the same calculation.

  • --version and --help stay command-line only.

Keys

[molecule]

Key

Type

Flag

Meaning

geometry

string

(positional)

.xyz file; required

charge

integer

--chrg

molecular charge

unpaired

integer

--uhf

number of unpaired electrons

[basis]

Key

Type

Flag

Meaning

main

string

--basis

orbital basis: BSE JSON file or a basis name

ecp

string

--ecp

effective core potential: BSE JSON file or a basis name, overriding auto-attach from main’s own ecp_potentials

auxiliary

string

--aux

auxiliary basis of RI-MP2, RI-CCSD and RI-CCSD(T) (cc-pvdz-rifit whatever the orbital basis: give the RI fitting set that matches it)

jk_auxiliary

string

--jkfit

J/K fitting basis for density_fitted (def2-universal-jkfit)

cartesian

bool

--cart

Cartesian AOs even for a spherical basis

linear_dependence

float

--lindep

drop eigenvectors of the unit-diagonal overlap below this (1e-8; 0 drops none)

[scf]

Key

Type

Flag

Meaning

functional

string

--func

hf (default) or a functional name

guess

string

--guess

sad, sadq, sap, gwh, core

max_iterations

integer

--iterations

maximum SCF iterations (100)

energy_tol

float

--econv

energy convergence, Eh (1e-10)

commutator_tol

float

--gconv

norm of the orthogonalised commutator |FDS − SDF| (1e-5)

screening

float

--thresh

integral screening threshold (1e-12)

incremental

bool

--incremental / --no-incremental

incremental Fock build (true, the default; false is a full build every iteration)

density_fitted

bool

--df

density-fitted J and K (basis: [basis] jk_auxiliary)

restart

string

--restart

read the SCF result from a save_scf file

symmetry

string

--symmetry

off (the default; default is a name for it): no symmetry, as before. on (or auto): the largest Abelian point group of the molecule (D2h or one of its subgroups; symmetric and spherical tops, linear molecules and atoms use the Abelian subgroup and frame pyscf gives them), with the results reported in your input frame (the geometry is the input symmetrised in it, within symmetry_tol, with the residual printed; the gradient, and through the C ABI the orbitals, density, multipoles and borrowed basis, are rotated back exactly), and a path the symmetric SCF does not support runs in C1 instead of being refused, with one log line naming the reason: driver.optimize, driver.hessian, correlation.method (RI-MP2, double hybrids and RI-CCSD), scf.density_fitted, solvation.model, scf.convergence.soscf, scf.convergence.mom, scf.convergence.gdm, analysis.fukui, scf.restart, more than one rank, and a basis with linear dependences (functions dropped). A group name is strict: it must be the detected group or a subgroup of it, the molecule is symmetrised and moved to the standard frame of the group, the SCF, the gradient and the report are in that frame (the report says STANDARD FRAME), and the unsupported paths above are refused. Energies, orbital energies, irrep labels, occupations and atomic charges are the same in either frame; a named group puts the DFT grid on the group’s axes, so a DFT energy on a rotated input moves with the grid orientation, which on does not (see below). irrep_nelec makes the request strict, as for a named group

symmetry_tol

float

--symmetry-tol

geometry tolerance for the symmetry detection, Bohr (1e-5)

symmetry_skeleton

boolean

--sym-skeleton / --no-sym-skeleton

in a symmetric run, force the Fock matrix and the four-centre gradient to be built from the orbit representatives of the integral quartets and symmetrized (true), or force the full builds and symmetrize those (false). Omitted, a measured size rule chooses: the skeleton build when the molecule has at least two atoms per symmetry-inequivalent atom (trc_sym_run’s sym_run_skeleton_size_rule, whose comment carries the measurements), and TRC_SYM_SKELETON=0/1 in the environment overrides both. The same SCF to round-off whichever path runs; only the integral work differs. Needs symmetry on (not off, not C1); density fitting and more than one rank take the full build

irrep_nelec

string

--irrep-nelec

electrons per irrep, e.g. "A'=20,A\"=6" (restricted: even counts) or "A'=11/9,A\"=3/3" (alpha/beta); unlisted irreps hold none; default aufbau. A gradient is refused for occupations that are not the aufbau ones

The SCF is converged when the energy change is below energy_tol and the commutator norm is below commutator_tol. The energy error goes as the square of the orbital error, a gradient’s error linearly, so a tight optimisation ([opt] gradient_tol 1e-5) wants commutator_tol near 1e-7. A Hessian tightens both itself for its displaced SCFs.

Symmetry with on

Symmetry is opt-in: without a symmetry key a run is off, as it always was. With symmetry = "on" the SCF runs in the point group it finds, and everything reported stays in your input orientation: the geometry (the input symmetrised in it, with the largest atom displacement printed; it is below symmetry_tol), the gradient, and through the C ABI the orbitals, the density, multipoles and the borrowed basis. Energies, orbital energies, irrep labels, occupations and atomic charges are the same in either frame. One settings line says what the request was, and a symmetric run adds one line, results are in your INPUT frame. A molecule with no symmetry (C1) prints its one settings line and nothing else new; symmetric and spherical tops and linear molecules run in their largest Abelian subgroup, as in the table above. Paths the symmetric SCF does not support run in C1 with exactly the numbers and output they always had, plus one line naming the reason (symmetry : on (auto), but --opt is not supported with symmetry yet: running in C1). symmetry = "off" restores the old path bit for bit.

What changes with on: an SCF is faster on a molecule with symmetry, and HF, UHF and DFT energies agree with off on any orientation (1e-13 measured for HF; 3e-12 to 8e-10 for B3LYP, TPSS and wB97X-V on rotated water-sized inputs, 1.3e-8 Eh for wB97X on a rotated B2H6/6-31G*). An on run builds its DFT and VV10 grids on your axes, then symmetrises the Fock matrix, so the energy differs from off only at second order in the grid error. The gradient is first order in it: it equals the off gradient to 1e-7..1e-6 on water and 3.6e-6 on B2H6 at the default grid level 3, and to 2e-9 at level 5 (identical for axis-aligned inputs). A named group keeps the group-symmetric grid in the standard frame, whose DFT energy on a rotated input moves with the grid orientation (B3LYP/cc-pVDZ water in a general orientation: 7e-7 Eh at level 3, 5e-9 Eh at level 5) and whose gradient is exactly symmetric.

[scf.convergence]

How the SCF gets there; the defaults suit most systems.

Key

Type

Flag

Meaning

diis_size

integer

--diis

Fock/error pairs kept (10)

adiis

bool

--adiis

ADIIS before CDIIS, for SCFs stuck near 1e-2

level_shift

float

--level-shift

virtual level shift during the damped start, Eh (1.0)

damping

float

--damp

weight of the new density while damping (0.3)

damping_steps

integer

--damp-steps

damped steps before DIIS (0 closed shell, 4 open shell)

diis_start

float

--diis-start

commutator norm below which DIIS may start

soscf

bool

--soscf

second-order SCF after DIIS (RHF only)

soscf_start

float

--soscf-start

commutator norm at which SOSCF takes over (1e-2)

mom

bool

--mom

maximum overlap occupation (small-gap open shells). Starts at the first iteration with DIIS on and either a starting density you handed in (the library’s given density, a restart or a projected warm start) or a commutator norm below 0.1, and stays on; aufbau before that, so a poor guess is not locked in. The guesses terco builds (sad, sadq, sap, minao, gwh, core) wait for the 0.1 gate. The orbital energies are then not in aufbau order. Not with symmetry: on runs it in C1, a named group refuses it

level_shift_until

float

--level-shift-until

keep the level shift on through DIIS until the commutator is below this (0: off). Dropped for the rest of the run, with one message, if the commutator does not improve by a factor 2 over 10 such iterations (a threshold below where the shifted run parks would otherwise never converge)

gdm

bool

--gdm

geometric direct minimisation (Van Voorhis and Head-Gordon, Mol. Phys. 100, 1713 (2002)): an L-BFGS minimisation over occupied-virtual orbital rotations that takes over from DIIS once the commutator is below gdm_start; a step is kept only if the energy does not rise. For SCFs DIIS cannot converge, not a default: where DIIS works it needs about 1.8 times the iterations (a flat OH radical in C-PCM: 210 against 118 with gfortran 15; the flat mode is round-off sensitive, 266 with ifx 2025.0). Works with restricted and unrestricted references, DFT (VV10 included), PCM, --df and several ranks; refused with fractional occupations and with soscf. It keeps the occupation it starts from, so started too early from a poor guess it can land on a higher state (the run warns when the final orbitals are not in aufbau order). With mom, if MOM holds a non-aufbau occupation at the handover GDM declines and the run continues as a MOM run. Measured: a 39-atom open-shell cation (UKS wB97X-V/def2-SVP, IEF-PCM) where plain DIIS did not converge in 100 iterations and a level-shift/damping recipe needed 129 converged in 46 iterations to the same energy, identical on 1, 2 and 3 GPUs. Not with symmetry: on runs it in C1, a named group refuses it

gdm_start

float

--gdm-start

commutator norm at which DIIS hands over to GDM (0.1)

gdm_max_rotation

float

--gdm-max-rotation

largest element of the orbital rotation (kappa) of one GDM step (0.2); an overshooting step is rejected and halved

[dft]

Key

Type

Flag

Meaning

grid

integer

--grid

integration grid level (3)

nlc_grid

integer

--nlc-grid

VV10 grid level (1)

gradient_grid_response

bool

--grad-grid-response / --no-grad-grid-response

the Kohn-Sham ground-state gradient (gradient = true) differentiates the grid’s points and partition weights (true, the default): the exact derivative of terco’s own energy. false gives the Pulay terms only, pyscf’s default, about 1e-5 Eh/Bohr away on water PBE. No effect for Hartree-Fock, and a warning for the RI-MP2/double-hybrid gradient (always differentiates the grid) and the TDDFT gradient (tddft_grid_response). With opt or hessian the Pulay-only gradient is not the derivative of the energy it is paired with, so the optimiser and the finite-difference Hessian work from a slightly inconsistent gradient (warned); leave it on there

[solvation]

Key

Type

Flag

Meaning

model

string

--pcm

cpcm or iefpcm

epsilon

float

--eps

dielectric constant (78.3553 for water)

[correlation]

Key

Type

Flag

Meaning

method

string

--rimp2, --riccsd, --riccsd-t

rimp2, ri-ccsd (closed-shell RI-CCSD), ri-ccsd(t) (RI-CCSD with the perturbative triples) or none; absent means none. The plain ccsd and ccsd(t) are refused: the method is density-fitted

frozen_core

integer

--frozen

frozen core orbitals; −1 (the default) counts by element (1 per Li-Ne atom, 5 per Na-Ar, …; H and He none); 0 correlates all electrons

aux_block

integer

--aux-block

auxiliary functions per three-index block

frozen_core, aux_block and [basis] auxiliary are shared by the three methods. auxiliary defaults to cc-pvdz-rifit whatever the orbital basis, so give the RI fitting set that matches it.

[riccsd]

The RI-CCSD solver, used with method = "ri-ccsd" or "ri-ccsd(t)"; any of these keys with another method is refused.

Key

Type

Flag

Meaning

energy_tol

float

--cc-econv

stop when the change of the correlation energy is below this, Eh (1e-8)

amplitude_tol

float

--cc-tconv

and the largest change of any amplitude is below this (1e-6)

max_iterations

integer

--cc-iterations

maximum iterations (100)

diis_size

integer

--cc-diis

DIIS history length (8, at most 50); 1 switches DIIS off

ladder

string

--cc-ladder

auto (by operation count), assembled or direct; does not change the energy

triples

string

--cc-triples

the (T) routine: auto (the ijk device routine in a GPU build, the host reference one otherwise), reference (host, from the host copies; cross-checks a GPU build) tiled (the device routine over virtual triples, also on the host, slower there) or ijk (the device routine over occupied triples, the default in a GPU build); needs ri-ccsd(t); does not change the energy

triples_budget

float

--cc-triples-budget

memory for the working tile of the (T) routine of ri-ccsd(t) that runs, GiB; any positive value. Unset it is 1 for the tiled routine and 2 for the ijk routine. One triple takes 48 o^3 bytes in the tiled routine (o active occupied orbitals) and 24 v^3 bytes in the ijk routine (v virtual orbitals). Only the ijk routine raises its default to one triple when that is more, so its default never refuses; the tiled routine does not, and its 1 GiB default does not hold one triple from o = 282. An explicit budget below one triple of the routine that runs (the ijk one by default in a GPU build and over several ranks; 1 GiB holds one only up to v = 355) makes the (T) step fail after the RI-CCSD has converged, with exit status 1, and the run warns before the iterations; no effect on the reference routine. The tiled routine’s repacked amplitudes come on top of its tile. The ijk routine’s slice cache is separate, sized by the code and not by the budget (see docs/sphinx/cli.md, Memory); needs ri-ccsd(t)

Both tolerances must be met. An RI-CCSD that does not converge is reported as NOT CONVERGED in the summary, "ri-ccsd converged": false in the JSON (without total energies), skips (T), and ends the run with exit status 2. A (T) that fails after a converged RI-CCSD keeps the RI-CCSD energies in the summary and the JSON and ends the run with exit status 1.

RI-CCSD is closed-shell Hartree-Fock only (over several ranks the ladder of every iteration and the (T) are shared), with no effective core potential. It is refused with [scf] functional, [molecule] unpaired, [driver] hessian or optimize, and with method = "rimp2" (it reports the RI-MP2 correlation energy itself). [driver] gradient = true with method = "ri-ccsd" is the analytic gradient of E_RHF + E_RI-CCSD (--grad; one rank, no solvation.model, scf.density_fitted or scf.restart, and not with "ri-ccsd(t)"); amplitude_tol, max_iterations and diis_size also drive its Lambda equations. A basis in which [basis] linear_dependence dropped functions is refused after the SCF, because the method needs every orbital: lower the threshold (0 drops none). See docs/sphinx/cli.md for the memory it needs and what has been measured.

The method and its limits are described in docs/sphinx/theory.md.

The "input" echo of the JSON output gives "method": "ri-ccsd(t)" and a "riccsd" object with the same keys.

[molecule]
geometry = "water.xyz"

[basis]
main = "cc-pvdz"

[correlation]
method = "ri-ccsd(t)"      # frozen core counted by element, cc-pvdz-rifit

[tddft]

Singlet excitation energies of a closed-shell RHF or RKS reference, and with [driver] gradient or optimize the gradient or the geometry optimisation of one excited state.

Key

Type

Flag

Meaning

enabled

bool

--tddft

run the excitation energies after the SCF; any other key of the table needs it

roots

integer

--tddft-roots

lowest singlet roots wanted (3)

target_root

integer

--tddft-root

the root --grad and --opt follow, counted from 1 (1); at most roots

approximation

string

--tddft-approx

tda (Tamm-Dancoff; CIS for Hartree-Fock; the default) or rpa (TDHF / Casida, which also reports ||Y||^2)

spin

string

--tddft-spin

singlet; triplet is refused

energy_tol

float

--tddft-tol

the Davidson residual norm of the excitation energies (1e-8)

max_iterations

integer

--tddft-iterations

most Davidson iterations (50)

missed_root_iterations

integer

--tddft-missed-root-iterations

iterations after the probe in which candidate Ritz pairs beyond the buffer are still iterated, the guard against a missed root (0, the default: none is iterated, fewer matvecs, and the candidates are reported open by the window warning, which names this option; 24 was the previous default, is what --grad and --opt use unless this is given (they follow a root by index), and recovers a root the guesses miss, e.g. the third root of formaldehyde 6-31+G Hartree-Fock, 0.353367 Eh at 0 against 0.348172 at 24 for the TDA, at about twice the wall time on 40 waters PBE0: 233 s against 108 s); negative is refused

cpks_tol

float

--tddft-cpks-tol

residual norm of the Z-vector of the gradient (1e-9)

roots_per_sweep

integer

--tddft-sweep

roots sharing one pass over the integral derivatives; a tuning knob that changes no number

density_screen

bool

--tddft-density-screen / --no-tddft-density-screen

Screen the excited-state matvec’s integrals by the trial densities (true, the default): per launch of a few trial densities, a quartet is dropped when its Schwarz bound times the largest density block is below the integral threshold, the SCF Fock build’s criterion. The trial vectors are orthonormal, so the bound does not tighten as the solve converges. false evaluates every quartet above the Schwarz threshold: the same roots to the threshold and a slower run, which the log says (a warning). The Z-vector of the excited-state gradient never screens this way. Measured on one V100 (def2-SVP Cartesian, TDA, 5 roots, conv_tol 1e-5, total wall, the roots identical to eight decimals in Eh): 40 waters PBE0 with missed_root_iterations = 0 146 s unscreened and 108 s screened; gly20 PBE0, 162 s before the chunked matvec and 88 s now; a water hexamer 3.49 s unscreened and 3.16 s screened

grid_response

bool

--tddft-grid-response / --no-tddft-grid-response

Kohn-Sham gradient with the grid response (true, the default): the exact derivative of terco’s own energy, whose grid moves with the nuclei. false gives the Pulay terms only, as pyscf’s tdrks, about 1e-5 Eh/Bohr away on water PBE. No effect for Hartree-Fock

gap_warning

float

--tddft-gap-warn

--opt warns when the followed root lies within this many hartree of another solved root (0.005; 0 switches this warning off; negative is refused)

strict_root

bool

--tddft-strict-root

--opt stops with an error, instead of warning, when the followed root’s dominant orbital pair changes between steps (the states swapped). The last accepted geometry is still written (default false)

The report gives every root’s excitation energy in Eh and eV, its oscillator strength, ||Y||^2 (zero for the TDA) and its dominant orbital pair, from the HOMO and the LUMO, with its share of X^2 - Y^2. The JSON summary has a "tddft" object with the same quantities as arrays, in ascending energy ("excitation energies", "excitation energies ev", "oscillator strengths", "y norms", "transition dipoles", "dominant hole", "dominant particle", "dominant weight") and "target root total energy", E_SCF plus the target root’s excitation energy. "candidates open" is the number of candidate Ritz pairs the missed-root check left open (0 when none; open candidates do not by themselves mean a root is missing, see missed_root_iterations). --grad is then the gradient of that energy ("gradient of" says so) and --opt optimises it.

When a root may be missing. A Davidson solve follows the lowest roots it can reach from its starting guesses, the lowest orbital-energy differences. A state of a symmetry none of those guesses has can sit below the highest root returned and never be found, with every returned root converged. It shows up in small, symmetric molecules with diffuse functions.

terco checks for this once the roots have converged and, when the check leaves candidates unresolved, says so: a warning in the log, "candidates open" in the JSON summary and trc_tddft_window_open in the C interface. An open candidate is not a missing root: of the 52 cases of the basis-set tests, about ten leave candidates open at the default and one of them has a wrong root.

If the warning appears and the result matters (a spectrum to compare with experiment, a state to optimise), rerun with missed_root_iterations = 24 (--tddft-missed-root-iterations 24): the solver then iterates the candidates until they are resolved or the count runs out. It costs extra matvecs, about twice the wall time where it was measured (40 waters, PBE0, def2-SVP, one V100: 233 s against 108 s, the same five roots). Asking for one or two more roots than needed is a cheaper first check, but it is not a guarantee.

The case in the tests is formaldehyde, 6-31+G, Hartree-Fock, three roots. A dense diagonalisation gives 0.157313, 0.328352 and 0.348172 Eh for the TDA. At the default terco returns 0.353367 for the third with the warning; with 24 it returns 0.348172. For comparison, the Davidson solver of PySCF 2.14.0 returns 0.353367 there and reports it converged, and GPU4PySCF 1.8.1 returns 0.348172 for the TDA but misses the third RPA root (0.338715).

A closed-shell reference only: refused, before the SCF and with the reason, are triplets, [molecule] unpaired, meta-GGA, range-separated and double-hybrid functionals and VV10, an f basis, [scf] density_fitted with a gradient or an optimisation (the excitation energies over a fit are implemented, the excited-state gradient is not yet), [solvation], [correlation], [driver] hessian and more than one rank. An --opt also needs a Hessian-free algorithm, or --opt-init-hessian dlfind: terco’s own finite-difference Hessian has no excited-state gradient to difference.

[molecule]
geometry = "formaldehyde.xyz"

[basis]
main = "6-31g"

[scf]
functional = "pbe"

[tddft]
enabled = true
roots = 4
target_root = 1
approximation = "tda"

[driver]
optimize = true        # the first singlet excited state

[driver]

Key

Type

Flag

Meaning

gradient

bool

--grad

analytic nuclear gradient

polarizability

bool

--polarizability

static dipole polarizability (CPHF; CPKS with a restricted functional), written to --json as "polarizability"; refused at input (error code unsupported, stage input) with a spherical basis (add --cart), RI-MP2 or a double hybrid, RI-CCSD, density_fitted, PCM, a named symmetry group, an unrestricted functional or more than one rank

hessian

bool

--hessian

FD Hessian, frequencies, thermochemistry

optimize

bool

--opt

geometry optimisation (needs DL-FIND)

optimize and hessian together are --opt-freq: optimise, then the Hessian at the optimised geometry. With RI-MP2 ([correlation] method) or a double hybrid, every optimisation step and every Hessian displacement reruns the RI-MP2, so both act on the correlated total energy (a double hybrid’s E_KS + c_os E_os + c_ss E_ss), which is also the energy the thermochemistry starts from. What the correlated gradient refuses (an unrestricted reference, PCM) is refused: by optimize before the first SCF, by a hessian without optimize after the reference SCF, before any displacement runs.

[analysis]

Key

Type

Flag

Meaning

charges

string

--charges

atomic charges: hirshfeld, chelpg, or both as "hirshfeld,chelpg"

fukui

string

--fukui

condensed Fukui indices from hirshfeld or chelpg charges

[hessian]

Key

Type

Flag

Meaning

step

float

--step

displacement, Bohr (0.005)

[thermo]

Key

Type

Flag

Meaning

temperature

float

--temperature

K (298.15)

pressure

float

--pressure

atm (1.0)

symmetry_number

integer

--symmetry-number

rotational symmetry number (1)

masses

string

--masses

isotope or average

[opt]

Key

Type

Flag

Meaning

coordinates

string

--opt-coords

cartesian, hdlc, hdlc-tc, dlc, dlc-tc

max_steps

integer

--opt-maxiter

maximum steps (100)

gradient_tol

float

--opt-gtol

max gradient component, Eh/Bohr (4.5e-4)

energy_tol

float

--opt-etol

energy change, Eh

scf_guess

string

--opt-guess

warm start between steps: density or projected

algorithm

string

--opt-algorithm

sd, cg, cg-auto, lbfgs, nr, damped, stochastic, genetic (P-RFO is a saddle search: saddle_method)

target

string

--opt-target

minimum or saddle

saddle_method

string

--opt-saddle-method

prfo or dimer

connect

bool

--opt-connect

minimise both ways from the saddle

initial_hessian

string

--opt-init-hessian

terco or dlfind

hessian_update

string

--opt-hessian-update

none, powell, bofill, bfgs

max_hessian_updates

integer

--opt-max-updates

updates before a recompute

zero_modes

integer

--opt-zero-modes

zero-frequency modes

soft_modes

float

--opt-soft-modes

soft-mode threshold, Eh/Bohr²

max_step

float

--opt-max-step

trust-radius ceiling, Bohr

line_search

string

--opt-linesearch

auto, scaling, energy-trust, gradient-trust

step_scale

float

--opt-scalestep

step scale for line_search = "scaling"

lbfgs_memory

integer

--opt-lbfgs-memory

L-BFGS history length

print_level

integer

--opt-print-level

DL-FIND verbosity: 0, 2, 4, 6

frozen_atoms

integer array

--opt-frozen

1-based atoms to freeze, e.g. [1, 2, 3, 7]

constraints

string array

--opt-constrain

e.g. ["angle 2 1 3", "bond 1 2"]

seed

integer

--opt-seed

seed for stochastic/genetic/dimer

[opt.neb]

Key

Type

Flag

Meaning

product

string

--opt-neb

product geometry (.xyz); turns NEB on

images

integer

--opt-neb-images

number of images

spring

float

--opt-neb-spring

spring constant, Eh/Bohr²

climb

bool

--opt-neb-climb

climbing image

endpoints

string

--opt-neb-endpoints

free, perpendicular, frozen

via

string

--opt-neb-via

intermediate geometries (multi-frame .xyz)

[opt.global]

Key

Type

Flag

population

integer

--opt-global-pop-size

initial_population

integer

--opt-global-init-pop-size

max_cycles

integer

--opt-global-maxcycle

keep_best

integer

--opt-global-nsave

distribution

integer

--opt-global-distribution

reset_after

integer

--opt-global-reset

radius

float

--opt-global-radius

contraction

float

--opt-global-contraction

radius_tol

float

--opt-global-tolerance-r

gradient_tol

float

--opt-global-tolerance-g

mutation_rate

float

--opt-global-mutation-rate

death_rate

float

--opt-global-death-rate

scale_factor

float

--opt-global-scalefac

Meanings and defaults as in terco --help.

[output]

Key

Type

Flag

Meaning

json

string

--json

JSON summary file. On the command line the value must follow (--json file or --json=file): a next argument that starts with --, an empty one or an empty --json= is refused (invalid_option) rather than taken as the file name. A TOML [output] json also gets the failure file for any error after the file is parsed; a TOML file that cannot be parsed cannot carry its own json path, so give --json on the command line to get a file for that

save_scf

string

--save-scf

write the SCF result for a later restart

silent

bool

--silent

summary only

log_level

string

--logger

knowledge, error, warning, performance, info, large_info, verbose, debug