-
Notifications
You must be signed in to change notification settings - Fork 3
Running FiniteT Mode
Codex Checkpoint edited this page Jun 18, 2026
·
1 revision
finiteT mode is designed for sequential finite-temperature Monte Carlo sampling.
Unlike search mode, finiteT mode is a strict Markov chain:
current state -> one trial -> slow relaxation -> accept/reject -> next trial
This mode generally uses one slow worker and no fast workers.
paipai \
--input struc.in \
--mode finiteT \
--device cuda \
--ngpu 1 \
--fast 0 \
--slow 1 \
--steps 200000 \
--temp 700A common workflow is:
- run search mode;
- choose or use the latest accepted state;
- start finiteT from that state.
paipai \
--mode finiteT \
--resume-state search/mcprocess \
--root finiteT_700 \
--device cuda \
--ngpu 1 \
--slow 1 \
--steps 200000 \
--temp 700If --resume-state points at an mcprocess directory, PAIPAI selects the latest numbered child.
Local hop moves are useful when global swaps move interstitials too far.
--p-hop-inter 80 \
--p-swap-inter 20 \
--intsite-hop-cutoff 3.0FiniteT includes a Hastings correction for local-hop proposals because the number of valid forward and reverse hop edges can differ.
In finiteT mode, if relaxation moves an interstitial atom to a different reference site, the trial is rejected. This keeps the sampled ensemble well-defined in reference-site occupation space.