2.1.0¶
Version 2.1.0, released 2026-11-23. 66 fixed, 19 changed, 21 added, 7 known issues (the entries of stb-suite/CHANGELOG.md for this version).
Fixed¶
- Pseudopotential bank:
dojo(dojo-sr-pbe-standard) anddojo-stringentare now the PseudoDojo nc-sr-04 PBE tables (folderssr_pbe_0.4_standard/_stringent; they were nc-sr-05,sr_pbe_0.5_*). nc-sr-05 is nc-sr-04 with 11 files regenerated (Ba, Bi, I, Pb, Po, Rb, Rn, S, Te, Tl, Xe) whose KB projectors includeekb="0". With SIESTA 5.4.2 those files gave wrong equilibrium structures with any number of MPI ranks and no warning (Pb fcc 14.6 instead of 30.8 Ang^3/atom, S2 1.65 instead of 1.92 Ang), and aborted in parallel withpropor: ERROR: IMAX = 0. The other 61 files of each table are unchanged (byte-identical), so-p dojogives the same results for them. The valence changes for I (z 17 -> 7 standard, 25 -> 17 stringent) and for stringent Rn (26 -> 18) and Xe (26 -> 8). Every bank folder now has amanifest.json(source archive and SHA-256, md5, valence and projector sets of every file), andstb-pseudo --list-bankschecks the files against it. - A
.psmlwithekb="0"KB projectors (nc-sr-05's 11 regenerated elements, for example from a user folder given as-p <folder>) is refused: every tool stops with an[ERROR]before copying it into a run folder. The check at the end of each tool (pseudopotentials vs the.fdf) reports such a file in a folder made by hand as a red[ERROR]; its other findings stay warnings. - Full-relativistic files with no scalar-relativistic part (68 of the 71 nc-fr-04 PBEsol files of
-p dojo-fr-pbesol, all but Ge, Sb, Te) in an input without spin-orbit: SIESTA 5.4.2 stops with 'generation of scalar-relativistic part is not available yet'.stb-inputfile, which never writes spin-orbit, refuses them before writingcalc.fdf; the end-of-run check reports them as an[ERROR]. The bank README said thefrfiles also run without SOC; true only forfr_pbe. - The end-of-run level check (pseudopotentials vs
.fdf) took a commented# %block XC.mixfor a real one and then skipped the functional comparison. The template ofstb-inputfilehas that comment, so nocalc.fdfwritten by it was ever checked. Commented blocks are now ignored. - Be gets the non-perturbative polarization scheme like Li (
PAO.PolarizationScheme, ghosts too): its perturbative polarization orbital fails in every PseudoDojo table ('Generation of polarization orbital failed'). A test of every element of the bundled tables found no other. -p dojo-sr3plus(lanthanides with 4f in the core) never ran: SIESTA builds the basis from its internal configuration, with 4f, and stops with 'Total charge in occupied basis states different from valence charge'. Every tool that writes run folders now adds the%block synthetic-atomsof the SIESTA manual (6 6 5 5/2.0 0.0 1.0 0.0) at the end of its run, keyed by each folder's ownChemicalSpeciesLabelindex, ghosts included (BSSE, charge difference, cohesive references: a ghost without it runs with another basis), inconfig_extra.fdfwhen the folder has one. The same step adds the non-perturbative polarization scheme for Li/Be labels (ghosts too) when the input has noPAO.PolarizationSchemeblock at all, which a--calctemplate without one used to leave out. Only files written by the run are changed; in a folder made by hand a missing or misplaced entry is an[ERROR]of the end-of-run check.stb-hubbardunow also refusesekb="0"files.- The end-of-run check warns about spin-orbit combined with
FilterCutoff(NaN in the first SCF iteration for Co and Cu with thefrtables andFilterCutoff 150 Ry; fine without the filter). stb-baderdid not start on a fresh install ("pybader library not found", also for--version): pybader 0.3.12 importspkg_resources, which setuptools 81 and later no longer ship. The suite now gives pybader what it needs from the standard library, so any setuptools version works. When an installed dependency fails to import, the message shows the original error instead of telling you to install it again.- Elastic constants (5.2),
--symmetry-method fulland--method energy: a cubic crystal with numerical noise in its cell (a relaxed structure, 3e-6 Ang) got one strain direction,xx, instead of two, andstb-elasticAnalysisthen printed a shear constant with no meaning (Si: C44 = -6288 GPa, E = 941 GPa, Poisson -1.26) with zero quality warnings.stb-elasticInputsnow builds the symmetry operations from the cell with the symmetry made exact, and counts a constant as determined by a direction only when that direction reaches it through a response no more than 100 times weaker than the direct ones. The choice of directions no longer depends on the noise (tested up to 1e-3 Ang on cubic, hexagonal and triclinic cells).stb-elasticAnalysisstops with an[ERROR]when the folders that were run leave open a constant it reports, names those constants and the directions to add. Before, this was a warning in 3D, silent in 2D, and the tensor was printed anyway. Constants the report never shows (out of plane in 2D) may stay open, as before.- Folders made by 2.0.0 for a cubic crystal with only
xx: runstb-elasticInputs --dirs xy(oryz) for the missing shear direction; thexxfolders stay valid.
-
stb-slab: the cell's c vector was in general not perpendicular to the surface (fcc primitive cell, (111): 35.3 degrees off), so the surface was tilted with respect to the xy plane, while everything that follows takes z as the normal:stb-adsorbplaces the adsorbate along z, SIESTA's slab dipole correction acts along the vacuum axis, and the thickness and vacuum in the report were measured along z (Ag(111), 5 layers: 11.70 Ang printed, 9.55 Ang real).- The slab is now written with c along the surface normal, a along x and b in the xy plane. Only c changes, to its component along the normal: the atoms, the in-plane cell and the vacuum are the same (checked on fcc, diamond, quartz and a triclinic cell: every interatomic distance is kept). The report lists the three cell vectors and the angle the generated c made with the normal.
- Thickness and vacuum are measured along the normal, also in the termination table of
-i. - A slab whose generated cell already had c along the normal is written exactly as before. For any other, the file differs from the one 2.0.0 wrote: same slab, different cell.
-
stb-adsorb(alsostb-mladsorband every tool that detects vacuum): a slab with exactly the threshold of vacuum (10 Ang by default) was rejected as "no vacuum axis", because the gap read back from the file is 9.99999 Ang. Gaps within 0.01 Ang of the threshold now count, and the error ofstb-adsorbgives the gap measured along each axis and the--vacuum-gapvalue to pass. -
stb-adsorbwith a--calcthat has nokgrid.MonkhorstPack [nx ny nz]line ended in a Python traceback; it is a clean error now. -
DFT-D3 and the stress tensor: SIESTA 5.4.2 writes the D3 contribution to the stress with the wrong sign (Ag and Cu, 13 volumes: P(D3) - P(PBE) = +4.75 GPa where -dE_D3/dV = -4.75 GPa; energies and forces are right). The defect is SIESTA's, but the suite used that stress with no notice. It now warns wherever the stress of a D3 run is used:
stb-mlffAnalysistrained on the stress by default (weight 10000) with wrong stress labels: it warns and recommends--no-stress-trainingwhen the labels include D3 and the logs are from an affected version (or the version cannot be read).stb-eosAnalysis: the pressure cross-check[5]says that P_SIESTA and the B0 from the stress are not reliable for these runs, and that V0 and B0 from the energies are.stb-elasticAnalysis --method stress: warns and points to--method energy.stb-convergence(every folder relaxes the cell) andstb-inputfile -t relax -d3: warn that the cell relaxes to the wrong volume with that version.
-
MACE tools on a CPU-only node with an old NVIDIA driver: torch's
UserWarning: CUDA initialization: The NVIDIA driver on your system is too oldno longer reaches the output or the report's library warnings (it made thestb-mlmdtest fail). A run that asks for the GPU still gets its own error. -
stb-strainAnalysissaid "slope under a clamped transverse cell" and "transverse stress (diagnostic, clamped cell)" also for runs made withstb-strain --relax-mode stress-constrained, where the transverse cell relaxes and the slope is Young's modulus. It now reads the mode from each folder'sconfig_extra.fdf, words the report accordingly, and for the relaxed mode gives Poisson's ratio from the transverse strain of the final cells (*.STRUCT_OUT). stb-cohesive: the log called the whole--vacuuma "buffer beyond the outermost atom" and, lines below, half of it; the first line now says what the value is (the vacuum gap between images, box side = 2 x cutoff + vacuum) and the buffer per side.-
Example 5.3 (cohesive energy): the orbital radius
rc = 7.12read fromcalc.outis in Bohr (3.77 Ang), not Angstrom, so the old box did not let periodic images overlap; the text is corrected. The README now shows the ghost-cutoff scan up to 12 Ang: the corrected GaAs value at 6 Ang (-3.1741 eV/atom) is not converged (-3.0514 at 12 Ang). -
stb-mlelasticon a 2D material (or a 1D one, or 3D with missing directions): the clamped-ion scan was run (twice the evaluations) but its table,INTERNAL RELAXATION (clamped vs relaxed ions), was printed only for a complete 3D tensor. It is printed for every dimensionality now. -
stb-opticalAnalysiscalled graphene "dielectric (non-metallic)" with an absorption edge at 0.25 eV when the run folder had no<label>.EIGto read the Kohn-Sham gap from: the edge came from the finite k-mesh and the 0.1 eV broadening. An onset below 3 x the broadening (at least 0.3 eV), or a Kohn-Sham gap below the broadening, is now reported as "gap not resolved": no dielectric classification, no Tauc gap, and a warning that the spectrum below about twice the broadening is not reliable. A missing.EIGis said. -
stb-mlphonons --qha --n-volumes 4was accepted and failed at the very end, after every volume had been computed (At least 5 volume points are needed to fit S(V)). The minimum is 5 and the option is checked before anything runs. stb-eosAnalysiswarnedB0' within 4.5-7.0for ordinary fits (Si: 4.25-4.47 with R^2 0.999998), so the warning appeared in almost every run. The accepted range is 3.0-7.0, and the message says what a value outside it means (a scan too narrow or noisy to fix B0'), not that the fit is wrong.-
Test of
stb-crystalcast --ml-rankwithout themlextra: the tool does exit with code 1 and the install hint; the test read the exit code after anifand anecho, so it always saw 0. -
stb-nebCycleon a band whose images coincide (identical initial and final states) wrote the next cycle and ended withSuccessand exit code 0: its guard only caught NaN forces, which ASE does not produce in that case. The geometries are now checked before any step: neighbouring images closer than 0.001 Ang stop the cycle with an[ERROR]and exit code 1, and no folder is written. stb-mlnebwith identical endpoints (or two inputs that relax into the same minimum) ended innumpy.linalg.LinAlgError: Singular matrix. It now stops with a message: nearly identical states, no barrier along this band.-
stb-mlneb --siesta-check/--to-mlff --mlff-workflow: a workflow whose reference structure file is missing gave a PythonFileNotFoundError; it is a clean error naming the file. (In the test suite the file was missing because three tests still pointed to fixture folders by their numbers from before the 2026-10-31 renumbering; fixed.) -
stb-mlmd: the initial velocities are rescaled to exactly the temperature asked for (a Maxwell-Boltzmann draw of 72 atoms gave 263.5 K for 300 K). Trajectories with the same seed therefore differ from 2.0.0's. The linesInitial state/Final stateprinted a potential energy asE = ..., which read as a 1.27 eV change of the total energy in an NVE run: they now give E_pot, E_kin and E_tot. An NVE run from an equilibrium geometry whose mean temperature ends below 75 % of--temperature(equipartition halves it) gets a warning in the final section, with what to do. stb-phononsPos(and every loader of SIESTA phonons: IR, Raman, adsorption Gibbs,stb-mlffValidate --phonon-ref): the space group phonopy used to build and check the force constants was not always the one at--symprec. On the cluster, a relaxed 5x5 graphene (positions 0.66667844 instead of 2/3) was analysed as Cmmm, the tolerance written inphonopy_disp.yaml(1e-5); the force constants built from the single P6/mmm displacement split the E2g pair (45.55 and 45.96 THz, with or without--symmetrize-fc) and the force-constant symmetry check reported 0.000 THz.- The space group is now computed with spglib at
--symprecand compared with phonopy's; on a mismatch the phonopy object is rebuilt with the requested tolerance and the force constants are recomputed (with a[WARNING]; the NAC parameters read fromBORNare kept). The report gives the space group used, the tolerance written inphonopy_disp.yaml, and the number of displacements in the folders against the number that group needs, with a warning when there are fewer (the set was reduced with a higher symmetry than the one now used). Same data: E2g 38.575 / 38.576 THz. - The force-constant symmetry check of
[2]was skipped with phonopy 4.5 ('index 2 is out of bounds'): it needs the full force constants, which are now built for it.
- The space group is now computed with spglib at
stb-convergence(relaxation mode, the default):config_extra.fdfforced a variable-cell relaxation but no stress tolerance, so SIESTA's default of 1 GPa applied -- about 1 % of the volume of Si (B0 ~ 88 GPa), twice the 0.5 % the analysis judges by. On Si (DZP, 350 Ry) the relaxations from 0.0005 to 0.01 Ry stopped at their first step (0.96 GPa left at 0.0005 Ry) and the analysis tabulated the input volume as the relaxed one.- Every folder now gets
MD.MaxStressTol(new--max-stress-tol, default 0.02 GPa) andMD.MaxForceTol(new--max-force-tol, default 0.01 eV/Ang);--single-pointis unchanged. stb-convergenceAnalysisreads the tolerance back and the final stress from each log, and flagsP>tol(stress left above the tolerance),Ptol=1GPa(no tolerance below SIESTA's default: folders from earlier versions) andV=input(the cell never moved under a loose tolerance). Those runs are left out of the volume verdict, with a[WARNING]; when every run is one of them there is no verdict. Regenerate such folders and rerun them.
- Every folder now gets
stb-elasticAnalysis, folders prepared withstb-elasticInputs --symmetry-method fulland analysed with the default--symmetry-method basic: the constants of the directions 'full' had left out came out 0 with no error (Si withxxonly: C44 = 0; graphene and hBN withxxonly: C22 = C66 = 0), and the report ended in "VERDICT: UNSTABLE".stb-elasticInputswriteselastic_scan.json(symmetry method, directions) into every series folder, always. Without--symmetry-method,stb-elasticAnalysisuses the method found there (or in theSymmetry methodline ofelastic_stage1.txt, for folders of earlier versions); the report says where it was read. With no record the default is stillbasic.- With
basic, a constant the point group allows that comes out 0 because neither of its directions was run nor reconstructed is now an[ERROR](no tensor is reported). It says whether the directions run determine the tensor with--symmetry-method full, or which directions to add. - The
[ERROR]offullfor an undetermined constant proposes the directionstb-elasticInputsitself would choose (xyfor cubic, wasyz). - The menu (5.2.2) no longer answers
basicwhen Enter is pressed at the symmetry question: Enter keeps the method the folders were prepared with;1/2still choosebasic/full.
stb-cohesive --calc: a template that sets its k-points withkgrid.Cutoff(orkgrid.File) was taken as having no k-grid, so the full structure'sconfig_extra.fdfgot a Monkhorst-Pack block from the default density, which SIESTA reads first (E05 template,kgrid.Cutoff 15.0 Ang: a 10x10x10 grid, 560 k-points). These count as the template's own k-grid now, as the help says;-kstill replaces it.stb-convergenceAnalysis --parameter basis: the orbital filter was not detected in SIESTA 5.4.2 logs (Cu withFilterCutoff 150 Ry: the prep warned, the analysis did not). The log check now also knows 5.4.2'sFilter: Requested cutoffandPAO Filter: Cutoff usedlines.stb-mlffValidate --phonon-refon a 2D material: the default q-mesh was 8x8x8, so the frequencies were also compared at q along the vacuum, where the dispersion is an artefact of the periodic images (graphene 3x3: the largest deviation was at q = (0.3125, 0.3125, 0.0625)). The default--phonon-meshnow has 1 along every vacuum axis of the reference cell (8x8x1 for a slab or a sheet); the report says so. An explicit--phonon-meshis used as given.stb-convergenceAnalysis --parameter basison a 2D material (or a wire) tabulated V0 in Ang^3 and B0 in GPa of the cell with its vacuum, with a note that only their relative change meant something. It now gives whatstb-eosAnalysisgives for the same kind of scan: the equilibrium area A0 (Ang^2), a0 (the first periodic vector at A0) and the in-plane stiffness A d2E/dA2 in N/m -- (C11 + C12)/2 of an isotropic sheet; for a wire the length and the axial stiffness in nN. The criteria are unchanged.stb-cohesiveAnalysis: the warning on the electronic entropy (-T*S above 1 meV) explained every term as an isolated atom's fractional occupation, also when the only such term was the solid's (Ag: -1.0 meV, the smearing at the Fermi level of a metal). Atoms and solid now get separate messages: a[WARNING]for the isolated-atom/BSSE runs as before, a[NOTE]for the full structure that calls it the usual smearing correction.stb-cohesive --calcshowedFilterCutoffin its level-of-theory line but gave no warning, unlikestb-eosInputs,stb-elasticInputsandstb-convergence; it now gives the same[WARNING].stb-convergence(and every tool that puts%include config_extra.fdfon top of a template): a template that already had the line got a second identical one. Harmless, but it read as a mistake; the file now keeps one, at the top.stb-convergenceAnalysis --parameter basis: the command it prints for the next stage had no-p, so the folders of that stage would have been written without pseudopotentials.stb-convergencenow records the pseudopotential source inbasis_scan_<stage>.json(as typed: a bank name stays a bank name) and the command carries it; for a scan written by an earlier version the command shows-p <pseudopotential source>to fill in.stb-convergenceAnalysis --parameter basis, mesh and range stages: a setting closed when its V0 agreed with the next TWO tighter ones, which accepts a false plateau. On Ge (500 Ry) V0 was 24.517 / 24.426 / 24.464 / 25.180 / 25.215 / 25.106 Ang^3/atom from 0.02 to 0.0005 Ry: 0.02 Ry agreed with 0.01 and 0.005 within 0.4 % and was chosen, though V0 jumps +3 % at 0.002 Ry. A setting now has to agree with EVERY tighter setting of the scan (Ge: 0.002 Ry). On the nine test systems: Si and graphene 0.005 Ry; Ge, NaCl, Al, Cu and hBN 0.002 Ry; GaAs and Ag 0.001 Ry. In 2D the verdict speaks of the area.-
stb-mlmd(and every tool that prints the model card): the settings line saidDFTD3 defaultfor a model trained without D3, which reads as D3 on. It now saysDFT-D3 onorDFT-D3 off, from the card's owndftd3.on. -
stb-coop --quantity cohpcalled every bond "antibonding": the report applied the COOP rule (positive = bonding) to the COHP too, while sisl's COHP uses the raw H(k), Dronskowski's convention, in which a bond is NEGATIVE (-ICOHP > 0). On the Sn3O4 example a Sn-O bond (ICOHP -1.44 eV) was labelled antibonding; on the X-C bonds of XC8, ICOHP -1.87 eV. The curve andcohp.datwere right; the label, the sign-convention sentence and the plot title were not. The bond-order cross-check now runs for COHP too, comparing -ICOHP with the bond order. -
stb-baderstopped with "[ERROR] Analysis failed: object of type 'NoneType' has no len()" when the whole density forms a single basin (AlP with a valence-only pseudo-density: the Al has no density maximum of its own). PyBader then finds no basin edge and returns no surface distances. The report is now written, Al 0 and P 8 e- as the Henkelman program gives, with the zero-population warning and no surface-distance column. -
stb-adsorb --ml-rankwith orientation sampling kept the same geometry twice when two orientations relaxed to one H2O with its two H swapped ("8 orientation(s) sampled -> 8 unique kept" on Ag(111), 32 SIESTA folders where 24 were distinct): the RMSD compared the atoms in file order, so the swap read as 1.5 Ang. Equal atoms are now matched by the best permutation, and each distance uses the nearest periodic image (an adsorbate atom wrapped to the opposite face of the cell no longer counts as a jump of a lattice vector). -
stb-cohesiveAnalysis, three report points (no number changes):- section [2] said "a positive Delta here is the expected direction", but its
Delta BSSEcolumn is the atom with ghosts minus the isolated atom, negative in every run (Si -0.239 eV). The text now says negative, and that it makes the cohesive energy less negative in [3]; - a BSSE reference with zero ghost atoms (
--bsse-cutoffbelow the first neighbour, e.g. 2 Ang in Ag) was warned about bystb-cohesiveonly; the analysis printed a "BSSE correction +0.0000" as a result. Section [3] now repeats the warning, and the summary marks the value; - with a cutoff scan, the summary [5] now also gives the value at the largest cutoff (Cu: up to 0.08 eV/atom from the base value), which appeared only in [3b].
- section [2] said "a positive Delta here is the expected direction", but its
-
stb-kpath, two problems on cells from a relaxation:- fcc crystals whose relaxed cell had angles of 59.91-59.99 deg (Ag, Cu, Pd, Ge, GaAs, NaCl, MgO)
got the rhombohedral path (
\Gamma-L-B1 | B-Z-...) while the same report gave Fm-3m/F-43m: the Bravais lattice came from ASE ateps2e-4, the space group from spglib atsymprec0.01. When a primitive cell's lattice is less symmetric than its space group, the smallest largerepsthat gives the lattice of the space group is used, with a warning that gives the angles. A genuinely rhombohedral cell (Bi, R-3m), a conventional cell and a lattice more symmetric than the crystal are left as they were; - at each jump of the path (
K | U),kpath_bs.fdfgave the first point of the new segment the full 50 points, so SIESTA computed a K -> U line that is not a high-symmetry line and the plot showed it as one. That point now gets 1, which starts a new line inBandLines.
- fcc crystals whose relaxed cell had angles of 59.91-59.99 deg (Ag, Cu, Pd, Ge, GaAs, NaCl, MgO)
got the rhombohedral path (
-
stb-coop --pair I Jsummed only the image of J in the same cell:geometry.o2agives supercell atom indices and they were compared with J without folding. A bond across the cell edge came out ~0 (the C-C bridge of XC8, 1.5 Ang: ICOOP 0.00005 instead of 0.22, while the bond order of the same run was 0.88; on Sn3O4, Sn 0 - O 7 at 2.08 Ang: -0.0002 instead of 0.133), and--pair-speciesleft out every bond between cells. Every image of J within the orbital range is now summed, and the report lists them, one row per image with its distance; the new--image N1 N2 N3selects one (one bond). The bond order uses the same selection.--pair I Istays the on-site term. -
stb-cohesive --calc: a per-species block of the template (PAO.PolarizationSchemewithLi non-perturbative, which LiF needs;PAO.Basis,PAO.BasisSizes) was copied unchanged into every folder, although the species differ from folder to folder. SIESTA stopped in the folders with no Li (atoms/F: "WRONG species symbol in PAO.PolarizationScheme: Li"), and a ghost (Li_ghost) had no entry, so its polarization orbital failed to generate or it got another basis than the real atom. Each folder'sconfig_extra.fdfnow carries these blocks re-keyed to its own species: absent species dropped,X_ghostgiven the entry ofX.stb-adsorbBsseandstb-chargediffPrep, which write ghost fragments from a template too, do the same. -
stb-coop: the bond-order cross-check compared only signs, so it passed a bond across the cell edge with ICOOP ~ 0 and bond order 0.88, and nothing said how the numbers are normalized. sisl's value is per spin channel and one direction (i -> j), while the Mulliken bond order counts both: bond order = 4 x ICOOP for a spin-unpolarized run (2 for a polarized one), checked on Sn3O4 (3.98, and the sum over every orbital pair is N/2). The report now states the normalization, adds anx4(orx2) column, and compares the magnitude,x4 ICOOP / bond order, judging it (warning beyond 10 %) when the window runs from the bottom of the bands to E_F.coop.dat/cohp.datare unchanged. -
Li with the bundled PseudoDojo pseudopotential and a polarized basis (DZP, the default): SIESTA's perturbative polarization orbital of the Li 2s cannot be generated ("Generation of polarization orbital failed ... Rc no bigger than 1.3195 Bohr"), and nothing said so before the run (LiF: 36/36 convergence folders failed).
stb-inputfileand the built-in template ofstb-cohesivenow write%block PAO.PolarizationSchemewithLi non-perturbative(one line per Li label, ghosts included), and every tool that copies pseudopotentials warns when a folder's.fdfgives Li a polarization orbital without that scheme (orPAO.Polarization.NonPerturbative true). Other alkali metals are not verified. -
stb-convergenceAnalysis: a variable-cell relaxation of a cubic crystal can end slightly rhombohedral (fcc primitive cells at 59.91-59.99 deg: Cu, NaCl, Ag, GaAs, MgO, Ge, Pd), from the stress noise, with every stop criterion met and no warning; the distorted cell then went into every later step (stb-kpathsaw another Bravais lattice). The report now warns when a relaxed cell has lost the input symmetry at 0.001 Ang but keeps it at 0.01 Ang (e.g. Fm-3m in, R-3m out), and says to symmetrize the structure before reuse or keep the angles fixed. The volumes are unchanged. -
stb-adsorbGibbs --helpsaid the isolated-reference term was vibrational only, with no translational or rotational entropy, while the tool treats the reference as an ideal gas at 1 bar (ase.thermochemistry.IdealGasThermo, as the report says): H2O, C2v, gives Delta S = -127 J/(mol K), a value only the gas's translation and rotation give. The help now describes what is computed and the real limitation: the adsorbed side is harmonic, with hindered translations and rotations treated as vibrations. The numbers are unchanged. -
stb-adsorbAnalysis --save-reportwroteadsorption_report.txt, and every run wroteadsorption_curve.dat/.gplotandadsorption_ranking.png, into the current folder instead of--dir, so a second analysis of another run called from the same place overwrote the first. They now go into--dir, as the files ofstb-adsorbGibbsdo;-ostill names another curve file (the plots follow it). -
stb-adsorb --ml-rankwith orientation sampling: the_orientNof a site folder is the rank of that orientation by ML energy within the site, so two runs with different models (fine-tuned, foundation,--ml-steps 0) gave the same folder name to different orientations, and the index in the orientation grid, which is the same in every run, was only inorientation_trajectory.xyz. Each folder'sfragment_manifest.jsonnow has anml_rankentry (sampling index, rank within the site, ML energy, convergence, model),sites/orientation_map.txtlists every folder, and the ranking table of[3]has aSampled #column. Folder names are unchanged. -
stb-chargediffPrep -p <folder>looked only for element-named files (Ag.psml), so with-ppointing at anstb-adsorbsite folder, which holdsAg_slab.psml,O_ads.psml,H_ads.psml, every folder came out with no pseudopotential (9 warnings,combined/Ag_slabincluded). For each species label it now copies the file named after the label when the folder has one (a_ghostlabel uses the label without the suffix, asstb-adsorbBssedoes), else the element's. The valence electrons of the report are read from the same files (a semicore Ag pseudopotential counted 11 electrons from the textbook value instead of its own). -
NEB in DFT (
stb-neb --mode 2/3+stb-nebCycle):- Every atom moved:
stb-nebCyclehad no constraint, and the image folders did not inherit the fixed layers the endpoints were relaxed with (stb-adsorb --fix-layers). AGeometry.Constraintsin--calcdid not help either: the forces were read from.FA, which SIESTA 5.4.2 writes without the constraints (the constrained ones are in.FAC).stb-nebnow writes the fixed atoms into every image'sconfig_extra.fdf(--fix-atoms, else theGeometry.Constraintsnext to--initial/--final, else the one of--calc), andstb-nebCycleholds them fixed (FixAtoms) and reads.FACwhen it exists. The MACE stages and--idppofstb-nebkeep them fixed too, and the report warns when a fixed atom is not at the same place in both endpoints. - From
cycle_01on, the images lost the directivesstb-nebforces (Spin polarized, slab dipole correction, DFT-D3; on by default):stb-nebCyclerewroteconfig_extra.fdfwith the single-point block only. It now copies the previous cycle's file verbatim. A band run with 2.0.0 ran every cycle after the first one at another level of theory unless--calcitself had those settings. - The two endpoints were written as new folders in every cycle and the printed loop ran SIESTA
in them again, although the NEB never moves them (2 single points wasted per cycle). They are
now copied with their results; the loop skips finished folders and runs the interior images in
parallel (
PARALLEL=yes, ornofor one at a time).stb-nebAnalysisanalyzes a cycle only once an interior image has results. - The reports of
stb-neb,stb-nebCycleandstb-nebAnalysissay which energy they use: SIESTA'sFreeEng(the one the forces derive from with electronic smearing), not theE_KSof the adsorption workflow.
- Every atom moved:
-
stb-nebstopped withIndexError: list index out of range(inside pymatgen) on endpoints with species labels that are not element symbols, such as theAg_slab,O_ads,H_adsof the adsorption workflow:structure_io.to_pymatgen, used by most tools that read an.fdf, passed the label as the element. The element now comes from the label's Z inChemicalSpeciesLabel(a ghost's Z < 0 gives its element) and the label is kept per atom, sofrom_pymatgenwrites it back.stb-nebandstb-nebCyclekeep the labels in every image (also through the MACE and IDPP stages) and copy each species' pseudopotential under its label (Ag_slab.psmlwhen the source folder has it, elseAg.psml); with no-p, the pseudopotentials of the--initialendpoint's folder are used when it has any. -
stb-neb: an atom that relaxed across a cell face between the endpoints crossed the whole cell in the interpolation, with no error: both endpoints are wrapped into [0, 1) and interpolated literally (pbc=False), so top-layer Ag atoms at y = 0.0021 (initial) and 0.9987 (final), 0.03 Ang apart, were moved by 8.8 Ang ("Endpoint displacement: max 8.828 Ang", a 34.5 Ang path for a 1.8 Ang one). After the atoms are matched, every atom of the final endpoint now goes to the periodic image nearest to its initial position before the interpolation (reported as "Periodic images", the same rulestb-mlnebalready applied), image folders are written wrapped into the cell, and the endpoint displacement, the path length, the spectator atoms frozen in the MACE stage and the path length ofstb-nebAnalysisare measured through the nearest image. -
stb-mlneb --to-mlff(and--siesta-check) with both--calcand--mlff-workflow: the folders took--calc, written under its own name (calc_neb.fdf, notcalc.fdflike the rest of the workflow), and in the E16 run without theSpin polarizedandSlab.DipoleCorrectionof the round-1 labels, with no warning -- new training labels on another Hamiltonian, although the help promised "the workflow's level of theory". Now--to-mlffalways uses the workflow's reference calc.fdf (--calcis ignored for it, with a warning listing where they differ);--siesta-checkalone still honours--calcbut warns the same way; a finished check folder is copied into the training set only when its level of theory matches the workflow's, else the image gets a new folder; the calc file is written ascalc.fdf(the reference's own name).stb-mlffAnalysis's level-of-theory check across training folders now also comparesSlab.DipoleCorrection. -
stb-mlneb: with the default--autosort-tol 0.5, any atom that moves more than 0.5 Ang between the endpoints (an O hopping 1.24 Ang from bridge to fcc hollow) stopped the run with pymatgen's "Unable to reliably match structures with autosort_tol = 0.5", and nothing said that--autosort-tol 0is the answer, thoughstb-mladsorbprints that very option andstb-nebgives that advice. The default is now 0 (the files' own atom order) when both.fdflist the same species in the same order, 0.5 otherwise (reported as "Atom matching"); a matching failure says which of the two applies. -
stb-archiveleft out earlier archives only by their default names (<folder>_archive.tar.gz, stb-clean's_backup_files): an archive written into the folder with-o NAME.tar.gzwent into the next archive of that folder, although the report says earlier archives never go in. Any.tar.gz/.tgzwhose top folder holdsMANIFEST.txtandSHA256SUMSis now recognized as one. -
Packaging: the wheel and sdist had no long description and no license file in their metadata, because
pyproject.tomlnamesREADME.mdandLICENSE, which existed only at the repository root.stb-suite/README.mdandstb-suite/LICENSEare now links to them. The conda recipe lackedpyxtal(stb-xrd, stb-xrdsearch), pinnedscipy==1.13.1wherepyproject.tomldoes not (the suite is tested with scipy 1.18), and pointedhometo an old account. -
stb-2Dstacking:-i -id 0is refused on every Python. Up to Python 3.11, argparse let an option through when its value equalled its default, so the run entered the interactive mode despite-id 0. -
stb-suiteandstb-2Dstacking -ino longer end in a traceback when the input runs out (a script or a job). At a menu or at "Press Enter" this is a normal exit; in the middle of a tool's questions it is a one-line[ERROR]with exit code 1, so a script with outdated answers still fails. -
Phonon free energy, entropy and heat capacity (
stb-mlphonons,--qhatoo,stb-phononsPos,stb-adsorbGibbs): on a Gamma-centred mesh the three acoustic modes at Gamma come out as +-1e-7 THz, and the positive ones entered ln(1 - exp(-hf/kT)). F moved by an amount that changed at random from one volume to the next, and was -inf at some temperatures, which stopped--qha. Modes below 0.01 THz are now left out. Thermal values and the QHA expansion change: for MACE-MP-0 Si, V(T) no longer jumps and alpha_L(300 K) is 9.46e-6 1/K. -
stb-mlphonons --qha: the summary said "Negative expansion: below 420 K" because of one such point, for a region that is 10-60 K. It now names the low-temperature region, and any other temperature with alpha < 0 is a warning. -
stb-mlmd: theEmpty spaceline is written for every cell with vacuum. It was missing when one gap reached--vacuum-gap, so an O2 molecule in a 10 Ang box was described only as "2D (slab)". -
stb-ramanModesandstb-irModes --skip-degenerate: only the partners of one irreducible representation share a result. Two different irreps that happen to have the same frequency were treated as partners, and the second mode received the first one's activity or intensity; each now runs.
Changed¶
- Reports. Every tool writes its report in the folder you run it from, as
stb_<tool>_report.txt(<tool>is the command withoutstb-:stb_adsorbAnalysis_report.txt,stb_neb_report.txt), and never overwrites one: when the name is taken the report becomes_1,_2, ... Before, the name and place differed from tool to tool (adsorption_report.txtin the current folder,elastic_stage2.txtin the current folder,neb_setup.txtinsideneb_run/,gqca_stage1.txtinside the output folder,stb_bands_report.txtinside--output-dir, ...), so a second run, of the same tool on another folder or of a tool with the same file name, silently replaced the first report.stb-cleannever removes anstb_*_report*.txt. - Every command always writes its report:
--save-reportis gone from the help, the menu no longer asks about it, and the documentation no longer mentions it. The option is still accepted and ignored, so scripts that pass it keep working. Scripts that answer the menu through a pipe must drop the answer they gave to the report question (the examples were updated). - References: every run of every command writes
stb_<tool>_references.bibin the folder it runs from, next to its report and with the same number (stb_bands_report_2.txtandstb_bands_references_2.bibare one run), never overwritten. Before, 39 of the 95 commands wrote areferences.bib, in the current folder or in--output-dir, merged by key with whatever was there, so it could not say which run cited what, and the other commands wrote none. The file now holds the methods the tool relies on (SIESTA, Monkhorst-Pack, CI-NEB/IDPP, Bader, Hirshfeld and Hirshfeld-I, Boys-Bernardi, Cococcioni-de Gironcoli, Birch/Murnaghan, Le Page-Saxe, Hill, Mouhat-Coudert, Porezag-Pederson, the GQCA of Sher et al., ...), what the run itself used (XC functional, pseudopotential bank, D3, MACE-MP-0, the database a structure came from) and every library the run loaded (numpy, SciPy, matplotlib, pymatgen, ASE, spglib, seekpath, sisl, phonopy, pybader, icet, PyXtal, MACE, PyTorch), without duplicates. It is written also when a run stops with an error. -
No stage reads a report any more. A report is only for you to read; what a later stage needs goes into a JSON file of the run folder:
sites/adsorption_sites.json(stb-adsorb, read by stb-adsorbBsse/Analysis/Gibbs, was the# SITE_TABLEofsites/adsorption_sites.txt),neb_run/neb_setup.json(stb-neb, read by stb-nebAnalysis, was the# MODE/# IMAGE_TABLE/path length ofneb_setup.txt),gqca_setup.json(stb-gqca -> stb-gqcaAnalysis, was the last lines ofgqca_stage1.txt),ir_modes.jsonandraman_modes.json(stb-irModes/stb-ramanModes -> stb-irAnalysis/stb-ramanAnalysis, were the# MODE_TABLE, displacement, vacuum axes and lattice ofir_stage2.txt/raman_stage2.txt). Folders written by earlier versions are still read from their old text files. -
stb-convergence --parameter energyshift: the default sweep is the geometric set 0.02, 0.01, 0.005, 0.002, 0.001, 0.0005 Ry (--energyshift-valuesfor another). The old linear default, 0.001 to 0.05 in steps of 0.01, had no point between 0.001 and 0.011 Ry, the range in use, while the parameter acts logarithmically.--energyshift-range MIN MAX STEPstill gives a linear sweep. -
stb-convergenceAnalysisno longer judges a PAO.EnergyShift sweep by the total energy, which has no practical plateau in this parameter (0.01 to 1.5 eV/atom between 0.011 and 0.001 Ry, not monotonic for graphene): the verdict was always "not converged" or the smallest value. It uses the relaxed volume, says so, and tabulates the smallest and largest orbital cutoff radius of each run. -
The generated
calc.fdfno longer turns the orbital filter on. The templates ofstb-inputfile(all four types) andstb-cohesivewroteFilterCutoff 150 Ry, which makes SIESTA filter the basis orbitals (effective cutoff 73.5 Ry): the basis changes with it, and E(V) gets noisy. Cu and Al (PBE, DZP, 9 volumes): fit residual 2.13 and 1.43 meV/atom with the line, 0.11 and 0.07 without; Cu V0 11.715 -> 11.904 Ang^3 (all-electron 11.951) and B0 128 -> 141 GPa (141.3); Al B0 71 -> 80 GPa (78.1). DoublingMesh.Cutoffor the k-grid did not help. The line is now written commented out.- Numbers change for every input generated from now on (large for Al and Cu, medium for Ag, none for Si, graphene, hBN).
- Without the filter
Mesh.Cutoffhas to be converged per system: 350 Ry is enough for Si, NaCl, Al, Cu, Ag, graphene and hBN, but Ge and GaAs need about 500 Ry (V0 at 350 vs 1000 Ry: GaAs +0.56 %). - A template that still has
FilterCutoff/FilterTolgets a warning fromstb-eosInputs,stb-eosAnalysis(which also names the filter among the causes of a large fit residual),stb-elasticInputsandstb-convergence.
-
stb-cohesiveAnalysisuses the Kohn-Sham energy E_KS, not SIESTA'sFreeEng.FreeEngincludes -T*S of the electronic smearing, and an open-shell isolated atom with degenerate orbitals has fractional occupations atElectronicTemperature 300 K: -49.4 meV for Si (p2) and Ga (p1), 0 for As and Ag, 0 for a gapped solid. The cohesive energy then depended on a smearing temperature that is not physical (Si: -4.5138 with FreeEng, -4.5632 eV/atom with E_KS; GaAs 25 meV/atom).- Numbers change: cohesive energies of systems with such atoms come out more negative than in
2.0.0.
--energy freegives the 2.0.0 values;--energy zerothe T -> 0 extrapolation (E_KS + FreeEng)/2. - New section
[2b] ENERGIES USED: the convention, and E_KS, FreeEng and -TS of every run, with a warning when a reference has |TS| above 1 meV.
- Numbers change: cohesive energies of systems with such atoms come out more negative than in
2.0.0.
-
stb-stackingfault --scan surface: the default grid is 6 x 6 on a hexagonal lattice (7 x 7 on any other, as before). The AB/BA registries of a hexagonal bilayer are at shifts (1/3, 2/3) and (2/3, 1/3), which a 7 x 7 grid does not contain: the reported minimum was 0.8 meV above the exact AB and the corrugation 3.62 instead of 3.78 meV/Ang^2. A grid that is not a multiple of 3 on such a lattice now warns, in the prep and instb-stackingfaultAnalysis.-nydefaults to-nx. -
stb-phononsPosandstb-mlphononsuse a Gamma-centred q-mesh. phonopy shifts an even mesh by half a step, and on a hexagonal lattice that mesh loses the point group (-m 30 30 1:MeshSymmetryFallbackWarning, only time reversal used). Thermal properties change in the last digits (graphene, 30x30x1: zero-point energy 170.64 -> 170.63 meV/atom).stb-phononsPos --shifted-meshgives the old mesh. The thermal displacements (--thermal-displacements, ADP tensors) leave out the Gamma acoustic modes -- rigid translations, which a Gamma-centred mesh now contains -- and modes below 0.01 THz, whose 1/f^2 weight made phonopy stop on an assertion (round-off imaginary parts) next to a soft mode; the report says which modes were summed. When phonopy still refuses the sum (soft/imaginary modes), section [3c] says so and the rest of the analysis (DOS, PDOS, thermal properties, report) is written -- before, the whole run stopped with an AssertionError traceback. -
Supported Python versions are 3.11 and 3.12 (
requires-pythonnow says so). 3.9 was listed but never worked: phonopy does not build there, sopip installfailed late with an unrelated-looking build error; pip now refuses at once with the reason. 3.10 is dropped: it reached its end of life in October 2026 and cannot install a pymatgen newer than 2025.10.7, with whichstb-sqsstops (no support for icet 4) andstb-symmetryreports wrong distortions for planar molecules. phonopy>=4.7.1is now required: with an older one,stb-phononsPos --thermal-displacementsstopped with aTypeError(the option that leaves the Gamma acoustic modes out of the sums does not exist there).-
pymatgen>=2026.9.24is now required, for the same two reasons (2026.9.23 and older return a wrong mirror plane for a planar molecule of low symmetry). -
Elastic constants (5.2) are relaxed-ion by default.
stb-elasticInputsused to force a single point in every folder, so the workflow could only give clamped-ion constants, whilestb-mlelasticrelaxes the atoms: the same strain gave two different quantities with no notice. In a crystal with an atom off an inversion centre (diamond, zincblende, graphene, hBN, wurtzite, perovskites) the strain leaves forces on the atoms (Sixyat 2 %: 0.39 eV/Ang) and the measured constant is the relaxed one (Si C44: 102 GPa clamped, 75 GPa relaxed; graphene C12 +23 %).stb-elasticInputs --ions relaxed|clamped|both(defaultrelaxed): the cell stays fixed at the imposed strain;relaxedwrites a CG relaxation intoconfig_extra.fdf(--relax-steps, 200;--fmax, 0.01 eV/Ang),clampedthe single point 2.0.0 wrote,boththe two series in<output-dir>/relaxedand<output-dir>/clamped. It holds for--method stressand--method energy. Also asked by the menu (5.2.1).- To get the inputs 2.0.0 generated, pass
--ions clamped. stb-elasticAnalysishas a new section[0b]: whether the folders are clamped- or relaxed-ion (read from each log), the CG moves and the last maximum force per direction. It warns when a relaxation stopped before its force tolerance, when the folders mix the two kinds, when a folder ran with a variable cell, and, for clamped-ion runs, when a strained cell shows a force above 0.05 eV/Ang (the constants are then not the measured ones). The summary states the kind.- It writes the fitted tensor to
elastic_constants.jsonin the run directory and, for the two series of--ions both(or--compare-with DIR), prints relaxed minus clamped for every reported constant: the internal-relaxation contribution. - The stress and the energy were already read from the last geometry of each log, so folders
relaxed by hand (a replaced
config_extra.fdf) give the same numbers as before.
-
stb-elasticAnalysis --symmetry-method: the default is now the method the folders were prepared with (fromelastic_scan.jsonorelastic_stage1.txt),basiconly when neither exists. The menu (5.2.2) does the same on Enter. stb-mlffValidate --phonon-mesh: the default is 8 per periodic axis and 1 per vacuum axis (8x8x1 for a slab or a 2D material; was 8x8x8). Phonon RMSEs on the mesh of 2D systems change.stb-convergenceAnalysis --parameter basis: a setting of the mesh or range stage closes only when its V0 agrees with every tighter setting of the scan (was: the next two); verdicts can move to tighter values.- Authors: a new page on the site and a chapter in the manual list the project lead and the
collaborators. Tool banners, source headers and package metadata now name the STB-SUITE team,
and the comment
stb-translatewrites in its files points to the current repository. - Every input file the suite writes starts with
# Created/modified with STB-SUITE (https://stb-suite.github.io/stb/): every.fdf, including copied templates and phonopy's supercells, and the POSCAR, CIF, XSF, FHI-aims and LAMMPS files ofstb-translate. XYZ and DFTB+.genkeep their first line, which those formats reserve for the atom count. The stored example files keep their earlier header.
Added¶
stb-nebandstb-mlnebwarn when a molecule is distorted along the starting path: a bond or bond angle between non-metal atoms, bonded in both endpoints, that leaves the endpoints' range by more than 15 % or 15 deg in an interior image. IDPP's default--idpp-fmax 0.1(ASE's) is loose for a molecular adsorbate: on H2O/Ag(111) it stopped after 7 steps with H-O-H at 169 deg in the middle image (SIESTA: +1.3 eV above the endpoint, 1.37 eV/Ang);--idpp-fmax 0.01 --idpp-steps 2000gave 112.7 deg. The--helpof both options says so. Defaults are unchanged.stb-neb --fix-atoms LIST(1-based, e.g.1-32, ornone): atoms held fixed along the whole band (see Fixed).stb-coop --image N1 N2 N3: with--pair I J, only the periodic image (N1, N2, N3) of J, i.e. one bond (e.g. a bond across the cell edge); the report lists every image of J with its distance and integral.- PseudoDojo tables by relativity, functional and accuracy. The bundled
dojobank now holds eleven PseudoDojo tables (PSML): scalar-relativistic PBE, PBEsol and LDA (PW92), full-relativistic PBE and PBEsol (for spin-orbit), each standard and stringent, plus the lanthanides with 4f in the core (Ce-Lu, PBE standard). Every tool's-p/--pseudo-dir/--pp-pathpicks one by name,dojo[-sr|-fr|-sr3plus][-pbe|-pbesol|-pw][-standard|-stringent], words in any order (frmay be writtensoc,pwlda), a missing word taking its default (sr, pbe, standard):-p dojo-pbesol,-p dojo-fr,-p dojo-stringent. A table that does not exist (dojo-fr-pw: there is no full-relativistic LDA table) is a clean error that lists the ones that do.dojoalone isdojo-sr-pbe-standard, the same files as before, so existing commands, scripts andmlff_workflow.jsonfiles give the same result. The menu asks for the relativity, the functional and the accuracy after "PseudoDojo", offering only the combinations that exist (Enter keeps the default).stb-pseudo --list-bankslists every table,--list-elementsaccepts any table name, and the report gives each file's functional, relativistic treatment and valence (z=, e.g. Ge 14 standard, 22 stringent);references.bibcites PseudoDojo for every table. -
Pseudopotentials vs the calculation: warnings. Every tool that copies pseudopotentials into run folders now reads the functional and the relativistic treatment written in each
.psml/.psfand compares them, when it finishes, with the folder's own.fdf(%includefiles followed,config_extra.fdfincluded): a[WARNING]when the input's functional (XC.Functional/XC.Authors, or SIESTA's LDA default when none is set) is not the files' one, whenSpin spin-orbitmeets files with no lj projectors (SIESTA then stops with 'The PSML file does not contain lj projs'), and when one folder mixes functionals or full- and scalar-relativistic files. Each warning is printed once, naming the first folder and how many more share it. Nothing is blocked: the files are copied as asked. -
stb-convergence --parameter basisand its report instb-convergenceAnalysis: basis-set convergence by equations of state, in three stages (--basis-stage mesh | range | size). Each setting is judged by the equilibrium volume (2D: area) of an E(V) scan of 9 single points, not by the total energy:meshscans Mesh.Cutoff 350-1000 Ry at PAO.EnergyShift 0.002 Ry,rangescans PAO.EnergyShift 0.02-0.0005 Ry at--mesh-cutoff,sizecompares the template's PAO.BasisSize with the next one at--mesh-cutoffand--energyshift. The analysis fits every scan, gives the verdict of each stage (the first setting within 0.2 % / 0.5 % / 1 % of the next two), lists the orbital radii and the fit residual, warns about an active orbital filter and a range that does not close, and prints the command of the next stage.--reference-v0compares with an all-electron volume. stb-convergence --single-point: every folder is a single point at the input geometry, so that only the swept parameter changes (by default each value relaxes positions and cell, which mixes the parameter's effect with the relaxation's noise).stb-eosInputs/stb-eosAnalysisaccept 2D materials and wires. A structure with vacuum was refused ("bulk only"), and area scans had to be built by hand. Now only the periodic lattice vectors are scaled (--strain-rangeis an area strain for a 2D material, a length strain for a wire; the vacuum vector is not touched), and Stage 2 reports the equilibrium area and in-plane lattice vectors with the in-plane stiffnessA d2E/dA2in N/m (wire: length, axial stiffness in nN). Its pressure cross-check uses the stress conjugate to the scan. Bulk structures are handled exactly as before.stb-adsorb --optimizer cg|broyden|fire,--force-tol,--max-displ: relaxation settings written into every folder'sconfig_extra.fdf(default: whatever--calcsets). A weakly bound molecule on a metal is ill-conditioned for SIESTA's CG: H2O on Ag(111) 3x3 was still at 0.03-1.3 eV/Ang after 130-146 steps (11 h on 32 cores). With a molecular adsorbate and a CG template the tool now says so.stb-adsorbAnalysiswarns about every run (clean slab or site) that ended at the step limit without reaching the force tolerance. SIESTA ends such a job normally (0_NORMAL_EXIT), and the energy was used as if it were a minimum.stb-cohesive -c/--calc FILE: your owncalc.fdftemplate for the full structure and every atomic reference, so the whole study runs at one level of theory. Before, the tool wrote a fixed template (PAO.EnergyShift 0.02 Ry,Mesh.Cutoff 320 Ry) and any other choice meant editing every generatedcalc.fdfby hand (127 files for 13 solids in one study), with nothing recorded in the report. The template is copied untouched; what the workflow must impose goes into aconfig_extra.fdfincluded on top of it: Spin polarized, a Gamma-only k-grid and a single point for the atomic references;--spin,--dispersionand the k-grid (only when the template has none, or-kis given) for the full structure. The report lists the template's level of theory. Without--calcthe generated files are identical to 2.0.0's. Also asked by the menu (5.3.1).stb-phononsPos: section[2]reports how far the force constants are from the crystal's symmetry (largest change of a Gamma frequency when they are symmetrized by the space group) and warns above 0.05 THz, the sign of modes split that symmetry makes degenerate.--symmetrize-fcapplies the symmetrization.stb-mlffValidate --phonon-ref: the phonon table now has a row for the foundation model next to every round (it was given for the fine-tuned model only), says where the largest deviation is (q-point and band), and gives the error twice, labelled: (a) on the q-mesh and (b) along the band path a band plot shows. The two differ for the same model, and the report did not say which it was.stb-adsorb --fix-layers N(--layer-tol): holds the N lowest atomic layers of the slab fixed, with the same%block Geometry.Constraintsinclean_slab/and in every site folder. Before, the whole slab always relaxed. Also asked by the menu (5.8.1).stb-adsorb --anchor-atom ATOM(element or atom number): the atom of a molecular adsorbate that faces the surface;--heightis then the height of that atom. Without it H2O is placed with the hydrogens towards the surface, and the orientation could only be changed through--ml-rank.stb-slab --layers N: the slab's size as a number of atomic layers instead of a minimum thickness in Angstrom, for a convergence series in layers (3, 4, 5, ...). The slab is cut thick enough and layers are removed from its top until N are left; the bottom face is the chosen termination and the vacuum is the same for every N.--layer-tol(default 0.1 Ang) sets which atoms count as one layer: a buckled plane, like the two halves of a Si(111) bilayer, is two layers unless the tolerance is raised above its buckling. Also asked by the menu (4.3).stb-slabreports the number of atomic layers of every slab it writes, the atoms in each and the spacing between them.stb-adsorbAnalysis: the orientation of the adsorbate at the start and at the end of each site's relaxation, in section[2b](tilt of the molecular plane, or axis, from the surface plane; lying / tilted / upright; the atom closest to the surface; vertical extent). Sites whose orientation CHANGED are marked, the final orientations reached are listed with the lowest E_ads of each, and a warning says when more than one was reached. In a 12-point H2O/Ag(111) series, 4 relaxations had ended lying flat, ~0.1 eV more bound, and the ranking mixed them with upright ones without saying so.stb-convergence --max-stress-tol GPA(default 0.02) and--max-force-tol EV_PER_ANG(default 0.01):MD.MaxStressTolandMD.MaxForceTolof the relaxation mode (see Fixed).stb-elasticInputswriteselastic_scan.json(symmetry method, directions) into every series folder;stb-elasticAnalysisreads the method from it (see Fixed).- Ready for PyPI and conda-forge (nothing published yet): package metadata for the index (summary,
author, keywords, classifiers, project URLs, SPDX license
MIT; setuptools 77 or later to build), a hand-run GitHub workflow that builds, checks (twine check) and uploads to TestPyPI or PyPI from a release tag only (.github/workflows/publish.yml, trusted publishing, no stored token), and a conda-forge recipe for staged-recipes (packaging/conda-forge/meta.yaml). The README, the site and the manual givepip install stb-suite(with the source install for thedevbranch).
Known issues¶
- GQCA (5.13): AlGaAs, an alloy known to be close to ideal, gives
Delta_1= 29 meV (TZP) to 43 meV (DZP, 450 Ry) instead of a value near zero. k-points, cell shape, mesh and strain have been ruled out, the basis only in part (examples/5.13-gqca, Section 5.3). CheckDelta_1independently before relying on it for a near-ideal alloy. - GQCA: beyond the random limit, the cluster entropy is the standard gas-of-independent-clusters form and has not been checked against an independent reference. At the random limit it gives the exact ideal entropy, which the tests check.
- Spin-orbit with
FilterCutoff: SIESTA 5.4.2 gives NaN in the first SCF iteration for Co and Cu with thefrtables. The end-of-run check warns; leave the filter off in a spin-orbit run. -p dojo-fr-pbesolwithout spin-orbit: only Ge, Sb and Te run; the other files have no scalar-relativistic part and are refused. Usedojo-fr-pbe, or thesrtables, for a run without spin-orbit.stb-phononsPos --thermal-displacementsnext to soft or imaginary modes: phonopy can refuse the sum; section [3c] says so and the rest of the analysis is written. Relax the structure first.- Stored example results not regenerated for this release: 2.7 and 2.12 still use the
nc-sr-05 S that 2.1.0 refuses; the S behind the 2.11
siesta.LDOSis unconfirmed; 5.11, 5.16 and 7.3 predate the last fixes. Their pages say so. Thermal values stored in 5.4 and 5.8 also predate the 0.01 THz cutoff of the phonon thermal properties. A new run can differ from all of these. - Not validated end to end for this release: the corrected example 5.11, the complete
example and test suites from a clean install on Python 3.11 and 3.12, and the effect of the
0.01 THz cutoff on the
stb-adsorbGibbsentropy of a real case. Check these results independently.