infRETIS TOML configuration schema¶
This document lists every key that pyretis run reads from a TOML
input file selecting the infinite-swapping sampler
([simulation] task = "infinite_swapping" or a [runner] section),
grouped by section. The schema matches
pyretis.simulation.setup.setup_config.
[runner]¶
Key |
Type |
Default |
Description |
|---|---|---|---|
|
int |
required |
Number of parallel REPEX workers |
|
list[str] |
|
Per-worker MD run commands (optional) |
[simulation]¶
Key |
Type |
Default |
Description |
|---|---|---|---|
|
list[float] |
required |
Sorted interface values for TIS ensembles |
|
int |
required |
Total number of RETIS cycles |
|
list[str] |
required |
Move type per interface: |
|
int |
|
RNG seed for reproducibility |
|
str |
|
Directory with initial trajectory data |
|
float |
|
Probability of zero-plus swaps in REPEX |
|
int |
|
Ensemble picking scheme (0 = uniform) |
|
list[list[str]] |
auto |
Engine keys per interface |
[simulation.tis_set]¶
Key |
Type |
Default |
Description |
|---|---|---|---|
|
int |
required |
Maximum allowed path length |
|
bool |
required |
Accept paths exactly at max length |
|
bool |
required |
Reset centre-of-mass momentum after shooting |
|
int |
required |
Velocity reassignment jumps per shooting move |
|
bool |
|
Use quantIS variant (per-ensemble engines) |
|
bool/int |
|
Create a minus interface below the first |
|
bool |
|
Accept all paths unconditionally |
|
float |
optional |
Upper interface cap for flux collection |
[engine]¶
Multiple engines can be defined as [engine], [engine0], [engine1], etc.
Key |
Type |
Default |
Description |
|---|---|---|---|
|
str |
required |
Engine type: |
|
str |
required |
Backend name (for logging) |
|
float |
required |
MD timestep in engine’s native units |
|
int |
required |
MD steps per TIS move |
|
float |
required |
Simulation temperature |
|
float |
required |
Boltzmann constant (kB) |
|
str |
external only |
Path to external engine input files |
|
str |
CP2K only |
CP2K executable name |
|
str |
GROMACS only |
GROMACS executable (e.g. |
|
str |
LAMMPS only |
LAMMPS executable (e.g. |
|
bool |
GROMACS |
Generate velocities in Python (inf-flavour key; the native GROMACS/LAMMPS engines use |
|
list/str |
GROMACS |
Particle masses or path to masses.txt |
[engine.integrator]¶
Key |
Type |
Description |
|---|---|---|
|
str |
Integrator class: |
[engine.integrator.settings]¶
Keys vary by integrator. Examples for Langevin:
Key |
Type |
Description |
|---|---|---|
|
float |
Friction coefficient |
|
float |
Inverse temperature: |
[engine.potential]¶
Key |
Type |
Description |
|---|---|---|
|
str |
Potential class: |
[engine.potential.settings]¶
Keys vary by potential. Examples for DoubleWell:
Key |
Type |
Description |
|---|---|---|
|
float |
Quartic coefficient |
|
float |
Quadratic coefficient |
|
float |
Constant offset |
[engine.particles]¶
Key |
Type |
Description |
|---|---|---|
|
list[float] |
Mass of each particle |
|
list[str] |
Name/symbol of each particle |
|
list[list[float]] |
Initial position of each particle |
[engine.box]¶
Key |
Type |
Description |
|---|---|---|
|
list[bool] |
Periodicity per dimension |
[orderparameter]¶
Key |
Type |
Default |
Description |
|---|---|---|---|
|
str |
required |
Order parameter class |
|
list[int] |
required |
Particle indices for the OP |
|
bool |
required |
Apply PBC to OP calculation |
|
str |
external |
Path to Python file with custom OP class |
[output]¶
Key |
Type |
Default |
Description |
|---|---|---|---|
|
str |
required |
Output directory |
|
int |
|
Print frequency to |
|
int/bool |
|
Print frequency of ensemble distribution |
|
int |
optional |
Order parameter output frequency |
|
int |
optional |
Energy output frequency |
|
int |
optional |
Trajectory output frequency (-1 = never) |
|
str |
optional |
Backup directory for old trajectories |
|
bool |
|
Delete superseded trajectories |
|
bool |
|
Delete all old trajectories |
|
bool |
|
Keep trajectories with highest OP |
|
list[str] |
|
Trajectory file patterns to always keep |
[current] (managed internally)¶
Written to restart.toml by the scheduler. Not normally edited by
users, but useful for inspection and restart.
Key |
Type |
Description |
|---|---|---|
|
int |
Current RETIS cycle |
|
int |
Total trajectory count |
|
int |
Number of ensembles |
|
list[int] |
Active path indices |
|
dict |
NumPy Generator state for restart |
|
dict |
Version/env metadata (P7.3) |
|
int |
Previous cstep on restart |