STM:Client

From PMFLib Wiki
Jump to navigation Jump to search

Navigation: Documentation / Methods / String Method / STM:Client


An STM client is a biased molecular dynamics simulation that provides the mean forces and metric tensor for a specific bead along the string path. To perform an STM path-optimisation step, this information must be collected from all clients, i.e. from all beads.

Because the computational resources required by a single client may be substantial, especially for systems described using hybrid QM/MM methods, STM clients can be launched in two modes: either all at once in a coordinated manner, known as synchronous mode, or as independent jobs launched by the STM server, known as asynchronous mode. For further details, see STM:Server.

Configuration

IMPORTANT

  • Collective variables must be specified in the same order as on the string server.
  • The total duration of the STM client simulation (AMBER: specified by nstlim as a total number of integration steps) must be long enough to satisfy all requests from the STM server.

Implementation Details

The STM client biases the system using harmonic restraints applied to individual collective variables:

E(ξi(t))=12Ki(ξi(t)ξi,0)2(1)

where ξi(t) is the instantaneous value of the collective variable, Ki is the force constant, and ξi,0 is the bead position specified by the STM server.

The mean forces and metric tensor are accumulated as time averages:

A(ξ)ξi,0=1Nst=1NsKi(ξi(t)ξi,0)(2)


Mij=1Nst=1Ns(k=1Naξi(t)xkξj(t)xk)(3)

where Ns is the number of sampled MD steps, Na is the number of atoms, and xk denotes the Cartesian coordinates of the system.

The values of Ns and ξi,0 are set by the STM server together with the requested client mode:

  • I — initialisation
  • A — accumulation
  • E — equilibration
  • P — production

In the I and E modes, the restraint centres, ξi,0, are gradually moved towards their target values. After reaching the target values, they are held fixed for the steady part of the stage, whose length is controlled by the steadylen fraction of Ns. In the A and P modes, the mean forces and metric tensor are sampled at target values and reported to the STM server. Once all data are collected, the path is updated, and the procedure is repeated with new bead positions.