Skip to content

Add chained equilibration for replica exchange - #273

Merged
lohedges merged 1 commit into
develfrom
feature_chained_equilibration
Nov 7, 2026
Merged

lohedges merged 1 commit into
develfrom
feature_chained_equilibration

Conversation

@lohedges

@lohedges lohedges commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

Adds a chain_equilibration option for replica exchange, off by default, that speeds up setup by starting each replica from a neighbour that has already been set up.

  • The first parallel batch is spread across lambda using farthest-point sampling. These replicas are minimised and equilibrated from the input system.
  • Each later batch takes the slots closest to a replica that's already set up, within the per-GPU oversubscription limit.
  • Chained replicas copy the positions, velocities, box and GCMC water state of the nearest replica that is guaranteed to be done first. They skip minimisation and are equilibrated for chain_equilibration_scale (default 0.25) times the equilibration_time.
  • With no equilibration, the minimisation itself is chained instead.
  • Chains never cross between end states when perturbed_system is used. A side with no seed in the first batch starts its chain at its end state.
  • The option requires replica_exchange, and can't be combined with a list of equilibration_time values.

Tests cover state copying, the planner over a range of window, context and GPU layouts (with and without perturbed_system), config validation, and short CUDA runs with and without max_contexts.

@lohedges lohedges added enhancement New feature or request cresset Related to work with Cresset labels Nov 7, 2026
@lohedges
lohedges merged commit e06db6c into devel Nov 7, 2026
4 checks passed
@lohedges
lohedges deleted the feature_chained_equilibration branch November 7, 2026 15:32

This branch was previously deployed

1 inactive deployment
somd2-build — 2d0ee22b Deployed Nov 7, 2026 by lohedges via build (3.10, linux) #140
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cresset Related to work with Cresset enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant